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

个性化语音对象链接http改https

zhangdongming 1 жил өмнө
parent
commit
a3379066a1

+ 1 - 1
Controller/VoicePromptController.py

@@ -225,7 +225,7 @@ class VoicePromptView(View):
             res['system'] = {}
             res['system'] = {}
             res['custom'] = {}
             res['custom'] = {}
             auth = oss2.Auth(OSS_STS_ACCESS_KEY, OSS_STS_ACCESS_SECRET)
             auth = oss2.Auth(OSS_STS_ACCESS_KEY, OSS_STS_ACCESS_SECRET)
-            bucket = oss2.Bucket(auth, 'oss-cn-shenzhen.aliyuncs.com', 'ansjer-static-resources')
+            bucket = oss2.Bucket(auth, 'https://oss-cn-shenzhen.aliyuncs.com', 'ansjer-static-resources')
             if system_qs.exists():
             if system_qs.exists():
                 system_qs = system_qs.values('id', 'title', 'filename', 'type')
                 system_qs = system_qs.values('id', 'title', 'filename', 'type')
                 for system in system_qs:
                 for system in system_qs: