master:商城首页库存查询;

pull/1121/head
liujiang 2025-09-18 22:54:18 +08:00
parent 0f71ac509e
commit 1c0c9d040d
2 changed files with 1 additions and 3 deletions

View File

@ -52,7 +52,7 @@ public class StoreProductStockController extends XktBaseController {
return R.ok(storeProdStockService.selectPage(BeanUtil.toBean(pageVO, StoreProdStockPageDTO.class)));
}
@PreAuthorize("@ss.hasAnyRoles('admin,general_admin,store')||@ss.hasSupplierSubRole()")
@PreAuthorize("@ss.hasAnyRoles('admin,general_admin,seller,agent')")
@ApiOperation(value = "商城首页库存查询", httpMethod = "POST", response = R.class)
@PostMapping("/website/page")
public R<Page<StoreProdStockWebsitePageResDTO>> selectWebsitePage(@Validated @RequestBody StoreProdWebsiteStockPageVO websitePageVO) {

View File

@ -142,8 +142,6 @@ public class SecurityConfig
.antMatchers("/rest/v1/prods/status/cate/num/**").permitAll()
// PC 商品详情
.antMatchers("/rest/v1/prods/pc/detail/**").permitAll()
// 商城首页库存查询
.antMatchers("/rest/v1/prod-stocks/website/**").permitAll()