zxhxx 4 năm trước cách đây
mục cha
commit
abc04c1887
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  1. 3 2
      extend/liuniu/UtilService.php

+ 3 - 2
extend/liuniu/UtilService.php

@@ -172,8 +172,9 @@ class UtilService
             /**
             /**
             $data['path'] = $param['path'];
             $data['path'] = $param['path'];
             $data['query'] = $param['query'];
             $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));
             cache('link_' . $cid,json_decode($res,true));
         }
         }
         return cache('link_' . $cid);
         return cache('link_' . $cid);