增加分享码查询接口,不写入操作日志表
This commit is contained in:
@@ -464,6 +464,50 @@ const docTemplate = `{
|
||||
}
|
||||
}
|
||||
},
|
||||
"/audio/shareQuery": {
|
||||
"get": {
|
||||
"description": "根据分享码预览 EQ 数据,不写入导入流水",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"ShareCode"
|
||||
],
|
||||
"summary": "查询 EQ 分享码",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "5 位分享码",
|
||||
"name": "shareCode",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "成功返回 eq_data、expire_at",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "参数校验失败",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "系统错误",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/audio/shareAccept": {
|
||||
"get": {
|
||||
"description": "根据分享码获取他人分享的 EQ 数据",
|
||||
|
||||
@@ -457,6 +457,50 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/audio/shareQuery": {
|
||||
"get": {
|
||||
"description": "根据分享码预览 EQ 数据,不写入导入流水",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"ShareCode"
|
||||
],
|
||||
"summary": "查询 EQ 分享码",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "5 位分享码",
|
||||
"name": "shareCode",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "成功返回 eq_data、expire_at",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "参数校验失败",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "系统错误",
|
||||
"schema": {
|
||||
"type": "object",
|
||||
"additionalProperties": true
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/audio/shareAccept": {
|
||||
"get": {
|
||||
"description": "根据分享码获取他人分享的 EQ 数据",
|
||||
|
||||
@@ -303,6 +303,36 @@ paths:
|
||||
summary: 上报设备信息
|
||||
tags:
|
||||
- Device
|
||||
/audio/shareQuery:
|
||||
get:
|
||||
description: 根据分享码预览 EQ 数据,不写入导入流水
|
||||
parameters:
|
||||
- description: 5 位分享码
|
||||
in: query
|
||||
name: shareCode
|
||||
required: true
|
||||
type: string
|
||||
produces:
|
||||
- application/json
|
||||
responses:
|
||||
"200":
|
||||
description: 成功返回 eq_data、expire_at
|
||||
schema:
|
||||
additionalProperties: true
|
||||
type: object
|
||||
"400":
|
||||
description: 参数校验失败
|
||||
schema:
|
||||
additionalProperties: true
|
||||
type: object
|
||||
"500":
|
||||
description: 系统错误
|
||||
schema:
|
||||
additionalProperties: true
|
||||
type: object
|
||||
summary: 查询 EQ 分享码
|
||||
tags:
|
||||
- ShareCode
|
||||
/audio/shareAccept:
|
||||
get:
|
||||
description: 根据分享码获取他人分享的 EQ 数据
|
||||
|
||||
Reference in New Issue
Block a user