WXL
2025-02-12 f6bc6ed2dec9cd60853db928fa6e56a92ab5de0d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
import request from '@/utils/request'
 
// 查询话术模板库话术列表
export function listIvrtemplatescript(query) {
  return request({
    url: '/smartor/ivrtemplatescript/list',
    method: 'get',
    params: query
  })
}
 
// 查询话术模板库话术详细
export function getIvrtemplatescript(templateQuestionID) {
  return request({
    url: '/smartor/ivrtemplatescript/' + templateQuestionID,
    method: 'get'
  })
}
 
// 新增话术模板库话术
export function addIvrtemplatescript(data) {
  return request({
    url: '/smartor/ivrtemplatescript',
    method: 'post',
    data: data
  })
}
 
// 修改话术模板库话术
export function updateIvrtemplatescript(data) {
  return request({
    url: '/smartor/ivrtemplatescript/edit',
    method: 'post',
    data: data
  })
}
 
// 删除话术模板库话术
export function delIvrtemplatescript(templateQuestionID) {
  return request({
    url: '/smartor/ivrtemplatescript/remove/' + templateQuestionID,
    method: 'get'
  })
}