fix: 审核商铺后删除缓存
This commit is contained in:
parent
4c03676a3e
commit
f8ff163aee
@ -227,7 +227,7 @@ public class StoreServiceImpl extends ServiceImpl<StoreMapper, Store> implements
|
|||||||
} else {
|
} else {
|
||||||
store.setStoreDisable(StoreStatusEnum.REFUSED.value());
|
store.setStoreDisable(StoreStatusEnum.REFUSED.value());
|
||||||
}
|
}
|
||||||
|
cache.remove(CachePrefix.STORE.getPrefix()+store.getId());
|
||||||
return this.updateById(store);
|
return this.updateById(store);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user