From 500985cf7556808ee42e2e9e3066bb4648a8e534 Mon Sep 17 00:00:00 2001 From: yinbangzhong <zhongbangyin@126.com> Date: 星期二, 18 六月 2024 14:28:16 +0800 Subject: [PATCH] watch preloads file to autoload --- docs/docs.go | 20 ++++++++++++++++++-- 1 files changed, 18 insertions(+), 2 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index b9de7a5..cad5c53 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -117,6 +117,11 @@ "parameters": [ { "type": "integer", + "name": "fileType", + "in": "query" + }, + { + "type": "integer", "name": "id", "in": "query", "required": true @@ -196,6 +201,11 @@ ], "summary": "闊抽璇︽儏锛屽惈瑙f瀽缁撴灉", "parameters": [ + { + "type": "integer", + "name": "fileType", + "in": "query" + }, { "type": "integer", "name": "id", @@ -457,6 +467,9 @@ }, "/api-sa/v1/audio/upload": { "post": { + "consumes": [ + "multipart/form-data" + ], "produces": [ "application/json" ], @@ -472,7 +485,7 @@ }, "collectionFormat": "csv", "description": "澶氭枃浠朵笂浼�", - "name": "files", + "name": "file", "in": "formData" } ], @@ -697,7 +710,7 @@ "type": "integer" }, "station": { - "description": "杞︾珯", + "description": "鍏噷鏍�", "type": "string" }, "trainNumber": { @@ -822,6 +835,9 @@ "id" ], "properties": { + "fileType": { + "type": "integer" + }, "id": { "type": "integer" } -- Gitblit v1.8.0