完善牧安云哨-后端
This commit is contained in:
@@ -22,7 +22,7 @@ def push_file(bucket_name, object_name, file_bytes, contents, content_type):
|
||||
)
|
||||
|
||||
|
||||
def get_upload_token(user_id, bucket_name, object_name, xpires=timedelta(minutes=15)):
|
||||
def get_upload_token(bucket_name, object_name, xpires=timedelta(minutes=15)):
|
||||
return minio_client.presigned_put_object(
|
||||
bucket_name=bucket_name, object_name=object_name, expires=xpires
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user