浏览代码

壁纸下载 修改params参数

linhaohong 1 年之前
父节点
当前提交
63ad5673a9
共有 1 个文件被更改,包括 0 次插入1 次删除
  1. 0 1
      Controller/UserDevice/UserDeviceShareController.py

+ 0 - 1
Controller/UserDevice/UserDeviceShareController.py

@@ -258,7 +258,6 @@ class UserDeviceShareView(View):
                     params = {
                         'Key': obj_key,
                         'Bucket': 'ansjerfilemanager',
-                        'ResponseContentDisposition': 'attachment'
                     }
                     response_url = s3.generate_presigned_url(
                         'get_object', Params=params, ExpiresIn=3600)