聊天:组队一键邀请也发送给军团
This commit is contained in:
@@ -675,8 +675,8 @@ export class ComBattleHandler {
|
||||
let roleName = session.get('roleName');
|
||||
let serverId = session.get('serverId');
|
||||
const { teamCode } = msg;
|
||||
const msgData = await pushTeamInviteMsg(roleId, roleName, serverId, teamCode);
|
||||
if (!msgData) return resResult(STATUS.WRONG_PARMS);
|
||||
const { msgDataWorld, msgDataGuild } = await pushTeamInviteMsg(roleId, roleName, serverId, teamCode);
|
||||
if (!msgDataWorld || !msgDataGuild) return resResult(STATUS.WRONG_PARMS);
|
||||
return resResult(STATUS.SUCCESS);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user