获取服务器id错误

back_recharge
jiahuiwen 2021-11-17 10:32:17 +08:00
parent d117d99b8a
commit 9d90b6b6bf
1 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,8 @@
package com.ljsd.jieling.logic.dao.cross;
import com.ljsd.GameApplication;
import com.ljsd.jieling.db.mongo.AreaManager;
/**
* @Author hj
* @Date 2021/8/31 15:30:04
@ -189,6 +192,7 @@ public class CSPlayer {
}
public int getServerId() {
int serverId = AreaManager.getInstance().getServerIdByUid(userId, GameApplication.serverId);
return serverId;
}