zxhxx преди 3 години
родител
ревизия
8eba70e72c
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      extend/liuniu/UtilService.php

+ 1 - 1
extend/liuniu/UtilService.php

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