fix: 审核商铺后删除缓存

This commit is contained in:
chc 2023-04-13 15:04:32 +08:00
parent 4c03676a3e
commit f8ff163aee

View File

@ -227,7 +227,7 @@ public class StoreServiceImpl extends ServiceImpl<StoreMapper, Store> implements
} else {
store.setStoreDisable(StoreStatusEnum.REFUSED.value());
}
cache.remove(CachePrefix.STORE.getPrefix()+store.getId());
return this.updateById(store);
}