|
|
@@ -262,7 +262,7 @@ public class UploadSceneListener {
|
|
|
.map(v-> v.getString("icon"))
|
|
|
.collect(Collectors.toSet());
|
|
|
if(!icons.isEmpty()){
|
|
|
- redisUtil.sSet(String.format(RedisKey.SCENE_HOT_ICONS, num), icons);
|
|
|
+ redisUtil.sSet(String.format(RedisKey.SCENE_HOT_ICONS, num), icons.toArray());
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
@@ -312,7 +312,7 @@ public class UploadSceneListener {
|
|
|
return iconObj.toJSONString();
|
|
|
}).collect(Collectors.toList());
|
|
|
if(CollUtil.isNotEmpty(sytlelist)){
|
|
|
- redisUtil.sSet(String.format(RedisKey.SCENE_BILLBOARDS_STYLES, num), new HashSet<>(sytlelist));
|
|
|
+ redisUtil.sSet(String.format(RedisKey.SCENE_BILLBOARDS_STYLES, num), new HashSet<>(sytlelist).toArray());
|
|
|
}
|
|
|
}
|
|
|
|