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