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

Commit e6c1a209 authored by 张国柄's avatar 张国柄

~API:删除店铺+删除REDIS店铺配置;

parent 52669590
......@@ -149,7 +149,7 @@ public class GoblinStoreMgtCertificationServiceImpl implements IGoblinStoreMgtCe
if (goblinMongoUtils.delStoreInfoVo(storeId, uid, now)) {
goblinRedisUtils.delStoreId(CurrentUtil.getCurrentUid(), storeId);
goblinRedisUtils.delStoreInfoVo(storeId);
// TODO: 2022/1/13 zhanggb redis.config.store
goblinRedisUtils.delStoreConfigVos(storeId);
List<String> delSpuIdList = goblinMongoUtils.delGoodsInfoVoByStoreId(storeId, uid, now);
delSpuIdList.forEach(spuId -> goblinRedisUtils.delGoodsInfoVo(spuId));
......
......@@ -107,6 +107,9 @@ public class GoblinRedisUtils {
}
return vos;
}
public void delStoreConfigVos(String storeId) {
redisUtil.del(GoblinRedisConst.BASIC_STORE_CONF.concat(storeId));
}
/* ---------------------------------------- 店铺数据源 ---------------------------------------- */
......
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