Forráskód Böngészése

修改移动侦测推送限制

peng 2 éve
szülő
commit
eba3403d6a
1 módosított fájl, 2 hozzáadás és 0 törlés
  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