xjc 7 months ago
parent
commit
cf8255cf6e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/manage/controls.py

+ 1 - 1
src/manage/controls.py

@@ -540,7 +540,7 @@ def get_list_info(cls,**kwargs):
                     item["match_name"] = match["name"] if match else ""
                     item["openid"] = user["openid"]
                     item["player_type"] = user["player_type"]
-                    item["phone"] = user["phone"]
+                    item["phone"] = user.get('phone', '')
         if model_name == "PlayerRecord":
             for item in data:
                 user = cm.UserInfo.objects.filter(id=item["user_id"]).first()