完成短信模板的模块

This commit is contained in:
YunaiV
2021-04-11 00:30:01 +08:00
parent 73a2f4d84c
commit fdc60fbc90
7 changed files with 116 additions and 14 deletions

View File

@ -43,6 +43,15 @@ export function getSmsTemplatePage(query) {
})
}
// 创建短信模板
export function sendSms(data) {
return request({
url: '/system/sms-template/send-sms',
method: 'post',
data: data
})
}
// 导出短信模板 Excel
export function exportSmsTemplateExcel(query) {
return request({
@ -52,3 +61,4 @@ export function exportSmsTemplateExcel(query) {
responseType: 'blob'
})
}