军团:解散的时候发送邮件

This commit is contained in:
luying
2022-07-04 20:05:43 +08:00
parent d307aa96f3
commit 74f558be36
3 changed files with 9 additions and 0 deletions

View File

@@ -573,6 +573,7 @@ export class GuildHandler {
for(let roleId of members) {
reportTAEvent(roleId, TA_EVENT.GUILD_QUIT, { name: guild.name, way: GUILD_QUIT_WAY.DISMISS }, ip);
}
await sendMailToGuildByContent(MAIL_TYPE.GUILD_DISSMISS, code, {}, guild);
return resResult(STATUS.SUCCESS, { code, status: guild.status });
}