From 0d86d93cff554f54f83927d4f8bf03ed8c847883 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 29 八月 2023 17:14:54 +0800 Subject: [PATCH] fix&字段完善 --- docs/docs.go | 83 ++++++++++++++++++++++++++++++++++++++++- 1 files changed, 81 insertions(+), 2 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 92af44b..fb4982c 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -4629,7 +4629,7 @@ "summary": "鍒涘缓閲囪喘鍗�", "parameters": [ { - "description": "閲囪喘鍗曠敤鎴峰悕, 閲囪喘鍗曟墜鏈哄彿鐮�", + "description": "閲囪喘鍗�,閲囪喘鍗曚骇鍝�", "name": "data", "in": "body", "required": true, @@ -8425,8 +8425,16 @@ "description": "鍒涘缓鏃堕棿", "type": "string" }, + "creator": { + "description": "鍒跺崟浜�", + "type": "string" + }, "deliveryDate": { "description": "浜や粯鏃ユ湡", + "type": "string" + }, + "handledBy": { + "description": "缁忓姙浜�", "type": "string" }, "id": { @@ -8441,6 +8449,10 @@ "description": "閲囪喘缂栧彿", "type": "string" }, + "orderType": { + "description": "鍗曟嵁绫诲瀷", + "type": "string" + }, "phone": { "description": "鑱旂郴浜虹數璇�", "type": "string" @@ -8451,6 +8463,10 @@ "purchaseTypeId": { "description": "閲囪喘绫诲瀷id", "type": "integer" + }, + "quantity": { + "description": "閲囪喘鏁伴噺", + "type": "number" }, "remark": { "description": "澶囨敞", @@ -8474,6 +8490,10 @@ "supplierId": { "description": "渚涘簲鍟唅d", "type": "integer" + }, + "warehouse": { + "description": "鏀惰揣浠撳簱", + "type": "string" } } }, @@ -8496,6 +8516,9 @@ "description": "閲囪喘鍗曚环", "type": "number" }, + "product": { + "$ref": "#/definitions/test.Product" + }, "productId": { "description": "浜у搧id", "type": "integer" @@ -8517,6 +8540,10 @@ "purchase.PurchaseType": { "type": "object", "properties": { + "created_at": { + "description": "鍒涘缓鏃堕棿", + "type": "string" + }, "id": { "description": "涓婚敭ID", "type": "integer" @@ -9093,13 +9120,65 @@ } } }, + "response.PurchaseProducts": { + "type": "object", + "properties": { + "amount": { + "description": "閲囪喘鏁伴噺", + "type": "number" + }, + "deliveryTime": { + "type": "integer" + }, + "modelNumber": { + "type": "string" + }, + "name": { + "type": "string" + }, + "number": { + "type": "string" + }, + "price": { + "description": "閲囪喘鍗曚环", + "type": "number" + }, + "productId": { + "description": "浜у搧id", + "type": "integer" + }, + "productType": { + "type": "string" + }, + "purchaseId": { + "description": "閲囪喘id", + "type": "integer" + }, + "purchasePrice": { + "type": "number" + }, + "shippingDuration": { + "type": "integer" + }, + "specifications": { + "type": "string" + }, + "total": { + "description": "閲囪喘鎬讳环", + "type": "number" + }, + "unit": { + "type": "string" + } + } + }, "response.PurchaseResponse": { "type": "object", "properties": { "productList": { "type": "array", "items": { - "$ref": "#/definitions/purchase.PurchaseProducts" + "$ref": "#/definitions/response.PurchaseProducts" } }, "purchase": { -- Gitblit v1.8.0