From 4e7484faafec2663eb75addac9f857be06a1be06 Mon Sep 17 00:00:00 2001 From: yinbangzhong <zhongbangyin@126.com> Date: 星期一, 22 七月 2024 19:35:45 +0800 Subject: [PATCH] export --- docs/swagger.yaml | 82 +++++++++++++ docs/docs.go | 125 ++++++++++++++++++++ docs/swagger.json | 125 ++++++++++++++++++++ 3 files changed, 332 insertions(+), 0 deletions(-) diff --git a/docs/docs.go b/docs/docs.go index 41fc6df..06133b6 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -149,6 +149,131 @@ } } }, + "/api-sa/v1/audio/export": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "闊抽妫�绱㈢粨鏋滃埌澶�" + ], + "summary": "闊抽妫�绱㈢粨鏋滃埌澶�", + "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" + }, + { + "type": "string", + "description": "鏈鸿溅鍙�", + "name": "locomotiveNumber", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "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" + }, + { + "type": "string", + "description": "杞︽", + "name": "trainNumber", + "in": "query" + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.ResponseList" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Audio" + } + } + } + } + ] + } + } + } + } + }, "/api-sa/v1/audio/follow": { "post": { "produces": [ diff --git a/docs/swagger.json b/docs/swagger.json index e64e250..e3299c4 100644 --- a/docs/swagger.json +++ b/docs/swagger.json @@ -138,6 +138,131 @@ } } }, + "/api-sa/v1/audio/export": { + "get": { + "produces": [ + "application/json" + ], + "tags": [ + "闊抽妫�绱㈢粨鏋滃埌澶�" + ], + "summary": "闊抽妫�绱㈢粨鏋滃埌澶�", + "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" + }, + { + "type": "string", + "description": "鏈鸿溅鍙�", + "name": "locomotiveNumber", + "in": "query" + }, + { + "type": "integer", + "description": "椤电爜", + "name": "page", + "in": "query" + }, + { + "type": "integer", + "description": "姣忛〉澶у皬", + "name": "pageSize", + "in": "query" + }, + { + "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" + }, + { + "type": "string", + "description": "杞︽", + "name": "trainNumber", + "in": "query" + } + ], + "responses": { + "200": { + "description": "鎴愬姛", + "schema": { + "allOf": [ + { + "$ref": "#/definitions/util.ResponseList" + }, + { + "type": "object", + "properties": { + "data": { + "type": "array", + "items": { + "$ref": "#/definitions/models.Audio" + } + } + } + } + ] + } + } + } + } + }, "/api-sa/v1/audio/follow": { "post": { "produces": [ diff --git a/docs/swagger.yaml b/docs/swagger.yaml index 791bf30..dc3c614 100644 --- a/docs/swagger.yaml +++ b/docs/swagger.yaml @@ -304,6 +304,88 @@ summary: 闊抽涓嬭浇 tags: - 闊抽 + /api-sa/v1/audio/export: + get: + parameters: + - description: 寮�濮嬫椂闂� + in: query + name: beginTime + type: string + - description: 鍙告満鍙� + in: query + name: driverNumber + type: string + - description: 缁撴潫鏃堕棿 + in: query + name: endTime + type: string + - description: 鏄惁鍏虫敞 1鍏虫敞 2鏈叧娉� + enum: + - 1 + - 2 + in: query + name: isFollowed + type: integer + x-enum-comments: + BoolTypeFalse: "false" + BoolTypeTrue: "true" + x-enum-varnames: + - BoolTypeTrue + - BoolTypeFalse + - description: 鍏抽敭瀛� + in: query + name: keyword + type: string + - description: 鏈鸿溅鍙� + in: query + name: locomotiveNumber + type: string + - description: 椤电爜 + in: query + name: page + type: integer + - description: 姣忛〉澶у皬 + in: query + name: pageSize + type: integer + - description: 杞︾珯鍙� + in: query + name: stationNumber + type: string + - collectionFormat: csv + description: 闊抽鐘舵�佹暟缁� + in: query + items: + enum: + - 0 + - 1 + - 2 + - 3 + - 4 + type: integer + name: statusList + type: array + - description: 杞︽ + in: query + name: trainNumber + type: string + produces: + - application/json + responses: + "200": + description: 鎴愬姛 + schema: + allOf: + - $ref: '#/definitions/util.ResponseList' + - properties: + data: + items: + $ref: '#/definitions/models.Audio' + type: array + type: object + summary: 闊抽妫�绱㈢粨鏋滃埌澶� + tags: + - 闊抽妫�绱㈢粨鏋滃埌澶� /api-sa/v1/audio/follow: post: parameters: -- Gitblit v1.8.0