zxhxx преди 3 години
родител
ревизия
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);