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