private void Online(IUserToken token) { ExecutorPool.instance.Execute( () => { PResult result = this._userBiz.Online(token); if (result != PResult.SUCCESS) { this.Reply(token, Module.USER, Command.QCMD_USER_ONLINE, result); } else { result = this._userBiz.GetByAccount(token, out User user); if (result != PResult.SUCCESS) { this.Reply(token, Module.USER, Command.QCMD_USER_INFOS, result); } else { token.CALL_USER_ACMD_USER_ONLINE(DTOHelper.GetUserInfo(user)); } } }); }