From 65f900c88f0f90ee3b29e9b985723b8f94aaeb0b Mon Sep 17 00:00:00 2001
From: jiangshuai <291802688@qq.com>
Date: 星期三, 27 九月 2023 14:14:35 +0800
Subject: [PATCH] 1.修改上架规则列表bug

---
 controllers/location_product.go |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/controllers/location_product.go b/controllers/location_product.go
index 07d012b..59cf228 100644
--- a/controllers/location_product.go
+++ b/controllers/location_product.go
@@ -69,7 +69,7 @@
 		util.ResponseFormat(c, code.RequestParamError, "鍙傛暟瑙f瀽澶辫触锛屾暟鎹被鍨嬮敊璇�:"+err.Error())
 		return
 	}
-	if params.Check() {
+	if !params.Check() {
 		util.ResponseFormat(c, code.RequestParamError, "鍙傛暟寮傚父")
 		return
 	}
@@ -89,7 +89,7 @@
 // @Tags      涓婃灦瑙勫垯
 // @Summary   淇敼涓婃灦瑙勫垯
 // @Produce   application/json
-// @Param     object  body request.UpdateLocationProduct true  "鍏ュ簱淇℃伅"
+// @Param     object  body request.UpdateLocationProduct true  "淇敼鍙傛暟"
 // @Success   200 {object} util.Response "鎴愬姛"
 // @Router    /api-wms/v1/locationProduct/update [post]
 func (slf LocationProductController) Update(c *gin.Context) {

--
Gitblit v1.8.0