修复用户信息返回缺少id和username字段

This commit is contained in:
甲辰生产 2026-04-02 10:35:15 +08:00
parent 35f576a38e
commit 9af4d5f9b1
1 changed files with 2 additions and 0 deletions

View File

@ -17,6 +17,8 @@ def get_current_user_info(
):
"""获取当前登录用户信息"""
return {
"id": current_user.f99_90_id,
"username": current_user.f01_01_name,
"f99_90_id": current_user.f99_90_id,
"f01_01_name": current_user.f01_01_name,
"email": current_user.email,