From 2bfc37cbc679ceb5cef3b714e93ce4ebf55f9512 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期三, 08 十一月 2023 17:24:58 +0800 Subject: [PATCH] 修改缩略图尺寸 config文件覆盖修复 --- docs/docs.go | 510 +++++++++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 480 insertions(+), 30 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index d00b1a0..1a45405 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -150,6 +150,22 @@ } } }, + "/api-wms/v1/attachment/uploadFiles": { + "post": { + "tags": [ + "闄勪欢绠$悊" + ], + "summary": "涓婁紶闄勪欢", + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, "/api-wms/v1/company/company": { "get": { "produces": [ @@ -400,7 +416,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/request.PageInfo" + "$ref": "#/definitions/request.GetLocationForms" } } ], @@ -543,10 +559,44 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/request.GetProductList" + "$ref": "#/definitions/request.GetLocationList" } } ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.ResponseList" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Location" + } + } + } + } + ] + } + } + } + } + }, + "/api-wms/v1/location/getLocationTreeList": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "浣嶇疆" + ], + "summary": "鑾峰彇浣嶇疆鍒楄〃鏍�", "responses": { "200": { "description": "鎴愬姛", @@ -736,7 +786,7 @@ "in": "body", "required": true, "schema": { - "$ref": "#/definitions/request.AddLocationProductAmount" + "$ref": "#/definitions/request.UpdateLocationProductAmount" } } ], @@ -943,7 +993,7 @@ } } }, - "/api-wms/v1/operation/listAll": { + "/api-wms/v1/operation/listTransfer": { "post": { "produces": [ "application/json" @@ -951,7 +1001,7 @@ "tags": [ "鍏ュ簱/鍑哄簱" ], - "summary": "璋冩嫧", + "summary": "搴撳瓨璋冩嫧鍒楄〃", "parameters": [ { "description": "鍙傛暟", @@ -1056,6 +1106,32 @@ "description": "鎴愬姛", "schema": { "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/api-wms/v1/operationType/listTransfer": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "涓氬姟绫诲瀷" + ], + "summary": "璋冩嫧绫诲瀷鍒楄〃", + "parameters": [ + { + "type": "string", + "name": "keyword", + "in": "query" + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.ResponseList" } } } @@ -1744,6 +1820,187 @@ } } }, + "/api-wms/v1/reorderRule/addReorderRule": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "閲嶈璐ц鍒�" + ], + "summary": "娣诲姞閲嶈璐ц鍒�", + "parameters": [ + { + "description": "閲嶈璐ц鍒�", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.ReorderRule" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/api-wms/v1/reorderRule/getAmountAndPrediction": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "閲嶈璐ц鍒�" + ], + "summary": "鑾峰彇鍦ㄥ簱涓庨娴嬫暟閲�", + "parameters": [ + { + "description": "閲嶈璐ц鍒�", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetAmountAndPrediction" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.ResponseList" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "type": "object", + "additionalProperties": true + } + } + } + } + ] + } + } + } + } + }, + "/api-wms/v1/reorderRule/getReorderRuleList": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "閲嶈璐ц鍒�" + ], + "summary": "鑾峰彇閲嶈璐ц鍒欏垪琛�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.GetReorderRuleList" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.ResponseList" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/models.ReorderRule" + } + } + } + } + ] + } + } + } + } + }, + "/api-wms/v1/reorderRule/orderAgain": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "閲嶈璐ц鍒�" + ], + "summary": "鍐嶈涓�娆�", + "parameters": [ + { + "description": "閲嶈璐ц鍒�", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.ReorderRule" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/api-wms/v1/reorderRule/updateReorderRule": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "閲嶈璐ц鍒�" + ], + "summary": "鏇存柊閲嶈璐ц鍒�", + "parameters": [ + { + "description": "閲嶈璐ц鍒�", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/models.ReorderRule" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, "/api-wms/v1/warehouse/getWarehouseDetails/{id}": { "get": { "produces": [ @@ -2146,6 +2403,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": [ @@ -2223,6 +2495,12 @@ "models.Location": { "type": "object", "properties": { + "children": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Location" + } + }, "companyId": { "description": "鍏徃id", "type": "integer" @@ -2645,7 +2923,7 @@ ] }, "name": { - "description": "浣嶇疆鍚嶇О", + "description": "鍒嗙被鍚嶇О", "type": "string" }, "parentId": { @@ -2658,6 +2936,62 @@ }, "routeName": { "description": "鍏徃", + "type": "string" + } + } + }, + "models.ReorderRule": { + "type": "object", + "properties": { + "amount": { + "description": "鍦ㄥ簱鏁伴噺", + "type": "number" + }, + "createTime": { + "type": "string" + }, + "id": { + "type": "integer" + }, + "location": { + "$ref": "#/definitions/models.Location" + }, + "locationId": { + "description": "浣嶇疆id", + "type": "integer" + }, + "maxInventory": { + "description": "鏈�澶у簱瀛�", + "type": "number" + }, + "minInventory": { + "description": "鏈�灏忓簱瀛�", + "type": "number" + }, + "orderNumber": { + "description": "璁㈣喘鏁伴噺", + "type": "number" + }, + "prediction": { + "description": "棰勬祴鏁伴噺", + "type": "number" + }, + "product": { + "$ref": "#/definitions/models.Material" + }, + "productId": { + "description": "浜у搧id", + "type": "string" + }, + "route": { + "description": "璺嚎", + "type": "string" + }, + "unit": { + "description": "鍗曚綅", + "type": "string" + }, + "updateTime": { "type": "string" } } @@ -2810,29 +3144,14 @@ "productId": { "description": "浜у搧id", "type": "string" - } - } - }, - "request.AddLocationProductAmount": { - "type": "object", - "properties": { - "Amount": { - "description": "搴撳瓨鏁伴噺", - "type": "number" }, - "adjustAmount": { - "description": "宸��", - "type": "number" - }, - "differenceAmount": { - "description": "璁℃暟鏁伴噺", - "type": "number" - }, - "locationId": { - "type": "integer" - }, - "productId": { - "type": "string" + "ruleType": { + "description": "涓婃灦瑙勫垯绫诲瀷 1锛氫骇鍝佺被鍨嬶紱2锛氫骇鍝佺被鍒被鍨�", + "allOf": [ + { + "$ref": "#/definitions/constvar.RuleType" + } + ] } } }, @@ -2948,6 +3267,10 @@ "description": "浠撳簱鍚嶇О", "type": "string" }, + "prefix": { + "description": "鍓嶇紑", + "type": "string" + }, "printLabel": { "description": "鏄惁鎵撳嵃鏍囩", "type": "boolean" @@ -3048,6 +3371,17 @@ } } }, + "request.GetAmountAndPrediction": { + "type": "object", + "properties": { + "locationId": { + "type": "integer" + }, + "productId": { + "type": "string" + } + } + }, "request.GetInventoryForms": { "type": "object", "properties": { @@ -3057,6 +3391,10 @@ "items": { "type": "integer" } + }, + "keyWord": { + "description": "鎼滅储鏉′欢", + "type": "string" }, "page": { "description": "椤电爜", @@ -3075,6 +3413,18 @@ "request.GetInventoryHistory": { "type": "object", "properties": { + "baseOperationType": { + "description": "鍩虹浣滀笟绫诲瀷", + "allOf": [ + { + "$ref": "#/definitions/constvar.BaseOperationType" + } + ] + }, + "keyWord": { + "description": "鎼滅储鏉′欢", + "type": "string" + }, "page": { "description": "椤电爜", "type": "integer" @@ -3097,6 +3447,51 @@ } } }, + "request.GetLocationForms": { + "type": "object", + "properties": { + "keyWord": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + }, + "productId": { + "type": "string" + }, + "wareHouseCode": { + "type": "string" + } + } + }, + "request.GetLocationList": { + "type": "object", + "properties": { + "jointName": { + "description": "鎷兼帴鍚嶇О", + "type": "string" + }, + "keyWord": { + "type": "string" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + }, + "type": { + "type": "integer" + } + } + }, "request.GetProductList": { "type": "object", "properties": { @@ -3113,6 +3508,32 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + } + } + }, + "request.GetReorderRuleList": { + "type": "object", + "properties": { + "keyWord": { + "type": "string" + }, + "locationId": { + "type": "integer" + }, + "page": { + "description": "椤电爜", + "type": "integer" + }, + "pageSize": { + "description": "姣忛〉澶у皬", + "type": "integer" + }, + "productId": { + "type": "string" + }, + "type": { + "description": "绫诲瀷:bh=琛ヨ揣", + "type": "string" } } }, @@ -3181,6 +3602,9 @@ "pageSize": { "description": "姣忛〉澶у皬", "type": "integer" + }, + "status": { + "$ref": "#/definitions/constvar.OperationStatus" } } }, @@ -3340,6 +3764,14 @@ "productId": { "description": "浜у搧id", "type": "string" + }, + "ruleType": { + "description": "涓婃灦瑙勫垯绫诲瀷 1锛氫骇鍝佺被鍨嬶紱2锛氫骇鍝佺被鍒被鍨�", + "allOf": [ + { + "$ref": "#/definitions/constvar.RuleType" + } + ] } } }, @@ -3358,8 +3790,16 @@ "description": "璁℃暟鏁伴噺", "type": "number" }, + "locationId": { + "description": "浣嶇疆id", + "type": "integer" + }, "operationId": { "description": "鍑哄叆搴搃d", + "type": "integer" + }, + "productCategoryId": { + "description": "浜у搧绉嶇被id", "type": "integer" }, "productId": { @@ -3488,6 +3928,10 @@ "description": "浠撳簱鍚嶇О", "type": "string" }, + "prefix": { + "description": "鍓嶇紑", + "type": "string" + }, "printLabel": { "description": "鏄惁鎵撳嵃鏍囩", "type": "boolean" @@ -3569,6 +4013,14 @@ "amount": { "description": "鏁伴噺", "type": "number" + }, + "baseOperationType": { + "description": "鍩虹浣滀笟绫诲瀷", + "allOf": [ + { + "$ref": "#/definitions/constvar.BaseOperationType" + } + ] }, "contactedName": { "description": "瀹屾垚鑰�", @@ -3702,8 +4154,6 @@ Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, - LeftDelim: "{{", - RightDelim: "}}", } func init() { -- Gitblit v1.8.0