feat:新增分层成就系统与达成通知 - #40
Merged
Merged
Conversation
added 30 commits
July 31, 2026 15:32
added 27 commits
August 4, 2026 13:43
There was a problem hiding this comment.
One issue found in the avatar replacement flow.
Findings without inline locations
backend/unispeaking-server/src/main/java/com/unispeaking/service/profile/impl/ProfileAccountServiceImpl.java:69: IfsignAvatar()returnsnullhere, the method has already updated the DB row and will delete the previous object. The frontend then stores anullavatar URL, so a transient signing failure blanks the user's avatar even though the new object was uploaded successfully. Consider keeping the old object/URL until signing succeeds, or failing the update instead of returningnull.
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.
背景
完善用户成长体系,将原有静态成就展示升级为基于真实学习数据计算、持久化和解锁的分层成就系统,并优化成就页面及达成通知体验。
主要改动
后端成就系统
数据库
user_achievement_stateuser_achievement_unlock成就达成通知
成就页面
文档
数据库迁移说明
启动后端时 Flyway 会自动执行: