站内信模块:vue3 模版

This commit is contained in:
YunaiV
2023-01-28 23:51:31 +08:00
parent 1943e71e3f
commit cb0da2db6a
6 changed files with 395 additions and 3 deletions

View File

@@ -21,7 +21,7 @@ export interface MailTemplatePageReqVO extends PageParam {
createTime?: Date[]
}
export interface MailSmsReqVO {
export interface MailSendReqVO {
mail: string
templateCode: string
templateParams: Map<String, Object>
@@ -53,6 +53,6 @@ export const deleteMailTemplateApi = async (id: number) => {
}
// 发送邮件
export const sendMailApi = (data: MailSmsReqVO) => {
export const sendMailApi = (data: MailSendReqVO) => {
return request.post({ url: '/system/mail-template/send-mail', data })
}