Explorar o código

用户不接收云存订阅邮件

locky hai 1 ano
pai
achega
021302aa1d
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      Controller/CloudStorage.py

+ 4 - 0
Controller/CloudStorage.py

@@ -2282,6 +2282,10 @@ class CloudStorageView(View):
                            'updTime': now_time, 'uid': uid, 'eventType': 0}
             SysMsgModel.objects.create(**create_data)
 
+            # 不接收邮件用户
+            if user_id == '167015836969813800138000':
+                return
+
             user_qs = Device_User.objects.filter(userID=user_id)
             if user_qs.exists():
                 user = user_qs.first()