From db7e3c55cef94793dcc0b651c90e5c8b21b8bcc9 Mon Sep 17 00:00:00 2001 From: yinbangzhong <zhongbangyin@126.com> Date: 星期一, 17 六月 2024 19:28:13 +0800 Subject: [PATCH] watch preloads file to autoload --- docs/docs.go | 102 +++++++++++++++++++++++++++++++++++++++++++++++--- 1 files changed, 95 insertions(+), 7 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index c225b57..b9de7a5 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -1,5 +1,4 @@ -// Code generated by swaggo/swag. DO NOT EDIT. - +// Package docs Code generated by swaggo/swag. DO NOT EDIT package docs import "github.com/swaggo/swag" @@ -106,6 +105,45 @@ } } }, + "/api-sa/v1/audio/download": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "闊抽" + ], + "summary": "闊抽涓嬭浇", + "parameters": [ + { + "type": "integer", + "name": "id", + "in": "query", + "required": true + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.Response" + }, + { + "type": "object", + "properties": { + "data": { + "$ref": "#/definitions/models.Audio" + } + } + } + ] + } + } + } + } + }, "/api-sa/v1/audio/follow": { "post": { "produces": [ @@ -199,8 +237,38 @@ "parameters": [ { "type": "string", + "description": "寮�濮嬫椂闂�", + "name": "beginTime", + "in": "query" + }, + { + "type": "string", "description": "鍙告満鍙�", "name": "driverNumber", + "in": "query" + }, + { + "type": "string", + "description": "缁撴潫鏃堕棿", + "name": "endTime", + "in": "query" + }, + { + "enum": [ + 1, + 2 + ], + "type": "integer", + "x-enum-comments": { + "BoolTypeFalse": "false", + "BoolTypeTrue": "true" + }, + "x-enum-varnames": [ + "BoolTypeTrue", + "BoolTypeFalse" + ], + "description": "鏄惁鍏虫敞 1鍏虫敞 2鏈叧娉�", + "name": "isFollowed", "in": "query" }, { @@ -231,6 +299,23 @@ "type": "string", "description": "杞︾珯鍙�", "name": "stationNumber", + "in": "query" + }, + { + "type": "array", + "items": { + "enum": [ + 0, + 1, + 2, + 3, + 4 + ], + "type": "integer" + }, + "collectionFormat": "csv", + "description": "闊抽鐘舵�佹暟缁�", + "name": "statusList", "in": "query" }, { @@ -381,11 +466,14 @@ "summary": "涓婁紶闊抽", "parameters": [ { - "type": "file", - "description": "闊抽鏂囦欢", - "name": "file", - "in": "formData", - "required": true + "type": "array", + "items": { + "type": "file" + }, + "collectionFormat": "csv", + "description": "澶氭枃浠朵笂浼�", + "name": "files", + "in": "formData" } ], "responses": { -- Gitblit v1.8.0