From c1a6b191b4b3ffc9749976e974a1c1e4c511e903 Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期五, 03 十一月 2023 14:57:59 +0800 Subject: [PATCH] 添加登录验证 --- docs/docs.go | 81 ++++++++++++++++++++++++++++++++++++++++ 1 files changed, 81 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 58d7d71..fe9c170 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -572,6 +572,40 @@ } } }, + "/api-wms/v1/location/getLocationTreeList": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "浣嶇疆" + ], + "summary": "鑾峰彇浣嶇疆鍒楄〃鏍�", + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.ResponseList" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Location" + } + } + } + } + ] + } + } + } + } + }, "/api-wms/v1/location/updateLocation": { "post": { "produces": [ @@ -2353,6 +2387,21 @@ "ReservationMethodByDate" ] }, + "constvar.RuleType": { + "type": "integer", + "enum": [ + 1, + 2 + ], + "x-enum-comments": { + "RuleType_Product": "浜у搧涓婃灦瑙勫垯", + "RuleType_ProductCategory": "浜у搧绫诲埆涓婃灦瑙勫垯" + }, + "x-enum-varnames": [ + "RuleType_Product", + "RuleType_ProductCategory" + ] + }, "constvar.WhetherType": { "type": "integer", "enum": [ @@ -2430,6 +2479,12 @@ "models.Location": { "type": "object", "properties": { + "children": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Location" + } + }, "companyId": { "description": "鍏徃id", "type": "integer" @@ -3073,6 +3128,14 @@ "productId": { "description": "浜у搧id", "type": "string" + }, + "ruleType": { + "description": "涓婃灦瑙勫垯绫诲瀷 1锛氫骇鍝佺被鍨嬶紱2锛氫骇鍝佺被鍒被鍨�", + "allOf": [ + { + "$ref": "#/definitions/constvar.RuleType" + } + ] } } }, @@ -3415,6 +3478,9 @@ "keyWord": { "type": "string" }, + "locationId": { + "type": "integer" + }, "page": { "description": "椤电爜", "type": "integer" @@ -3422,6 +3488,13 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "productId": { + "type": "string" + }, + "type": { + "description": "绫诲瀷:bh=琛ヨ揣", + "type": "string" } } }, @@ -3652,6 +3725,14 @@ "productId": { "description": "浜у搧id", "type": "string" + }, + "ruleType": { + "description": "涓婃灦瑙勫垯绫诲瀷 1锛氫骇鍝佺被鍨嬶紱2锛氫骇鍝佺被鍒被鍨�", + "allOf": [ + { + "$ref": "#/definitions/constvar.RuleType" + } + ] } } }, -- Gitblit v1.8.0