feat: 添加独立登录认证功能

- 添加LoginController处理登录/登出请求
- 添加AuthService实现用户名密码认证和Token管理
- 添加LoginRequest/LoginResponse DTO
- 修复RoleRepository JPA查询问题
- 完善ApprovalTimeoutJob实现
This commit is contained in:
Your Name
2026-03-06 22:16:07 +08:00
parent b0de064a0b
commit f1ff3d629f
8 changed files with 386 additions and 16 deletions

View File

@@ -34,7 +34,12 @@
"Bash(mvn compile -q 2>&1 | tail -5 && npm run build 2>&1 | tail -5)",
"mcp__serena__get_symbols_overview",
"Bash(npm run build 2>&1 | tail -20)",
"Bash(npm test -- --run 2>&1 | tail -30)"
"Bash(npm test -- --run 2>&1 | tail -30)",
"Bash(curl -s http://localhost:3000 2>&1 | head -5)",
"Bash(curl -s -o /dev/null -w \"%{http_code}\" http://localhost:3000 || echo \"Gitea not accessible\")",
"Bash(cd /home/long/project/蚊子/frontend/admin && npm run test:unit 2>&1 | tail -30)",
"Bash(npm run 2>&1)",
"Bash(git add -A && git commit -m \"feat: 添加独立登录认证功能\n\n- 添加LoginController处理登录/登出请求\n- 添加AuthService实现用户名密码认证和Token管理\n- 添加LoginRequest/LoginResponse DTO\n- 修复RoleRepository JPA查询问题\n- 完善ApprovalTimeoutJob实现\")"
],
"deny": []
},