|
@@ -19,7 +19,7 @@ async def upload_to_oss(local_video_path, type_):
|
|
|
把视频上传到 oss
|
|
|
:return:
|
|
|
"""
|
|
|
- oss_video_key = "long_articles/{}".format(type_) + str(uuid4())
|
|
|
+ oss_video_key = "long_articles/{}/".format(type_) + str(uuid4())
|
|
|
access_key_id = "LTAIP6x1l3DXfSxm"
|
|
|
access_key_secret = "KbTaM9ars4OX3PMS6Xm7rtxGr1FLon"
|
|
|
endpoint = "oss-cn-hangzhou.aliyuncs.com"
|