修改登录接口变化引起的 bug
This commit is contained in:
@@ -10,7 +10,7 @@ export function chat(session: Session, msg: any, app: Application, cb: (err: Err
|
||||
return;
|
||||
}
|
||||
|
||||
let res = dispatch(session.get('rid'), chatServers);
|
||||
let res = dispatch(session.get('roleId'), chatServers);
|
||||
cb(null, res.id);
|
||||
}
|
||||
|
||||
@@ -22,6 +22,6 @@ export function battle(session: Session, msg: any, app: Application, cb: (err: E
|
||||
return;
|
||||
}
|
||||
|
||||
let res = dispatch(session.get('rid'), battleServers);
|
||||
let res = dispatch(session.get('roleId'), battleServers);
|
||||
cb(null, res.id);
|
||||
}
|
||||
Reference in New Issue
Block a user