增加null判断

back_recharge
jiahuiwen 2021-11-17 09:34:39 +08:00
parent e6bafcd98b
commit dbfd1588c4
1 changed files with 2 additions and 1 deletions

View File

@ -1739,7 +1739,8 @@ public class PlayerLogic {
return null;
}
}
if (userStr == null) {
if (userStr == null || userStr.isEmpty()) {
LOGGER.error("getUserByRpc userStr == null uid={}", uid);
return null;
}
Gson gson = RedisUtil.getInstence().getGson();