WXL (wul)
6 天以前 a5cba9ab040f6f97558046885dce3017f9bab7e9
src/api/smartor/smstemplet.js
@@ -4,8 +4,8 @@
export function listSmstemplet(query) {
  return request({
    url: '/smartor/smstemplet/list',
    method: 'get',
    params: query
    method: 'post',
    data: query
  })
}
@@ -20,7 +20,7 @@
// 新增短信模板
export function addSmstemplet(data) {
  return request({
    url: '/smartor/smstemplet',
    url: '/smartor/smstemplet/add',
    method: 'post',
    data: data
  })
@@ -29,8 +29,8 @@
// 修改短信模板
export function updateSmstemplet(data) {
  return request({
    url: '/smartor/smstemplet',
    method: 'put',
    url: '/smartor/smstemplet/edit',
    method: 'post',
    data: data
  })
}
@@ -38,7 +38,7 @@
// 删除短信模板
export function delSmstemplet(templetid) {
  return request({
    url: '/smartor/smstemplet/' + templetid,
    method: 'delete'
    url: '/smartor/smstemplet/remove/' + templetid,
    method: 'get'
  })
}