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 | 153 +++++++++++++++++++++++++++++++++++++-------------- 1 files changed, 111 insertions(+), 42 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 3dd7099..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": { @@ -6292,27 +6339,17 @@ "description": "鐢ㄦ埛瑙掕壊ID", "type": "integer" }, - "companyName": { - "type": "string" - }, - "createAt": { - "description": "鍒涘缓鏃堕棿", - "type": "string" + "departmentId": { + "type": "integer" }, "email": { "type": "string" - }, - "enable": { - "type": "boolean" }, "headerImg": { "type": "string" }, "id": { - "type": "string" - }, - "ip": { - "type": "string" + "type": "integer" }, "menuIds": { "description": "鑿滃崟ID鍒楄〃", @@ -6324,32 +6361,22 @@ "nickName": { "type": "string" }, - "parentId": { - "type": "string" - }, - "parentName": { - "type": "string" - }, "phone": { - "type": "string" - }, - "port": { "type": "string" }, "pos": { "type": "string" }, - "status": { - "type": "integer" - }, - "updateAt": { - "description": "鏇存柊鏃堕棿", + "realName": { "type": "string" }, "userType": { "$ref": "#/definitions/constvar.UserType" }, "username": { + "type": "string" + }, + "uuid": { "type": "string" } } @@ -7526,29 +7553,46 @@ "request.Register": { "type": "object", "properties": { + "authorityId": { + "description": "鐢ㄦ埛瑙掕壊ID", + "type": "integer" + }, + "departmentId": { + "type": "integer" + }, "email": { - "type": "string", - "example": "鐢靛瓙閭" + "type": "string" }, "headerImg": { - "type": "string", - "example": "澶村儚閾炬帴" + "type": "string" + }, + "id": { + "type": "string" }, "nickName": { - "type": "string", - "example": "鏄电О" + "type": "string" }, - "passWord": { - "type": "string", - "example": "瀵嗙爜" + "password": { + "type": "string" }, "phone": { - "type": "string", - "example": "鐢佃瘽鍙风爜" + "type": "string" }, - "userName": { - "type": "string", - "example": "鐢ㄦ埛鍚�" + "pos": { + "type": "string" + }, + "rePassword": { + "description": "纭瀵嗙爜", + "type": "string" + }, + "realName": { + "type": "string" + }, + "userType": { + "$ref": "#/definitions/constvar.UserType" + }, + "username": { + "type": "string" } } }, @@ -9115,6 +9159,13 @@ "$ref": "#/definitions/model.Country" } }, + "department": { + "description": "閮ㄩ棬", + "type": "array", + "items": { + "$ref": "#/definitions/model.Department" + } + }, "enterprise_nature": { "description": "浼佷笟鎬ц川", "type": "array", @@ -9134,6 +9185,13 @@ "type": "array", "items": { "$ref": "#/definitions/model.Industry" + } + }, + "member": { + "description": "Member", + "type": "array", + "items": { + "$ref": "#/definitions/model.User" } }, "province": { @@ -9425,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