Эх сурвалжийг харах

壁纸下载 修改params参数

linhaohong 1 жил өмнө
parent
commit
63ad5673a9

+ 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)