完善移动端个人中心与评分流程,补全雅思学习时长统计 - #90
Merged
yydounai1234 merged 4 commits intoAug 14, 2026
Merged
Conversation
There was a problem hiding this comment.
本次改动中的后端帮助中心、IELTS 周统计、录音释放与专项评分链路整体契约一致;后端定向测试、移动端相关测试及 TypeScript 检查均通过。头像选择流程仍存在一个会阻断部分合法图片上传的兼容性问题,已在对应代码处标注。
Additional findings
frontend/mobile/src/screens/ProfileScreen.tsx:196: [P2] 允许 MIME 类型缺失的合法头像: 这里把缺失的asset.mimeType转为空字符串并直接拒绝,但当前使用的expo-image-picker57.0.9 将ImagePickerAsset.mimeType定义为可选,并明确表示无法判断时可能为空。因此图库返回合法 JPEG/PNG、但没有 MIME 元数据时,用户会稳定收到“请选择 JPEG 或 PNG 图片”且无法上传头像。请在 MIME 缺失时根据fileName/URI 扩展名推断,或允许提交后由服务端校验文件内容。
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #89
改动内容
验证