|
@@ -132,8 +132,7 @@ class NotificationV2View(View):
|
|
|
kwargs=params)
|
|
|
push_thread.start()
|
|
|
|
|
|
- params['aws_s3_client'] = aws_s3_client
|
|
|
-
|
|
|
+ # 获取S3对象上传链接
|
|
|
kwargs = {
|
|
|
'is_st': is_st,
|
|
|
'uid': uid,
|
|
@@ -142,7 +141,7 @@ class NotificationV2View(View):
|
|
|
'region': region,
|
|
|
'aws_s3_client': aws_s3_client
|
|
|
}
|
|
|
- result_dict = DevicePushService.get_push_url(**kwargs) # 获取S3对象上传链接
|
|
|
+ result_dict = DevicePushService.get_push_url(**kwargs)
|
|
|
|
|
|
TIME_LOGGER.info('推送响应,uid:{},n_time:{},事件类型:{},响应:{}'.format(
|
|
|
uid, n_time, event_type, json.dumps(result_dict)))
|