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