获取gid

back_recharge
zhangshanxue 2019-11-29 17:28:55 +08:00
parent 1a9f356130
commit 77f1c94850
1 changed files with 2 additions and 2 deletions

View File

@ -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]);