按照项目 Java 后端规范对 leai 模块进行全面重构: - 新增 ILeaiWebhookEventService/ILeaiSyncService 接口,遵循 IService 模式 - Controller 层通过 Service 接口调用,不再直接注入 Mapper - 新增 LeaiTokenVO/LeaiAuthRedirectDTO,替代 Map<String,String> 入参出参 - RuntimeException 替换为 BusinessException - 添加 @Tag/@Operation Swagger 注解 - 提取共享工具类 LeaiUtil,消除 4 处重复的 toInt/toString 方法 - LeaiWebhookEvent 实体添加 @Schema 注解 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src/main | ||
| .gitignore | ||
| pom.xml | ||