新增了针对 mac 地址屏蔽webui 导航栏的接口
This commit is contained in:
@@ -245,6 +245,47 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"/audio/getNavConfig": {
|
||||
"get": {
|
||||
"description": "根据设备 MAC 查询需要隐藏的导航入口(nav key: community|hpEq|home|effects|myAi)。未命中返回空数组,前端应默认全部显示。",
|
||||
"produces": [
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"NavConfig"
|
||||
],
|
||||
"summary": "获取导航栏隐藏配置",
|
||||
"parameters": [
|
||||
{
|
||||
"type": "string",
|
||||
"description": "设备 MAC 地址",
|
||||
"name": "mac",
|
||||
"in": "query",
|
||||
"required": true
|
||||
}
|
||||
],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "成功返回 hidden 列表",
|
||||
"schema": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"400": {
|
||||
"description": "Bad Request",
|
||||
"schema": {
|
||||
"type": "object"
|
||||
}
|
||||
},
|
||||
"500": {
|
||||
"description": "Internal Server Error",
|
||||
"schema": {
|
||||
"type": "object"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"/audio/getVerName": {
|
||||
"get": {
|
||||
"description": "根据设备型号和版本号(verCode)定位唯一 OTA 记录,返回版本名称 verName",
|
||||
|
||||
Reference in New Issue
Block a user