瀏覽代碼

修改移动侦测推送限制

peng 2 年之前
父節點
當前提交
eba3403d6a
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Controller/DetectControllerV2.py

+ 2 - 0
Controller/DetectControllerV2.py

@@ -108,6 +108,8 @@ class NotificationV2View(View):
                     # 缓存APP提醒推送间隔 默认1分钟提醒一次
                     DevicePushService.cache_push_detect_interval(redisObj, push_interval, detect_interval,
                                                                  uid_set_push_list[0]['uid_set__new_detect_interval'])
+            else:
+                cache_app_push = ''
             bucket = ''
             aws_s3_client = ''
             if is_st == 1 or is_st == 3:  # 使用aws s3