From 111676bec43d0698c3f605993fe5b09bf4c93008 Mon Sep 17 00:00:00 2001 From: zhangqian <zhangqian@123.com> Date: 星期二, 21 五月 2024 17:59:57 +0800 Subject: [PATCH] 音频下载接口 --- docs/docs.go | 69 ++++++++++++++++++++++++++++++++++ 1 files changed, 69 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index c225b57..59ee610 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -106,6 +106,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,12 +238,42 @@ "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" + }, + { + "type": "string", "description": "鍏抽敭瀛�", "name": "keyword", "in": "query" -- Gitblit v1.8.0