You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
704 B

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