refactor: 重构 schemas 结构,统一枚举定义
This commit is contained in:
@@ -49,6 +49,8 @@ Base URL: `/api/v1/friends`
|
||||
}
|
||||
```
|
||||
|
||||
说明:`status` 对外返回的值包括 `pending`、`accepted`、`rejected`、`canceled`。内部实现中还有 `blocked` 和 `declined` 状态,在返回给客户端时会映射为 `rejected` 或 `canceled`。
|
||||
|
||||
### FriendResponse
|
||||
|
||||
```json
|
||||
|
||||
Reference in New Issue
Block a user