import api from '@/utils/api' import qs from 'qs' export default { getList: (params) => { return api({ url: '/template/getTemplateList', method: 'get', params: params }) }, deleteModuleFn: (params) => { return api({ url: '/templateSetting', method: 'delete', params: qs.stringify(params) }) }, deleteSettingFn: (params) => { console.log(params) return api({ url: '/templateSetting', method: 'delete', params: qs.stringify(params) }) } }