feat(邮件): 添加专属邮件

This commit is contained in:
luying
2023-04-06 17:36:44 +08:00
parent ec65f880b7
commit 579ee7846f
7 changed files with 17 additions and 6 deletions
+4 -1
View File
@@ -125,6 +125,7 @@ class MailTemp {
private goods: RewardInter[] = []; // 发送的奖励
public sendTime: number;
private endTime: number;
private isSp: boolean = false;
// 从dicMail读取数据
public setWithContentId(contentId: MAIL_TYPE, params: { sendName?: string, params?: string[], goods?: RewardInter[] }) {
@@ -171,6 +172,7 @@ class MailTemp {
this.content = gmmail.content;
this.hasGoods = gmmail.hasGoods;
this.goods = gmmail.goods;
this.isSp = gmmail.isSp;
return true;
}
@@ -192,7 +194,8 @@ class MailTemp {
title: this.title,
sendName: this.sendName,
content: this.content,
hasGoods: this.hasGoods
hasGoods: this.hasGoods,
isSp: this.isSp,
}
}
}