From a63566fef15a499c82a5198578d5cb99fca299d4 Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期四, 20 七月 2023 14:20:58 +0800 Subject: [PATCH] add --- docs/docs.go | 151 ++++++++++++++++++++++++++++++++------------------ 1 files changed, 97 insertions(+), 54 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 221d742..294d119 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -4013,7 +4013,7 @@ } } }, - "/api/salesReturn/update/{id}": { + "/api/salesReturn/update": { "put": { "produces": [ "application/json" @@ -4997,6 +4997,36 @@ } } } + }, + "/api/vetting/add": { + "post": { + "produces": [ + "application/json" + ], + "tags": [ + "Vetting" + ], + "summary": "娣诲姞瀹℃壒", + "parameters": [ + { + "description": "鏌ヨ鍙傛暟", + "name": "object", + "in": "body", + "required": true, + "schema": { + "$ref": "#/definitions/request.AddVetting" + } + } + ], + "responses": { + "200": { + "description": "OK", + "schema": { + "$ref": "#/definitions/contextx.Response" + } + } + } + } } }, "definitions": { @@ -5864,6 +5894,9 @@ "currency": { "$ref": "#/definitions/constvar.CurrencyType" }, + "detail_address": { + "type": "string" + }, "disadvantages": { "type": "string" }, @@ -5917,6 +5950,9 @@ }, "regular_customers_id": { "type": "integer" + }, + "remark": { + "type": "string" }, "sale_stage_id": { "type": "integer" @@ -6722,7 +6758,7 @@ "type": "integer" }, "money": { - "type": "string" + "type": "number" }, "number": { "type": "string" @@ -6885,6 +6921,9 @@ "currency": { "type": "integer" }, + "detail_address": { + "type": "string" + }, "disadvantages": { "type": "string" }, @@ -6929,6 +6968,9 @@ }, "regular_customers_id": { "type": "integer" + }, + "remark": { + "type": "string" }, "sale_stage_id": { "type": "integer" @@ -7193,8 +7235,50 @@ "request.AddSubOrder": { "type": "object", "properties": { - "subOrder": { - "$ref": "#/definitions/request.SubOrder" + "clientId": { + "type": "integer" + }, + "masterOrderId": { + "type": "integer" + }, + "memberId": { + "type": "integer" + }, + "number": { + "type": "string" + }, + "product": { + "type": "array", + "items": { + "$ref": "#/definitions/model.Product" + } + } + } + }, + "request.AddVetting": { + "type": "object", + "required": [ + "opinion", + "status", + "userId", + "vettingId", + "vettingType" + ], + "properties": { + "opinion": { + "type": "string" + }, + "status": { + "type": "integer" + }, + "userId": { + "type": "integer" + }, + "vettingId": { + "type": "integer" + }, + "vettingType": { + "type": "integer" } } }, @@ -7775,29 +7859,6 @@ } } }, - "request.SubOrder": { - "type": "object", - "properties": { - "clientId": { - "type": "integer" - }, - "masterOrderId": { - "type": "integer" - }, - "memberId": { - "type": "integer" - }, - "number": { - "type": "string" - }, - "product": { - "type": "array", - "items": { - "$ref": "#/definitions/model.Product" - } - } - } - }, "request.UpdateCities": { "type": "object", "properties": { @@ -8306,7 +8367,7 @@ "type": "integer" }, "money": { - "type": "string" + "type": "number" }, "number": { "type": "string" @@ -8564,6 +8625,9 @@ "currency": { "type": "integer" }, + "detail_address": { + "type": "string" + }, "disadvantages": { "type": "string" }, @@ -8611,6 +8675,9 @@ }, "regular_customers_id": { "type": "integer" + }, + "remark": { + "type": "string" }, "sale_stage_id": { "type": "integer" @@ -8770,35 +8837,11 @@ "request.UpdateSalesReturnRequest": { "type": "object", "properties": { - "clientId": { - "type": "integer" - }, "id": { "type": "integer" }, - "memberId": { - "type": "integer" - }, - "number": { - "type": "string" - }, - "products": { - "type": "array", - "items": { - "$ref": "#/definitions/model.Product" - } - }, - "reason": { - "type": "string" - }, - "repository": { - "type": "string" - }, - "returnDate": { - "type": "string" - }, - "status": { - "type": "integer" + "salesReturn": { + "$ref": "#/definitions/request.SalesReturn" } } }, -- Gitblit v1.8.0