军团:邮件参数

This commit is contained in:
luying
2022-08-12 18:16:58 +08:00
parent 3a144db58f
commit fa65aae779
3 changed files with 6 additions and 3 deletions
+2 -1
View File
@@ -120,7 +120,8 @@ class MailTemp {
this.endTime = this.sendTime + dicMail?.time||0;
this.content = this.getContent(dicMail.content, params.params);
if(dicMail.title) this.title = dicMail.title;
if(dicMail.sendName) this.sendName = dicMail.sendName;
if(dicMail.sendName || params.sendName) this.sendName = params.sendName||dicMail.sendName;
this.hasGoods = params.goods?.length > 0;
this.goods = params.goods||[];
}