新增了针对 mac 地址屏蔽webui 导航栏的接口

This commit is contained in:
eafonyang
2026-10-10 17:11:54 +08:00
parent 0aad0f9c1d
commit 4711c262c9
9 changed files with 298 additions and 1 deletions
+27
View File
@@ -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