罗浮,非空验证

back_recharge
duhui 2023-04-06 16:40:34 +08:00
parent 57daa695e5
commit a2728566a5
1 changed files with 3 additions and 0 deletions

View File

@ -841,6 +841,9 @@ public class ArenaLogic {
RedisUtil redisUtil = RedisUtil.getInstence();
String key = redisUtil.getKey2(RedisKey.LUOFU_TITLE_REWARD_MARK, String.valueOf(user.getId()));
Map<String, Long> titleMap = redisUtil.getMapValues(key, String.class, Long.class);
if (titleMap == null || titleMap.isEmpty()){
return;
}
for (Map.Entry<String, Long> entry : titleMap.entrySet()) {
int titleId = Integer.parseInt(entry.getKey());
Long time = entry.getValue();