浏览代码

srt替换线上环境

zhangyong 11 月之前
父节点
当前提交
819f74a8e5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      common/srt.py

+ 2 - 2
common/srt.py

@@ -30,7 +30,7 @@ class SRT():
 
 
     @classmethod
     @classmethod
     def getSrt(cls, mp3_id):
     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({
         payload = json.dumps({
             "params": {
             "params": {
@@ -42,7 +42,7 @@ class SRT():
             'User-Agent': 'Apifox/1.0.0 (https://apifox.com)',
             'User-Agent': 'Apifox/1.0.0 (https://apifox.com)',
             'Content-Type': 'application/json',
             'Content-Type': 'application/json',
             'Accept': '*/*',
             'Accept': '*/*',
-            'Host': 'preapi-internal.piaoquantv.com',
+            'Host': 'api-internal.piaoquantv.com',
             'Connection': 'keep-alive'
             'Connection': 'keep-alive'
         }
         }