From 2ba261ddf0269cf131721605eadf45fd033dc002 Mon Sep 17 00:00:00 2001 From: jiangshuai <291802688@qq.com> Date: 星期五, 10 十一月 2023 10:43:16 +0800 Subject: [PATCH] bug修改 --- docs/docs.go | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 50 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 1a45405..05469e2 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -2224,6 +2224,24 @@ "CostingMethodAverageCost" ] }, + "constvar.FileType": { + "type": "string", + "enum": [ + "file", + "picture", + "thumbnail" + ], + "x-enum-comments": { + "FileType_File": "鏂囦欢", + "FileType_Picture": "鍥剧墖", + "FileType_Thumbnail": "缂╃暐鍥�" + }, + "x-enum-varnames": [ + "FileType_File", + "FileType_Picture", + "FileType_Thumbnail" + ] + }, "constvar.ForceRemovalStrategy": { "type": "integer", "enum": [ @@ -2436,6 +2454,26 @@ "ReservationNever" ] }, + "models.Attachment": { + "type": "object", + "properties": { + "FileUrl": { + "type": "string" + }, + "ext": { + "type": "string" + }, + "fileName": { + "type": "string" + }, + "fileType": { + "$ref": "#/definitions/constvar.FileType" + }, + "id": { + "type": "integer" + } + } + }, "models.Company": { "type": "object", "properties": { @@ -2579,6 +2617,18 @@ "description": "鏁伴噺", "type": "number" }, + "attachmentIDs": { + "type": "array", + "items": { + "type": "integer" + } + }, + "attachmentList": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Attachment" + } + }, "barcode": { "description": "鏉$爜", "type": "string" -- Gitblit v1.8.0