fix: 修复后端代码违规并更新协议文档
- 修复 notifications 模块 datetime.now() 缺少时区问题 - 用 ApiProblemError 替换 BaseService 中的 HTTPException - 更新协议文档:添加错误码、繁体字段、邀请相关协议 - 升级 Docker 镜像版本
This commit is contained in:
@@ -109,6 +109,11 @@ Request:
|
||||
"notification": {
|
||||
"allow_notifications": true,
|
||||
"allow_vibration": true
|
||||
},
|
||||
"divination_tutorial": {
|
||||
"divination_entry_shown": false,
|
||||
"auto_divination_shown": false,
|
||||
"manual_divination_shown": false
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -118,6 +123,7 @@ Rules:
|
||||
|
||||
- `settings` must conform to `ProfileSettingsV1`.
|
||||
- Additional fields are forbidden.
|
||||
- `divination_tutorial` tracks user's tutorial completion state for divination flows.
|
||||
|
||||
Response:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user