活动:修改更新活动

This commit is contained in:
luying
2021-12-18 18:04:59 +08:00
parent 1e5157bb79
commit 4613de7aa4
6 changed files with 17 additions and 11 deletions

View File

@@ -100,7 +100,7 @@ export class SendMailFun {
this.goods = params.goods||[];
}
getContent(content: string, params: string[]) {
getContent(content: string, params: string[] = []) {
if(!content) content = '%d';
for(let p of params) {
content = content.replace(/%d/, p);