فهرست منبع

增加 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={