refactor(config): 更新配置文件中的包扫描路径和数据权限处理器

- 将 application-dev.yml 中的包扫描路径从 platform 子包调整为直接子包
- 将 application-prod.yml 中的包扫描路径从 platform 子包调整为直接子包
- 在 MyDataPermissionHandler 中优化了对 SysUserDetails 的引用方式
- 统一了代码中包路径的命名规范,移除了冗余的 platform 层级
This commit is contained in:
theo
2026-03-12 17:10:46 +08:00
parent f311b88f31
commit 6438c1ec2f
3 changed files with 6 additions and 5 deletions

View File

@@ -156,8 +156,8 @@ springdoc:
packages-to-scan: # 扫描的 Controller 包,限制只生成指定包的接口文档
- com.youlai.boot.auth.controller
- com.youlai.boot.system.controller
- com.youlai.boot.platform.file.controller
- com.youlai.boot.platform.codegen.controller
- com.youlai.boot.file.controller
- com.youlai.boot.tool.codegen.controller
default-flat-param-object: true # 将对象参数扁平化显示在文档中
# knife4j 配置