优化代码结构
This commit is contained in:
@@ -9,8 +9,8 @@ export function getscriptList(data: object) {
|
||||
});
|
||||
}
|
||||
|
||||
//获取话术列表
|
||||
export function getscriptAdd(data: object) {
|
||||
//增加话术
|
||||
export function addScript(data: object) {
|
||||
return newService({
|
||||
url: '/customerService/speechcraft/add',
|
||||
method: 'post',
|
||||
@@ -19,7 +19,7 @@ export function getscriptAdd(data: object) {
|
||||
}
|
||||
|
||||
//删除话术列表
|
||||
export function deletescript(data: object) {
|
||||
export function deleteScript(data: object) {
|
||||
return newService({
|
||||
url: '/customerService/speechcraft/delete',
|
||||
method: 'post',
|
||||
@@ -28,7 +28,7 @@ export function deletescript(data: object) {
|
||||
}
|
||||
|
||||
//更新话术列表
|
||||
export function updatescript(data: object) {
|
||||
export function updateScript(data: object) {
|
||||
return newService({
|
||||
url: '/customerService/speechcraft/update',
|
||||
method: 'post',
|
||||
|
||||
Reference in New Issue
Block a user