tanghongbin 5 жил өмнө
parent
commit
8c7830ceae

+ 1 - 1
Controller/DetectController.py

@@ -131,7 +131,7 @@ class NotificationView(View):
             else:
                 detect_med_type = 2  # 为2的话,既推送,又存库
                 # detect_group=0允许全部推送的时候
-                if detect_group == '0':
+                if detect_group == '0'or detect_group == '':
                     redisObj.set_data(key=dkey, val=1, expire=detect_interval)
                 else:
                     detect_group_list = detect_group.split(',')