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 listIvrtemplate(query) {
| return request({
| url: '/smartor/ivrtemplate/list',
| method: 'get',
| params: query
| })
| }
|
| // 查询话术模板库详细
| export function getIvrtemplate(templateID) {
| return request({
| url: '/smartor/ivrtemplate/' + templateID,
| method: 'get'
| })
| }
|
| // 新增话术模板库
| export function addIvrtemplate(data) {
| return request({
| url: '/smartor/ivrtemplate',
| method: 'post',
| data: data
| })
| }
|
| // 修改话术模板库
| export function updateIvrtemplate(data) {
| return request({
| url: '/smartor/ivrtemplate/edit',
| method: 'post',
| data: data
| })
| }
|
| // 删除话术模板库
| export function delIvrtemplate(templateID) {
| return request({
| url: '/smartor/ivrtemplate/remove/' + templateID,
| method: 'get'
| })
| }
|
|