JeecgBoot/jeecg-boot/jeecg-server-cloud
zhangdaiscott 1ccce9d6aa fix(security): 单体模式不再对外暴露微服务内部接口,网关拦截外部访问
- SystemApiController(/sys/api)、AiragBaseApiController(/airag/api)只在微服务模式(存在 jeecg-boot-starter-cloud)加载
- 新增 InnerApiGuardInterceptor/InnerApiGuardConfiguration:单体模式按匹配到的接口路径模板拦截 /sys/api、/airag/api、/online/api、/drag/api,放行前端字典 /online/api/cgreportGetDataPackage
- 网关新增 InnerApiBlockFilter:外部经网关访问上述内部接口返回 403;Feign 按服务名直连不经网关,不受影响

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-14 09:30:11 -04:00
..
2026-08-26 10:36:16 +08:00