获取gid
parent
1a9f356130
commit
77f1c94850
|
@ -102,8 +102,8 @@ public class LoginRequestHandler extends BaseHandler<PlayerInfoProto.LoginReques
|
|||
//临时代码 等前端出新包后删除2019 11 29
|
||||
if(gid==0){
|
||||
try {
|
||||
String value = RedisUtil.getInstence().getKey(RedisKey.PIDGIDTEMP, Integer.toString(userId));
|
||||
LOGGER.info("the value",value);
|
||||
String value = (String) RedisUtil.getInstence().get(RedisUtil.getInstence().getKey(RedisKey.PIDGIDTEMP, Integer.toString(userId)));
|
||||
LOGGER.info("the value={}",value);
|
||||
String[] splitvalue = value.split("#");
|
||||
if (splitvalue.length==2){
|
||||
pid = Integer.valueOf(splitvalue[0]);
|
||||
|
|
Loading…
Reference in New Issue