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 listSmstemplet(query) { 
 |    return request({ 
 |      url: '/smartor/smstemplet/list', 
 |      method: 'get', 
 |      params: query 
 |    }) 
 |  } 
 |    
 |  // 查询短信模板详细 
 |  export function getSmstemplet(templetid) { 
 |    return request({ 
 |      url: '/smartor/smstemplet/' + templetid, 
 |      method: 'get' 
 |    }) 
 |  } 
 |    
 |  // 新增短信模板 
 |  export function addSmstemplet(data) { 
 |    return request({ 
 |      url: '/smartor/smstemplet', 
 |      method: 'post', 
 |      data: data 
 |    }) 
 |  } 
 |    
 |  // 修改短信模板 
 |  export function updateSmstemplet(data) { 
 |    return request({ 
 |      url: '/smartor/smstemplet/edit', 
 |      method: 'post', 
 |      data: data 
 |    }) 
 |  } 
 |    
 |  // 删除短信模板 
 |  export function delSmstemplet(templetid) { 
 |    return request({ 
 |      url: '/smartor/smstemplet/remove/' + templetid, 
 |      method: 'get' 
 |    }) 
 |  } 
 |  
  |