Browse Source

srt替换线上环境

zhangyong 11 months ago
parent
commit
819f74a8e5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      common/srt.py

+ 2 - 2
common/srt.py

@@ -30,7 +30,7 @@ class SRT():
 
     @classmethod
     def getSrt(cls, mp3_id):
-        url = "http://preapi-internal.piaoquantv.com/produce-center/srt/get/content"
+        url = "http://api-internal.piaoquantv.com/produce-center/srt/get/content"
 
         payload = json.dumps({
             "params": {
@@ -42,7 +42,7 @@ class SRT():
             'User-Agent': 'Apifox/1.0.0 (https://apifox.com)',
             'Content-Type': 'application/json',
             'Accept': '*/*',
-            'Host': 'preapi-internal.piaoquantv.com',
+            'Host': 'api-internal.piaoquantv.com',
             'Connection': 'keep-alive'
         }