新服:二测玩家测试服

This commit is contained in:
luying
2022-08-08 18:26:33 +08:00
parent 65f32f2738
commit 8e8d850f52
13 changed files with 311 additions and 21 deletions

View File

@@ -20,7 +20,7 @@ import Counter from '../../../db/Counter';
import { getExpByLv } from '../../../pubUtils/data';
import { reportCreateRoleEventToTa, reportTAEvent, reportTAUserSet } from '../../../services/sdkService';
import { saveLoginAndOutLog } from '../../../pubUtils/logUtil';
import { sendMessageToAllWithSuc } from '../../../services/pushService';
import { sendMessageToAllWithSuc, sendMessageToUserWithSuc } from '../../../services/pushService';
import { getIpLocation } from '../../../services/roleService';
export default function (app: Application) {
@@ -249,6 +249,8 @@ export class EntryHandler {
// });
session.on('closed', this.onGmUserLeave.bind(this));
sendMessageToUserWithSuc(user.username, 'onGMENTER', {}, self.app.get('serverId'))
// put user into channel
return resResult(STATUS.SUCCESS, {
env: this.app.get('env')