11 Commits

Author SHA1 Message Date
张翔 f853cb73b5 fix(flyway): 修复Flyway初始化问题并完善测试覆盖
- 修复数据库连接配置,确保Flyway迁移正常执行
- 完善Repository接口的查询方法,支持审计日志和操作日志查询
- 增强Service层业务逻辑,优化用户、角色、菜单等核心功能
- 补充单元测试和集成测试,确保系统稳定性
- 添加测试数据初始化脚本,支持自动化测试环境搭建

关联任务:Flyway数据库迁移优化
2026-04-24 15:01:59 +08:00
张翔 d2cef85187 docs: add test report and database reset scripts
- Add comprehensive test report (TEST_REPORT.md)
- Add database reset scripts for testing
- Update .gitignore to exclude temporary files
- Add frontend e2e test utilities and configuration
2026-04-23 16:36:12 +08:00
张翔 0d0b4decc3 test(e2e): update e2e tests and auth tokens
- Update E2E test files with latest authentication tokens
- Improve test stability and error handling
- Update pytest configuration
- Enhance gateway direct test with settings integration
2026-04-23 16:35:57 +08:00
张翔 f590c40c21 refactor(frontend): update test config and optimize components
- Update vitest config to use new test directory structure
- Optimize Dashboard, RoleManagement, UserManagement components
- Improve signature utility with better error handling
- Enhance component error handling and user feedback
2026-04-23 16:35:34 +08:00
张翔 ae9be86527 refactor(test): reorganize test directory structure
- Move test files from src/test/ to src/__tests__/
- Follow Vitest convention for test directory naming
- Improve test organization and discoverability
2026-04-23 16:34:03 +08:00
张翔 e8e1e089fb chore(config): 清理配置和更新依赖
- 删除未使用的 CacheConfig.java
- 更新 pom.xml 依赖版本
- 优化应用配置文件
- 更新前端配置管理页面
- 更新 package-lock.json
2026-04-18 13:07:03 +08:00
张翔 a2bb6be0b9 refactor(user): 调整用户 ID 类型和添加 phone 字段
- 前端用户 ID 类型从 number 改为 string,与后端保持一致
- 后端用户服务添加 phone 字段处理
- 更新权限相关代码以适配新的 ID 类型
- E2E 测试中添加 phone 字段
2026-04-18 13:05:20 +08:00
张翔 f1c7c8702f fix: 修复 RoleManagement.vue 中的参数名称错误并安装 terser 依赖
- 将 name 参数改为 roleName,匹配 RolePageRequest 类型定义
- 安装 terser 依赖以支持 Vite 生产构建
2026-04-17 19:08:09 +08:00
张翔 958fc73c15 fix: 修复前端 TypeScript 类型错误并移除 docker-compose.yml 中的 version 属性
- 移除 docker-compose.yml 中的 version 属性(已过时)
- 修复 RouteLocationNormalized 类型导入错误
- 修复 AxiosRequestConfig 类型错误,使用 InternalAxiosRequestConfig
- 添加 Vite 环境变量类型定义
- 扩展 axios 类型定义,正确处理响应拦截器返回的 data
- 修复 signature.ts 中未使用的 body 参数 bug
- 移除 UserManagement.vue 中未使用的 StatusHelper 导入
2026-04-17 19:05:55 +08:00
张翔 b48ae84344 refactor(tests): 迁移 E2E 测试到独立的 e2e-tests 目录 2026-04-17 18:39:20 +08:00
张翔 45bb89fc7f refactor(frontend): 重命名前端项目为 gym-manage-web 2026-04-17 18:37:45 +08:00