记得上下班打卡 | git大法好,push需谨慎

Commit 6b10e1b2 authored by 张国柄's avatar 张国柄

+NFT商品上架,刷新NFT列表缓存逻辑;

parent 4c486f50
...@@ -991,6 +991,7 @@ public class GoblinStoreMgtGoodsServiceImpl implements IGoblinstoreMgtGoodsServi ...@@ -991,6 +991,7 @@ public class GoblinStoreMgtGoodsServiceImpl implements IGoblinstoreMgtGoodsServi
mgtGoodsInfoVo.setShelvesStatus("3"); mgtGoodsInfoVo.setShelvesStatus("3");
mgtGoodsInfoVo.setShelvesAt(now); mgtGoodsInfoVo.setShelvesAt(now);
} }
goblinRedisUtils.delGoblinNftGoodsInfoListVo();// NFT商品列表刷新
} }
log.info("藏品管理:SKU添加[UID={},PARAMS={}]", uid, JsonUtils.toJson(initGoodsSkuInfoVo)); log.info("藏品管理:SKU添加[UID={},PARAMS={}]", uid, JsonUtils.toJson(initGoodsSkuInfoVo));
goblinMongoUtils.updateGoodsInfoVo(mgtGoodsInfoVo); goblinMongoUtils.updateGoodsInfoVo(mgtGoodsInfoVo);
......
...@@ -90,6 +90,7 @@ public class PlatformGoblinGoodsSkuService extends ServiceImpl<GoblinGoodsSkuMap ...@@ -90,6 +90,7 @@ public class PlatformGoblinGoodsSkuService extends ServiceImpl<GoblinGoodsSkuMap
redisGoblinUtil.del(GoblinRedisConst.BASIC_GOODS.concat(spuId)); redisGoblinUtil.del(GoblinRedisConst.BASIC_GOODS.concat(spuId));
// redisGoblinUtil.del(GoblinRedisConst.BASIC_GOODS_UNSHELVES.concat(spuId)); // redisGoblinUtil.del(GoblinRedisConst.BASIC_GOODS_UNSHELVES.concat(spuId));
}); });
redisGoblinUtil.del(GoblinRedisConst.REDIS_GOBLIN_NFT_GOODS_LIST);// NFT商品列表刷新
return; return;
} else { } else {
mongoTemplate.getCollection(GoblinGoodsSkuInfoVo.class.getSimpleName()).updateMany( mongoTemplate.getCollection(GoblinGoodsSkuInfoVo.class.getSimpleName()).updateMany(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment