You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

4 lines
502 B

1 month ago
- service 层采用接口 + impl 分离模式,对外暴露 I*Service 接口,实现类放在 impl 子包
- domain 层按 entity/dto/param/enums 四个子包组织,实体与传输对象严格分离
- 安全相关逻辑集中在 security 包,通过 Filter、Interceptor、ExceptionHandler 三类组件分别处理请求过滤、数据范围注入与异常转换
- 第三方登录通过 client 子包下的 XxxAuthClient + Factory 模式扩展,新增平台仅需实现 ThirdPartyAuthClient 接口