From ec58bf196fb360bfcec35ed784ae9da90ffa3d42 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期二, 12 十二月 2023 11:06:50 +0800 Subject: [PATCH] 调整listbycondition接口服务 --- docs/docs.go | 48 +++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 41 insertions(+), 7 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index de21b37..2f60e96 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1150,8 +1150,8 @@ } } }, - "/api-wms/v1/operation/getOperationInfo/{number}": { - "post": { + "/api-wms/v1/operation/getOperationInfo/{id}": { + "get": { "produces": [ "application/json" ], @@ -1162,8 +1162,8 @@ "parameters": [ { "type": "string", - "description": "鍗曞彿", - "name": "number", + "description": "id", + "name": "id", "in": "path", "required": true } @@ -1214,6 +1214,36 @@ "required": true, "schema": { "$ref": "#/definitions/request.OperationList" + } + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "$ref": "#/definitions/util.Response" + } + } + } + } + }, + "/api-wms/v1/operation/listByCondition": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "鍏ュ簱/鍑哄簱" + ], + "summary": "鍑哄叆搴撴槑缁�", + "parameters": [ + { + "description": "鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.OperationAllList" } } ], @@ -2736,7 +2766,7 @@ 5 ], "x-enum-comments": { - "OperationStatus_Cancel": "瀹屾垚", + "OperationStatus_Cancel": "鍙栨秷", "OperationStatus_Draft": "鑽夌", "OperationStatus_Finish": "瀹屾垚", "OperationStatus_Ready": "灏辩华", @@ -3369,6 +3399,9 @@ "type": "string" }, "receiverPhone": { + "type": "string" + }, + "source": { "type": "string" }, "sourceNumber": { @@ -4656,6 +4689,9 @@ "description": "鍗曞彿", "type": "string" }, + "operationId": { + "type": "integer" + }, "productId": { "type": "string" }, @@ -4782,8 +4818,6 @@ Description: "", InfoInstanceName: "swagger", SwaggerTemplate: docTemplate, - LeftDelim: "{{", - RightDelim: "}}", } func init() { -- Gitblit v1.8.0