| | |
| | | } |
| | | } |
| | | }, |
| | | "/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": [ |