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);