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' }) }