新服:二测玩家测试服
This commit is contained in:
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user