通用通道支持预置位调用,删除, 增加

This commit is contained in:
lin
2025-07-31 19:05:07 +08:00
parent 19b873ba5c
commit 9614584219
4 changed files with 27 additions and 42 deletions

View File

@@ -402,13 +402,14 @@ export function stopCruise({ channelId, cruiseId }) {
})
}
export function addPreset({ channelId, presetId }) {
export function addPreset({ channelId, presetId, presetName }) {
return request({
method: 'get',
url: '/api/common/channel/front-end/preset/add',
params: {
channelId: channelId,
presetId: presetId
presetId: presetId,
presetName: presetName
}
})
}