|
@@ -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(',')
|