查询店铺详情实现中管理端操作是从缓存取得,状态更新后未及时清空缓存,导致详情信息不是最新的
Signed-off-by: zhaoyang0415 <944381517@qq.com>
This commit is contained in:
parent
226d66c22e
commit
123388d059
@ -63,6 +63,7 @@ public class StoreManagerController {
|
||||
@ApiImplicitParam(name = "storeId", value = "店铺ID", required = true, paramType = "path", dataType = "String")
|
||||
@GetMapping(value = "/get/detail/{storeId}")
|
||||
public ResultMessage<StoreDetailVO> detail(@PathVariable String storeId) {
|
||||
// todo 对于刚提交审核的信息需要等待缓存失效后才能操作,否则缓存信息还在
|
||||
return ResultUtil.data(storeDetailService.getStoreDetailVO(storeId));
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user