浏览代码

fix: 克隆声音,改成系统克隆接口

sheldon 2 月之前
父节点
当前提交
6eaedaaef1
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      src/api/modules/voice.ts

+ 2 - 1
src/api/modules/voice.ts

@@ -8,7 +8,8 @@ import type { TVoice } from '@/types/voice'
 // 克隆声音
 
 export function cloneVoice(params: {name: string, gender?: number, audioUrl: string}){
-  return request(`/anycall/cloneVoice`, params)
+  // return request(`/anycall/cloneVoice`, params)
+  return request(`/anycall/admin/cloneVoice`, params)
 }