WXL
12 小时以前 6d7cd13eecd3a6f176d310986b4750b0c407e3a1
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 listHecategory(query) {
  return request({
    url: '/smartor/hecategory/list',
    method: 'get',
    params: query
  })
}
 
// 查询宣教分类详细
export function getHecategory(id) {
  return request({
    url: '/smartor/hecategory/' + id,
    method: 'get'
  })
}
 
// 新增宣教分类
export function addHecategory(data) {
  return request({
    url: '/smartor/hecategory',
    method: 'post',
    data: data
  })
}
 
// 修改宣教分类
export function updateHecategory(data) {
  return request({
    url: '/smartor/hecategory/edit',
    method: 'post',
    data: data
  })
}
 
// 删除宣教分类
export function delHecategory(id) {
  return request({
    url: '/smartor/hecategory/remove/' + id,
    method: 'get'
  })
}