|
@@ -108,7 +108,7 @@ class NotificationV2View(View):
|
|
|
|
|
|
bucket = ''
|
|
|
aws_s3_client = ''
|
|
|
- if is_st == 1 or is_st == 3: # 使用aws s3
|
|
|
+ if event_type != 607 and is_st == 1 or is_st == 3: # 使用aws s3
|
|
|
aws_s3_client = DevicePushService.get_s3_client(region=region)
|
|
|
bucket = 'foreignpush' if region == 1 else 'push'
|
|
|
|
|
@@ -132,6 +132,10 @@ class NotificationV2View(View):
|
|
|
kwargs=params)
|
|
|
push_thread.start()
|
|
|
|
|
|
+ # 视频通话不返回图片链接
|
|
|
+ if event_type == 607:
|
|
|
+ return JsonResponse(status=200, data={'code': 0, 'msg': 'success'})
|
|
|
+
|
|
|
# 获取S3对象上传链接
|
|
|
kwargs = {
|
|
|
'is_st': is_st,
|