master:图搜热款报错修复;

pull/1121/head
liujiang 2025-11-22 13:36:34 +08:00
parent 3ee7a420d8
commit 0386d78377
1 changed files with 3 additions and 0 deletions

View File

@ -120,6 +120,9 @@ public class PictureSearchServiceImpl implements IPictureSearchService {
// 重新缓存数据到redis
picSearchHotList = this.cacheImgSearchTopProduct();
}
if (CollectionUtils.isEmpty(picSearchHotList)) {
return Collections.emptyList();
}
picSearchHotList.forEach(x -> {
// 查询档口会员等级
StoreMember member = this.redisCache.getCacheObject(CacheConstants.STORE_MEMBER + x.getStoreId());