增加null判断
parent
e6bafcd98b
commit
dbfd1588c4
|
@ -1739,7 +1739,8 @@ public class PlayerLogic {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (userStr == null) {
|
if (userStr == null || userStr.isEmpty()) {
|
||||||
|
LOGGER.error("getUserByRpc ,userStr == null uid={}", uid);
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
Gson gson = RedisUtil.getInstence().getGson();
|
Gson gson = RedisUtil.getInstence().getGson();
|
||||||
|
|
Loading…
Reference in New Issue