Browse Source

产品体验馆隐藏手机号码

zhangdongming 1 year ago
parent
commit
237f537622
1 changed files with 1 additions and 0 deletions
  1. 1 0
      AdminController/EvaluationActivityController.py

+ 1 - 0
AdminController/EvaluationActivityController.py

@@ -89,6 +89,7 @@ class EvaluationActivityView(View):
                                 item['user_icon'] = ''
                         else:
                             item['user_icon'] = ''
+                        item['phone'] = item['phone'][:3] + "****" + item['phone'][7:]
                     activity['activity_user'] = list(user_qs)
                 else:
                     activity['activity_status'] = 1