Forráskód Böngészése

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

zhangdongming 1 éve
szülő
commit
a3379066a1
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      Controller/VoicePromptController.py

+ 1 - 1
Controller/VoicePromptController.py

@@ -225,7 +225,7 @@ class VoicePromptView(View):
             res['system'] = {}
             res['custom'] = {}
             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():
                 system_qs = system_qs.values('id', 'title', 'filename', 'type')
                 for system in system_qs: