소스 검색

增加是否过滤一分钟判断

chenshibin 4 년 전
부모
커밋
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')