소스 검색

一键通话不限流

peng 2 년 전
부모
커밋
bdbfa2c7fb
1개의 변경된 파일5개의 추가작업 그리고 4개의 파일을 삭제
  1. 5 4
      Controller/DetectControllerV2.py

+ 5 - 4
Controller/DetectControllerV2.py

@@ -102,10 +102,11 @@ class NotificationV2View(View):
             nickname = uid if not nickname else nickname
             # APP消息提醒推送间隔
             detect_interval = uid_set_push_list[0]['uid_set__detect_interval']
-            if not cache_app_push:
-                # 缓存APP提醒推送间隔 默认1分钟提醒一次
-                DevicePushService.cache_push_detect_interval(redisObj, push_interval, detect_interval,
-                                                             uid_set_push_list[0]['uid_set__new_detect_interval'])
+            if event_type != '606':
+                if not cache_app_push:
+                    # 缓存APP提醒推送间隔 默认1分钟提醒一次
+                    DevicePushService.cache_push_detect_interval(redisObj, push_interval, detect_interval,
+                                                                 uid_set_push_list[0]['uid_set__new_detect_interval'])
             bucket = ''
             aws_s3_client = ''
             if is_st == 1 or is_st == 3:  # 使用aws s3