cqp vor 3 Wochen
Ursprung
Commit
2a626261a0
1 geänderte Dateien mit 9 neuen und 9 gelöschten Zeilen
  1. 9 9
      app/Service/TestService.php

+ 9 - 9
app/Service/TestService.php

@@ -13,9 +13,9 @@ 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 = config('ip.zslf');
-        $newUrl = config('ip.zslfip');
-        $url = str_replace($oldUrl, $newUrl, $url);
+//        $oldUrl = config('ip.zslf');
+//        $newUrl = config('ip.zslfip');
+//        $url = str_replace($oldUrl, $newUrl, $url);
 
         $post = $data['post'];
         $header = $data['header'];
@@ -34,9 +34,9 @@ class TestService extends Service
         if(empty($data['url']) || empty($data['header'])) return [false,'API请求参数不能为空'];
 
         $url = $data['url'];
-        $oldUrl = config('ip.zslf');
-        $newUrl = config('ip.zslfip');
-        $url = str_replace($oldUrl, $newUrl, $url);
+//        $oldUrl = config('ip.zslf');
+//        $newUrl = config('ip.zslfip');
+//        $url = str_replace($oldUrl, $newUrl, $url);
 
         $header = $data['header'];
 
@@ -50,9 +50,9 @@ class TestService extends Service
         if(empty($data['url']) || empty($data['post']) || empty($data['header'])) return [false,'API请求参数不能为空'];
 
         $url = $data['url'];
-        $oldUrl = config('ip.zslf');
-        $newUrl = config('ip.zslfip');
-        $url = str_replace($oldUrl, $newUrl, $url);
+//        $oldUrl = config('ip.zslf');
+//        $newUrl = config('ip.zslfip');
+//        $url = str_replace($oldUrl, $newUrl, $url);
 
         $post = $data['post'];
         $header = $data['header'];