Commit Graph

11 Commits

Author SHA1 Message Date
yahaozhang
5e34e15809 Merge remote-tracking branch 'origin/master' 2025-07-28 13:34:09 +08:00
yahaozhang
a1b0d4e807 交接文档 2025-07-28 13:31:52 +08:00
zyh
f4b54e7dc0 更新pom.xml以添加reactor-netty-http依赖,修改ChatApplication以启用LlmApiProperties配置,优化ChatServiceImpl以处理LLM服务的JSON响应,添加内容提取和清理方法,更新application.yml以配置LLM服务的基本URL和日志级别。 2025-07-21 16:16:52 +08:00
zyh
eb5c54e4a7 更新API响应结构,添加用户登出和会话删除功能
- 在ApiResponse类中添加conflict方法以处理冲突响应
- 在UserController中实现用户登出功能,返回标准化的API响应
- 在ChatController中实现会话删除功能,返回相应的成功或错误信息
- 更新ErrorCode类,添加CONFLICT错误码以支持新的响应类型
- 修改OpenApiConfig中的API文档标题和描述

此提交增强了用户体验,提供了更清晰的错误处理和API文档。
2025-07-21 14:07:01 +08:00
yahaozhang
8962943123 聊天 2025-07-20 16:55:23 +08:00
yahaozhang
36c5d7f760 fix UserType enum mapping and implement unified API response
- Fix UserType enum mapping issue by adding fromValue method and custom type handler
- Create unified API response structure with ErrorCode constants
- Update AuthController to use standardized response format with proper error codes
- Add verification code authentication system replacing password-based auth
- Improve Swagger documentation with detailed API annotations

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-07-20 14:45:43 +08:00
yahaozhang
479f671edc swagger 2025-07-20 14:27:23 +08:00
yahaozhang
b07acbd5e5 可以运行 2025-07-20 14:03:12 +08:00
zyh
445e448d55 refactor application configuration and update user model with new fields 2025-07-18 18:12:21 +08:00
zyh
0a76239544 update database connection details in application.yml 2025-07-18 18:00:56 +08:00
zyh
9c6c3e091f first commit 2025-07-18 17:58:07 +08:00