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 | 2 +- docs/swagger.yaml | 1 + docs/docs.go | 1 + docs/swagger.json | 1 + 4 files changed, 4 insertions(+), 1 deletions(-) diff --git a/controllers/location_product.go b/controllers/location_product.go index f7a1dc6..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 } diff --git a/docs/docs.go b/docs/docs.go index b6dbbbf..531b4e8 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1748,6 +1748,7 @@ 9 ], "x-enum-comments": { + "LocationTypeAdjust": "搴撳瓨鐩樼偣", "LocationTypeCustomer": "瀹㈡埛浣嶇疆", "LocationTypeDisuse": "鎶ュ簾浣嶇疆", "LocationTypeInternal": "鍐呴儴浣嶇疆", diff --git a/docs/swagger.json b/docs/swagger.json index 2224517..0087423 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -1736,6 +1736,7 @@ 9 ], "x-enum-comments": { + "LocationTypeAdjust": "搴撳瓨鐩樼偣", "LocationTypeCustomer": "瀹㈡埛浣嶇疆", "LocationTypeDisuse": "鎶ュ簾浣嶇疆", "LocationTypeInternal": "鍐呴儴浣嶇疆", diff --git a/docs/swagger.yaml b/docs/swagger.yaml index fa7b60e..dab3c6c 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -87,6 +87,7 @@ - 9 type: integer x-enum-comments: + LocationTypeAdjust: 搴撳瓨鐩樼偣 LocationTypeCustomer: 瀹㈡埛浣嶇疆 LocationTypeDisuse: 鎶ュ簾浣嶇疆 LocationTypeInternal: 鍐呴儴浣嶇疆 -- Gitblit v1.8.0