From 684e71358c464c7aba6f2f4b62538c0092a557c8 Mon Sep 17 00:00:00 2001 From: guofei Date: Tue, 3 Dec 2024 16:58:02 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E6=BF=80=E6=B4=BB=E6=8C=89?= =?UTF-8?q?=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/api/SystemCharter/index.ts | 5 +++++ src/pages/SystemCharter/index.vue | 34 ++++++++++++++++++++++++++++--- 2 files changed, 36 insertions(+), 3 deletions(-) diff --git a/src/api/SystemCharter/index.ts b/src/api/SystemCharter/index.ts index 28fef3c..76b727c 100644 --- a/src/api/SystemCharter/index.ts +++ b/src/api/SystemCharter/index.ts @@ -69,3 +69,8 @@ export const deleteTaskAPI = (taskId: string) => { export const checkCloneTaskAPI = (roleId: string) => { return request.get(`/system/charter/checkCloneTask/${roleId}`); }; + +// 添加激活声音接口 +export const activateVoiceAPI = (roleId: string) => { + return request.post(`/system/charter/activateVoice/${roleId}`); +}; diff --git a/src/pages/SystemCharter/index.vue b/src/pages/SystemCharter/index.vue index 53c6794..97fa782 100644 --- a/src/pages/SystemCharter/index.vue +++ b/src/pages/SystemCharter/index.vue @@ -50,7 +50,10 @@
编辑 - 克隆音频 +
@@ -163,8 +166,8 @@