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, paramsSerializer: function(params) { return qs.stringify(params, { indices: false }) } }) }, deleteSettingFn: (params) => { console.log(params) return api({ url: '/templateSetting', method: 'delete', params, paramsSerializer: function(params) { return qs.stringify(params, { indices: false }) } }) } }