From 4b63908ad085bc570623f7b0c0fd397b2ae7a80d Mon Sep 17 00:00:00 2001
From: zhangqian <zhangqian@123.com>
Date: 星期一, 07 八月 2023 15:41:32 +0800
Subject: [PATCH] 增加文件列表接口,文件上传时间,文件删除时间

---
 docs/docs.go |   73 +++++++++++++++++++++++-------------
 1 files changed, 47 insertions(+), 26 deletions(-)

diff --git a/docs/docs.go b/docs/docs.go
index 4364ed1..93d955e 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -2503,13 +2503,25 @@
                 "summary": "娣诲姞闄勪欢",
                 "parameters": [
                     {
-                        "description": "鏌ヨ鍙傛暟",
-                        "name": "object",
-                        "in": "body",
-                        "required": true,
-                        "schema": {
-                            "$ref": "#/definitions/request.AddFile"
-                        }
+                        "type": "integer",
+                        "description": "鏉ユ簮id",
+                        "name": "sourceId",
+                        "in": "formData",
+                        "required": true
+                    },
+                    {
+                        "type": "string",
+                        "description": "闄勪欢鏉ユ簮",
+                        "name": "sourceType",
+                        "in": "formData",
+                        "required": true
+                    },
+                    {
+                        "type": "file",
+                        "description": "涓婁紶鏂囦欢",
+                        "name": "file",
+                        "in": "formData",
+                        "required": true
                     }
                 ],
                 "responses": {
@@ -8741,6 +8753,21 @@
                 "BankAccountQueryClassExpireLessThen60Days"
             ]
         },
+        "constvar.CollectionStatus": {
+            "type": "integer",
+            "enum": [
+                1,
+                2
+            ],
+            "x-enum-comments": {
+                "CollectionStatusCollected": "宸叉敹娆�",
+                "CollectionStatusUnCollected": "寰呮敹娆�"
+            },
+            "x-enum-varnames": [
+                "CollectionStatusUnCollected",
+                "CollectionStatusCollected"
+            ]
+        },
         "constvar.FaqKeywordType": {
             "type": "string",
             "enum": [
@@ -10454,7 +10481,11 @@
                 },
                 "status": {
                     "description": "鐘舵�侊紙1鏈敹2宸叉敹锛�",
-                    "type": "integer"
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.CollectionStatus"
+                        }
+                    ]
                 },
                 "term": {
                     "description": "鏈熸",
@@ -11274,23 +11305,6 @@
                 }
             }
         },
-        "request.AddFile": {
-            "type": "object",
-            "required": [
-                "sourceId",
-                "sourceType"
-            ],
-            "properties": {
-                "sourceId": {
-                    "description": "鏉ユ簮id",
-                    "type": "integer"
-                },
-                "sourceType": {
-                    "description": "闄勪欢鏉ユ簮",
-                    "type": "string"
-                }
-            }
-        },
         "request.AddFollowRecord": {
             "type": "object",
             "required": [
@@ -11840,6 +11854,9 @@
         },
         "request.AddServiceCollectionPlan": {
             "type": "object",
+            "required": [
+                "list"
+            ],
             "properties": {
                 "list": {
                     "type": "array",
@@ -14662,7 +14679,11 @@
                 },
                 "status": {
                     "description": "鐘舵�侊紙1鏈敹2宸叉敹锛�",
-                    "type": "integer"
+                    "allOf": [
+                        {
+                            "$ref": "#/definitions/constvar.CollectionStatus"
+                        }
+                    ]
                 },
                 "term": {
                     "description": "鏈熸",

--
Gitblit v1.8.0