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