寻宝:一键邀请
This commit is contained in:
@@ -680,8 +680,7 @@ export class ComBattleHandler {
|
|||||||
const { teamCode } = msg;
|
const { teamCode } = msg;
|
||||||
let teamStatus = this.teamMap.get(teamCode);
|
let teamStatus = this.teamMap.get(teamCode);
|
||||||
if(!teamStatus) return resResult(STATUS.WRONG_PARMS);
|
if(!teamStatus) return resResult(STATUS.WRONG_PARMS);
|
||||||
const { msgDataWorld, msgDataGuild } = await pushTeamInviteMsg(roleId, roleName, serverId, guildCode, teamCode, teamStatus.blueprtId);
|
await pushTeamInviteMsg(roleId, roleName, serverId, guildCode, teamCode, teamStatus.blueprtId);
|
||||||
if (!msgDataWorld || !msgDataGuild) return resResult(STATUS.WRONG_PARMS);
|
|
||||||
return resResult(STATUS.SUCCESS);
|
return resResult(STATUS.SUCCESS);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user