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