1、修改左上角背景图颜色修改

2、左下角文字变大
3、默认账户名字修改
4、右下角联系我们修改位置跟可以移动
This commit is contained in:
2026-06-29 18:12:48 +08:00
parent f61e5035ff
commit 13970941d5
6 changed files with 122 additions and 61 deletions
+1
View File
@@ -253,6 +253,7 @@ async def get_me(
current_user: User = Depends(get_current_user_allow_password_pending),
db: AsyncSession = Depends(get_db),
):
current_user.username = "用户"+current_user.username[-4:] if current_user.username == current_user.phone else current_user.username
current_user.credits = round(current_user.credits, 2)
resource_capacity = await get_user_resource_capacity_usage(db, current_user.id)
return UserOut.model_validate(current_user).model_copy(