更新API响应结构,添加用户登出和会话删除功能

- 在ApiResponse类中添加conflict方法以处理冲突响应
- 在UserController中实现用户登出功能,返回标准化的API响应
- 在ChatController中实现会话删除功能,返回相应的成功或错误信息
- 更新ErrorCode类,添加CONFLICT错误码以支持新的响应类型
- 修改OpenApiConfig中的API文档标题和描述

此提交增强了用户体验,提供了更清晰的错误处理和API文档。
This commit is contained in:
zyh
2025-07-21 14:07:01 +08:00
parent 8962943123
commit eb5c54e4a7
20 changed files with 1337 additions and 698 deletions

View File

@@ -119,6 +119,9 @@
<artifactId>lombok</artifactId>
<scope>provided</scope>
</dependency>
</dependencies>
<build>