zxhxx 4 년 전
부모
커밋
abc04c1887
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      extend/liuniu/UtilService.php

+ 3 - 2
extend/liuniu/UtilService.php

@@ -172,8 +172,9 @@ class UtilService
             /**
             $data['path'] = $param['path'];
             $data['query'] = $param['query'];
-            $data['is_expire'] = false;*/
-            $res = HttpService::postRequest($url, $data);
+            $data['is_expire'] = false;
+            $res = HttpService::postRequest($url, $data);*/
+            $res = file_get_contents($url);
             cache('link_' . $cid,json_decode($res,true));
         }
         return cache('link_' . $cid);