✨ feat(邮件): 添加专属邮件
This commit is contained in:
@@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user