style(auth):优化auth模块代码规范和测试覆盖

范围:src/business/auth/
- 统一命名规范和注释格式
- 完善文件头部注释和修改记录
- 分离登录和注册业务逻辑到独立服务
- 添加缺失的测试文件(JWT守卫、控制器测试)
- 清理未使用的测试文件
- 优化代码结构和依赖关系
This commit is contained in:
moyin
2026-01-12 18:04:33 +08:00
parent 16ae78ed12
commit 267f1b2263
14 changed files with 1908 additions and 1739 deletions

View File

@@ -28,9 +28,11 @@ export * from './auth.module';
// 控制器
export * from './login.controller';
export * from './register.controller';
// 服务
export * from './login.service';
export * from './register.service';
// DTO
export * from './login.dto';