福袋上新-修复cacheList为空的情况
This commit is contained in:
@@ -106,7 +106,7 @@ public class LuckyBagRankService implements InitializingBean {
|
||||
vo.setGiftId(record.getGiftId());
|
||||
vo.setGiftNum(record.getGiftNum());
|
||||
vo.setGiftName(record.getGiftName());
|
||||
vo.setGoldPrice(record.getPlatformValue().longValue());
|
||||
vo.setGoldPrice(record.getPlatformValue());
|
||||
|
||||
Gift gift = giftMap.get(record.getGiftId());
|
||||
if (null != gift){
|
||||
@@ -118,7 +118,7 @@ public class LuckyBagRankService implements InitializingBean {
|
||||
voList.add(vo);
|
||||
}
|
||||
|
||||
rankCacheMap.fastPut(giftId, cacheList, 3, TimeUnit.SECONDS);
|
||||
rankCacheMap.fastPut(giftId, voList, 3, TimeUnit.SECONDS);
|
||||
|
||||
return voList;
|
||||
}
|
||||
|
Reference in New Issue
Block a user