Ver Fonte

增加是否过滤一分钟判断

chenshibin há 4 anos atrás
pai
commit
1556e9fcc4
1 ficheiros alterados com 4 adições e 0 exclusões
  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')