获取gid

back_recharge
zhangshanxue 2019-11-29 15:42:23 +08:00
parent b36d490f9d
commit 513b0418d3
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ public class LoginRequestHandler extends BaseHandler<PlayerInfoProto.LoginReques
String value = RedisUtil.getInstence().getKey(RedisKey.PIDGIDTEMP, Integer.toString(userId));
String[] splitvalue = value.split("#");
if (splitChannelS.length==2){
if (splitvalue.length==2){
pid = Integer.valueOf(splitvalue[0]);
gid = Integer.valueOf(splitvalue[1]);
}