From 5adf6ad89a4df69aa169beab89ca5afc738adfa4 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期三, 20 九月 2023 19:36:53 +0800 Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/aps/WMS --- docs/swagger.yaml | 111 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 110 insertions(+), 1 deletions(-) diff --git a/docs/swagger.yaml b/docs/swagger.yaml index a30050d..0294966 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -233,6 +233,10 @@ type: integer createTime: type: string + forceRemovalStrategy: + allOf: + - $ref: '#/definitions/constvar.ForceRemovalStrategy' + description: 涓嬫灦绛栫暐 id: type: integer isReturnLocation: @@ -381,7 +385,7 @@ type: number selectProduct: description: 鍙�変骇鍝乮d - type: integer + type: string sellExplain: description: 閿�鍞鏄� type: string @@ -1060,6 +1064,111 @@ summary: 缂栬緫鍏徃 tags: - 鍏徃 + /api-wms/v1/location/addLocation: + post: + parameters: + - description: 浣嶇疆淇℃伅 + in: body + name: object + required: true + schema: + $ref: '#/definitions/models.Location' + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + $ref: '#/definitions/util.Response' + summary: 娣诲姞浣嶇疆淇℃伅 + tags: + - 浣嶇疆 + /api-wms/v1/location/deleteLocation/{id}: + delete: + parameters: + - description: id + in: path + name: id + required: true + type: string + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + $ref: '#/definitions/util.Response' + summary: 鍒犻櫎浣嶇疆 + tags: + - 浣嶇疆 + /api-wms/v1/location/getLocationDetails/{id}: + get: + parameters: + - description: id + in: path + name: id + required: true + type: string + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + allOf: + - $ref: '#/definitions/util.Response' + - properties: + data: + $ref: '#/definitions/models.Location' + type: object + summary: 鑾峰彇浣嶇疆璇︽儏 + tags: + - 浣嶇疆 + /api-wms/v1/location/getLocationList: + post: + parameters: + - description: 鏌ヨ鍙傛暟 + in: body + name: object + required: true + schema: + $ref: '#/definitions/request.GetProductList' + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + allOf: + - $ref: '#/definitions/util.ResponseList' + - properties: + data: + items: + $ref: '#/definitions/models.Location' + type: array + type: object + summary: 鑾峰彇浣嶇疆鍒楄〃 + tags: + - 浣嶇疆 + /api-wms/v1/location/updateLocation: + post: + parameters: + - description: 浜у搧淇℃伅 + in: body + name: object + required: true + schema: + $ref: '#/definitions/models.Location' + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + $ref: '#/definitions/util.Response' + summary: 淇敼浣嶇疆 + tags: + - 浣嶇疆 /api-wms/v1/operation/operation: get: consumes: -- Gitblit v1.8.0