Răsfoiți Sursa

对接朗峰

cqp 4 săptămâni în urmă
părinte
comite
47d89e42d5
1 a modificat fișierele cu 3 adăugiri și 3 ștergeri
  1. 3 3
      app/Service/TestService.php

+ 3 - 3
app/Service/TestService.php

@@ -13,7 +13,7 @@ class TestService extends Service
     public function testdwy($data){
         if(empty($data['url']) || empty($data['post']) || empty($data['header'])) return [false,'API请求参数不能为空'];
         $url = $data['url'];
-        $oldUrl = 'https://gzy.qingyaokeji.com/';
+        $oldUrl = config('ip.zslf');
         $newUrl = config('ip.zslfip');
         $url = str_replace($oldUrl, $newUrl, $url);
 
@@ -34,7 +34,7 @@ class TestService extends Service
         if(empty($data['url']) || empty($data['header'])) return [false,'API请求参数不能为空'];
 
         $url = $data['url'];
-        $oldUrl = 'https://gzy.qingyaokeji.com/';
+        $oldUrl = config('ip.zslf');
         $newUrl = config('ip.zslfip');
         $url = str_replace($oldUrl, $newUrl, $url);
 
@@ -50,7 +50,7 @@ class TestService extends Service
         if(empty($data['url']) || empty($data['post']) || empty($data['header'])) return [false,'API请求参数不能为空'];
 
         $url = $data['url'];
-        $oldUrl = 'https://gzy.qingyaokeji.com/';
+        $oldUrl = config('ip.zslf');
         $newUrl = config('ip.zslfip');
         $url = str_replace($oldUrl, $newUrl, $url);