浏览代码

增加 server_const, 增加forward_request
修改接口 get_off_videos.py
response.py

luojunhui 4 月之前
父节点
当前提交
f5688dfc86
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      applications/functions/forward_request.py

+ 1 - 1
applications/functions/forward_request.py

@@ -11,7 +11,7 @@ async def forward_requests(params, api):
     转发请求
     :return:
     """
-    new_url = "http://{}:{}/{}".format(server_const.OLD_SERVER_PUBLIC_IP, server_const.PORT, api)
+    new_url = "http://{}:{}/{}".format(server_const.OLD_SERVER_INNER_IP, server_const.PORT, api)
     response = requests.post(
         url=new_url,
         headers={