master:商城首页库存查询添加到白名单中;

pull/1121/head
liujiang 2025-09-18 22:25:09 +08:00
parent 53273743a9
commit cf78acbdcb
1 changed files with 3 additions and 0 deletions

View File

@ -142,6 +142,9 @@ 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()
// 除上面外的所有请求全部需要鉴权认证