修复获取店铺分类缓存key错误问题
This commit is contained in:
parent
b1291d3c43
commit
9d170ecc30
@ -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;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user