✨ feat(限时排行榜): 修复限时排行榜奖励发放
This commit is contained in:
@@ -86,6 +86,14 @@ export async function sendMailToLeagueByContent(contentId: MAIL_TYPE, leagueCode
|
||||
return true;
|
||||
}
|
||||
|
||||
export async function sendMailToManyPlayerByContent(contentId: MAIL_TYPE, roleIds: string[], params: { sendName?: string, endTime?: number, params?: string[], goods?: RewardInter[] }) {
|
||||
let f = new SendMailFun();
|
||||
let code = f.setWithContentId(contentId, params);
|
||||
await f.createGroupMails(code, roleIds);
|
||||
await f.pushToUsers();
|
||||
return true;
|
||||
}
|
||||
|
||||
export async function sendMailsByGmMail(gmmails: GMMailType[]) {
|
||||
let f = new SendMailFun();
|
||||
for(let gmmail of gmmails) {
|
||||
|
||||
Reference in New Issue
Block a user