Explorar o código

增加是否过滤一分钟判断

chenshibin %!s(int64=4) %!d(string=hai) anos
pai
achega
1556e9fcc4
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  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')