通用通道支持辅助开关、雨刷、自动扫描

This commit is contained in:
lin
2025-07-31 20:59:57 +08:00
parent 8ec950d515
commit 3f6264cad9
2 changed files with 5 additions and 5 deletions

View File

@@ -441,14 +441,14 @@ export function deletePreset({ channelId, presetId }) {
/**
* command: on 开启, off 关闭
*/
export function auxiliary({ channelId, command, switchId }) {
export function auxiliary({ channelId, command, auxiliaryId }) {
return request({
method: 'get',
url: '/api/common/channel/front-end/auxiliary',
params: {
channelId: channelId,
command: command,
switchId: switchId
auxiliaryId: auxiliaryId
}
})
}