소스 검색

对接朗峰

cqp 1 개월 전
부모
커밋
47d89e42d5
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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);