From e5e75fcbb5b5115da6e5069817a4bfdd892b95bb Mon Sep 17 00:00:00 2001 From: wangpengfei <274878379@qq.com> Date: 星期三, 19 七月 2023 14:23:17 +0800 Subject: [PATCH] fix --- docs/docs.go | 65 +++++++++++++++++++++++++++++++- 1 files changed, 63 insertions(+), 2 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 7e039cd..221d742 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -3995,7 +3995,19 @@ "200": { "description": "OK", "schema": { - "$ref": "#/definitions/contextx.Response" + "allOf": [ + { + "$ref": "#/definitions/contextx.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/response.SalesReturnResponse" + } + } + } + ] } } } @@ -6110,6 +6122,41 @@ } } }, + "model.SalesReturn": { + "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" + } + } + }, "model.SalesSources": { "type": "object", "properties": { @@ -6302,7 +6349,7 @@ "type": "string" }, "id": { - "type": "string" + "type": "integer" }, "menuIds": { "description": "鑿滃崟ID鍒楄〃", @@ -6327,6 +6374,9 @@ "$ref": "#/definitions/constvar.UserType" }, "username": { + "type": "string" + }, + "uuid": { "type": "string" } } @@ -9433,6 +9483,17 @@ } } }, + "response.SalesReturnResponse": { + "type": "object", + "properties": { + "list": { + "type": "array", + "items": { + "$ref": "#/definitions/model.SalesReturn" + } + } + } + }, "response.SalesSourceResponse": { "type": "object", "properties": { -- Gitblit v1.8.0