增加分享码查询接口,不写入操作日志表
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 数据",
|
||||
|
||||
Reference in New Issue
Block a user