Commit Graph

5 Commits

Author SHA1 Message Date
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
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
9c6c3e091f first commit 2025-07-18 17:58:07 +08:00