获取gid
parent
b36d490f9d
commit
513b0418d3
|
|
@ -105,7 +105,7 @@ public class LoginRequestHandler extends BaseHandler<PlayerInfoProto.LoginReques
|
||||||
String value = RedisUtil.getInstence().getKey(RedisKey.PIDGIDTEMP, Integer.toString(userId));
|
String value = RedisUtil.getInstence().getKey(RedisKey.PIDGIDTEMP, Integer.toString(userId));
|
||||||
|
|
||||||
String[] splitvalue = value.split("#");
|
String[] splitvalue = value.split("#");
|
||||||
if (splitChannelS.length==2){
|
if (splitvalue.length==2){
|
||||||
pid = Integer.valueOf(splitvalue[0]);
|
pid = Integer.valueOf(splitvalue[0]);
|
||||||
gid = Integer.valueOf(splitvalue[1]);
|
gid = Integer.valueOf(splitvalue[1]);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue