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/swagger.yaml |   35 +++++++++++++++++++++++++++++++++++
 1 files changed, 35 insertions(+), 0 deletions(-)

diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index c2d1ffe..b41ed10 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -33,6 +33,20 @@
     - CostingMethodStandardPrice
     - CostingMethodFIFO
     - CostingMethodAverageCost
+  constvar.FileType:
+    enum:
+    - file
+    - picture
+    - thumbnail
+    type: string
+    x-enum-comments:
+      FileType_File: 鏂囦欢
+      FileType_Picture: 鍥剧墖
+      FileType_Thumbnail: 缂╃暐鍥�
+    x-enum-varnames:
+    - FileType_File
+    - FileType_Picture
+    - FileType_Thumbnail
   constvar.ForceRemovalStrategy:
     enum:
     - 1
@@ -203,6 +217,19 @@
     - WhetherTypeAsk
     - WhetherTypeAlways
     - ReservationNever
+  models.Attachment:
+    properties:
+      FileUrl:
+        type: string
+      ext:
+        type: string
+      fileName:
+        type: string
+      fileType:
+        $ref: '#/definitions/constvar.FileType'
+      id:
+        type: integer
+    type: object
   models.Company:
     properties:
       createTime:
@@ -302,6 +329,14 @@
       amount:
         description: 鏁伴噺
         type: number
+      attachmentIDs:
+        items:
+          type: integer
+        type: array
+      attachmentList:
+        items:
+          $ref: '#/definitions/models.Attachment'
+        type: array
       barcode:
         description: 鏉$爜
         type: string

--
Gitblit v1.8.0