Browse Source

增加是否过滤一分钟判断

chenshibin 4 năm trước cách đây
mục cha
commit
1556e9fcc4
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  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')