修正了 property 直接取值的问题

This commit is contained in:
2026-06-18 02:49:04 +08:00
parent 7ce545fedb
commit f80ce51859
5 changed files with 27 additions and 22 deletions

View File

@@ -5949,7 +5949,7 @@ class ZuzhangFenhongView(APIView):
users = User.query.filter(UserUID__in=guanshi_ids).select_related(
'boss_profile'
).only(
'yonghuid', 'avatar',
'UserUID', 'Avatar',
'boss_profile__nickname'
)