master:app访问商品详情及档口详情增加白名单;

pull/1121/head
liujiang 2025-11-28 14:40:18 +08:00
parent 2e9b5ec24b
commit 1533d4d277
2 changed files with 4 additions and 1 deletions

View File

@ -110,7 +110,6 @@ public class StoreController extends XktBaseController {
return R.ok(BeanUtil.toBean(storeService.getApproveInfo(storeId), StoreApproveResVO.class));
}
@PreAuthorize("@ss.hasAnyRoles('admin,general_admin,store,seller,agent')||@ss.hasSupplierSubRole()")
@ApiOperation(value = "APP获取档口基本信息", httpMethod = "GET", response = R.class)
@GetMapping(value = "/app/{storeId}")
public R<StoreAppResVO> getAppInfo(@PathVariable("storeId") Long storeId) {

View File

@ -147,6 +147,10 @@ public class SecurityConfig
.antMatchers("/rest/v1/prods/status/cate/num/**").permitAll()
// PC 商品详情
.antMatchers("/rest/v1/prods/pc/detail/**").permitAll()
// APP 商品详情
.antMatchers("/rest/v1/prods/app/detail/**").permitAll()
// APP 档口详情
.antMatchers("/rest/v1/stores/app/**").permitAll()
// 获取字段类型
.antMatchers("/rest/v1/sys/dict/data/type/**").permitAll()
// 健康检查