Просмотр исходного кода

增加是否过滤一分钟判断

chenshibin 4 лет назад
Родитель
Сommit
1556e9fcc4
1 измененных файлов с 4 добавлено и 0 удалено
  1. 4 0
      Controller/DetectControllerV2.py

+ 4 - 0
Controller/DetectControllerV2.py

@@ -260,6 +260,10 @@ class NotificationView(View):
             logger.info(detect_med_type)
             push_server_status = 0
             #推送
+
+            if is_filter == 0:
+                detect_med_type = 2
+
             if detect_med_type == 2 or detect_med_type == 0:
                 if push_type == 0:  # ios apns
                     print('do_apns')