修复获取店铺分类缓存key错误问题
This commit is contained in:
@@ -66,7 +66,7 @@ public class StoreGoodsLabelServiceImpl extends ServiceImpl<StoreGoodsLabelMappe
|
|||||||
storeGoodsLabelVOList.sort(Comparator.comparing(StoreGoodsLabelVO::getSortOrder));
|
storeGoodsLabelVOList.sort(Comparator.comparing(StoreGoodsLabelVO::getSortOrder));
|
||||||
|
|
||||||
if (!storeGoodsLabelVOList.isEmpty()) {
|
if (!storeGoodsLabelVOList.isEmpty()) {
|
||||||
cache.put(CachePrefix.CATEGORY.getPrefix() + storeId + "tree", storeGoodsLabelVOList);
|
cache.put(CachePrefix.CATEGORY.getPrefix() + storeId, storeGoodsLabelVOList);
|
||||||
}
|
}
|
||||||
return storeGoodsLabelVOList;
|
return storeGoodsLabelVOList;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user