From 3f6264cad92babc82f150b2a64a28a095b5e05d1 Mon Sep 17 00:00:00 2001 From: lin <648540858@qq.com> Date: Thu, 31 Jul 2025 20:59:57 +0800 Subject: [PATCH] =?UTF-8?q?=E9=80=9A=E7=94=A8=E9=80=9A=E9=81=93=E6=94=AF?= =?UTF-8?q?=E6=8C=81=E8=BE=85=E5=8A=A9=E5=BC=80=E5=85=B3=E3=80=81=E9=9B=A8?= =?UTF-8?q?=E5=88=B7=E3=80=81=E8=87=AA=E5=8A=A8=E6=89=AB=E6=8F=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/src/api/commonChannel.js | 4 ++-- web/src/views/common/channelPlayer/ptzSwitch.vue | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/web/src/api/commonChannel.js b/web/src/api/commonChannel.js index d008ca0c5..6d8a8e436 100644 --- a/web/src/api/commonChannel.js +++ b/web/src/api/commonChannel.js @@ -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 } }) } diff --git a/web/src/views/common/channelPlayer/ptzSwitch.vue b/web/src/views/common/channelPlayer/ptzSwitch.vue index 1acf1af6f..c3636164f 100644 --- a/web/src/views/common/channelPlayer/ptzSwitch.vue +++ b/web/src/views/common/channelPlayer/ptzSwitch.vue @@ -3,7 +3,7 @@ { this.$message({