From d52defafc50d1a103199711d5151e24fc4a4d6b1 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期一, 28 八月 2023 12:47:27 +0800 Subject: [PATCH] update swag --- docs/docs.go | 165 ++++++++++++++++-------------------------------------- 1 files changed, 50 insertions(+), 115 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index a341b7b..5052c01 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -4428,119 +4428,6 @@ } } }, - "/p/getProductListFromGrpc": { - "get": { - "security": [ - { - "ApiKeyAuth": [] - } - ], - "consumes": [ - "application/json" - ], - "produces": [ - "application/json" - ], - "tags": [ - "Product" - ], - "summary": "鍒嗛〉鑾峰彇Product鍒楄〃", - "parameters": [ - { - "type": "integer", - "name": "deliveryTime", - "in": "query" - }, - { - "type": "string", - "name": "endCreatedAt", - "in": "query" - }, - { - "type": "integer", - "description": "涓婚敭ID", - "name": "id", - "in": "query" - }, - { - "type": "string", - "description": "鍏抽敭瀛�", - "name": "keyword", - "in": "query" - }, - { - "type": "integer", - "name": "maximumStock", - "in": "query" - }, - { - "type": "integer", - "name": "minimumStock", - "in": "query" - }, - { - "type": "string", - "name": "name", - "in": "query" - }, - { - "type": "string", - "name": "number", - "in": "query" - }, - { - "type": "integer", - "description": "椤电爜", - "name": "page", - "in": "query" - }, - { - "type": "integer", - "description": "姣忛〉澶у皬", - "name": "pageSize", - "in": "query" - }, - { - "type": "string", - "name": "productType", - "in": "query" - }, - { - "type": "number", - "name": "purchasePrice", - "in": "query" - }, - { - "type": "string", - "name": "remark", - "in": "query" - }, - { - "type": "integer", - "name": "shippingDuration", - "in": "query" - }, - { - "type": "string", - "name": "startCreatedAt", - "in": "query" - }, - { - "type": "string", - "name": "unit", - "in": "query" - } - ], - "responses": { - "200": { - "description": "{\"success\":true,\"data\":{},\"msg\":\"鑾峰彇鎴愬姛\"}", - "schema": { - "type": "string" - } - } - } - } - }, "/p/updateProduct": { "put": { "security": [ @@ -4790,7 +4677,7 @@ "tags": [ "Purchase" ], - "summary": "鍒嗛〉鑾峰彇鏉冮檺閲囪喘鍗曞垪琛�", + "summary": "鍒嗛〉鑾峰彇閲囪喘鍗曞垪琛�", "parameters": [ { "type": "string", @@ -4813,7 +4700,7 @@ ], "responses": { "200": { - "description": "鍒嗛〉鑾峰彇鏉冮檺閲囪喘鍗曞垪琛�,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺", + "description": "鍒嗛〉鑾峰彇閲囪喘鍗曞垪琛�,杩斿洖鍖呮嫭鍒楄〃,鎬绘暟,椤电爜,姣忛〉鏁伴噺", "schema": { "allOf": [ { @@ -4836,6 +4723,54 @@ } } }, + "/purchase/submit/{id}": { + "post": { + "security": [ + { + "ApiKeyAuth": [] + } + ], + "consumes": [ + "application/json" + ], + "produces": [ + "application/json" + ], + "tags": [ + "Purchase" + ], + "summary": "鎻愪氦閲囪喘鍗�", + "parameters": [ + { + "type": "integer", + "description": "閲囪喘鍗旾D", + "name": "id", + "in": "path", + "required": true + } + ], + "responses": { + "200": { + "description": "鎻愪氦閲囪喘鍗�", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/response.Response" + }, + { + "type": "object", + "properties": { + "msg": { + "type": "string" + } + } + } + ] + } + } + } + } + }, "/s/changeSupplierStatus": { "post": { "security": [ -- Gitblit v1.8.0