Эх сурвалжийг харах

产品体验馆隐藏手机号码

zhangdongming 1 жил өмнө
parent
commit
237f537622

+ 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