mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 10:35:07 +08:00
邮箱模块:完善 template 的单元测试
This commit is contained in:
@ -42,3 +42,12 @@ export function getMailTemplatePage(query) {
|
||||
params: query
|
||||
})
|
||||
}
|
||||
|
||||
// 发送测试邮件
|
||||
export function sendMail(data) {
|
||||
return request({
|
||||
url: '/system/mail-template/send-mail',
|
||||
method: 'post',
|
||||
data: data
|
||||
})
|
||||
}
|
||||
|
@ -43,7 +43,7 @@ export function getSmsTemplatePage(query) {
|
||||
})
|
||||
}
|
||||
|
||||
// 创建短信模板
|
||||
// 发送测试短信
|
||||
export function sendSms(data) {
|
||||
return request({
|
||||
url: '/system/sms-template/send-sms',
|
||||
|
Reference in New Issue
Block a user