From 49137488b96cb00d3d9e468271a796d5fe2e170a Mon Sep 17 00:00:00 2001 From: liujiandao <274878379@qq.com> Date: 星期三, 20 九月 2023 19:31:05 +0800 Subject: [PATCH] 位置接口开发 --- docs/docs.go | 183 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 182 insertions(+), 1 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index f67d02f..e0a89ae 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -294,6 +294,179 @@ } } }, + "/api-wms/v1/location/addLocation": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "浣嶇疆" + ], + "summary": "娣诲姞浣嶇疆淇℃伅", + "parameters": [ + { + "description": "浣嶇疆淇℃伅", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Location" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/api-wms/v1/location/deleteLocation/{id}": { + "delete": { + "produces": [ + "application/json" + ], + "tags": [ + "浣嶇疆" + ], + "summary": "鍒犻櫎浣嶇疆", + "parameters": [ + { + "type": "string", + "description": "id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/api-wms/v1/location/getLocationDetails/{id}": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "浣嶇疆" + ], + "summary": "鑾峰彇浣嶇疆璇︽儏", + "parameters": [ + { + "type": "string", + "description": "id", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/models.Location" + } + } + } + ] + } + } + } + } + }, + "/api-wms/v1/location/getLocationList": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "浣嶇疆" + ], + "summary": "鑾峰彇浣嶇疆鍒楄〃", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetProductList" + } + } + ], + "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": [ + "application/json" + ], + "tags": [ + "浣嶇疆" + ], + "summary": "淇敼浣嶇疆", + "parameters": [ + { + "description": "浜у搧淇℃伅", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.Location" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, "/api-wms/v1/operation/operation": { "get": { "consumes": [ @@ -1402,6 +1575,14 @@ "createTime": { "type": "string" }, + "forceRemovalStrategy": { + "description": "涓嬫灦绛栫暐", + "allOf": [ + { + "$ref": "#/definitions/constvar.ForceRemovalStrategy" + } + ] + }, "id": { "type": "integer" }, @@ -1606,7 +1787,7 @@ }, "selectProduct": { "description": "鍙�変骇鍝乮d", - "type": "integer" + "type": "string" }, "sellExplain": { "description": "閿�鍞鏄�", -- Gitblit v1.8.0