diff --git a/README.md b/README.md index d340027..e4a9373 100755 --- a/README.md +++ b/README.md @@ -60,7 +60,7 @@ docker run -itd --name="onenav" -p 80:80 \ ## 联系我 * Blog:https://www.xiaoz.me/ -* QQ:337003006 +* QQ:446199062 * QQ群:147687134 * 社区支持:[https://dwz.ovh/vd0bw](https://dwz.ovh/vd0bw) diff --git a/class/Api.php b/class/Api.php index 281ed91..ddb8b14 100755 --- a/class/Api.php +++ b/class/Api.php @@ -1442,7 +1442,7 @@ class Api { curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, false); #设置超时时间,最小为1s(可选) - curl_setopt($curl , CURLOPT_TIMEOUT, 5); + curl_setopt($curl , CURLOPT_TIMEOUT, 30); $html = curl_exec($curl); curl_close($curl); @@ -1459,7 +1459,7 @@ class Api { $this->return_json(-2000,'',$data->msg); } else{ - $this->return_json(-2000,'',"请求接口失败!"); + $this->return_json(-2000,'',"请求接口失败,请重试!"); } } catch (\Throwable $th) { $this->return_json(-2000,'','网络请求失败!'); diff --git a/data/update.log b/data/update.log index 33f1354..10a7bb2 100755 --- a/data/update.log +++ b/data/update.log @@ -121,6 +121,7 @@ CREATE INDEX on_options_key_IDX ON on_options ("key"); 20220525 1. 修复link_list和get_a_link可以查询私有分类下的公有链接问题 2. 新增查询指定分类下的链接接口:q_category_link +3. 新增主题删除功能 20220527 -1. 新增订阅于在线更新 \ No newline at end of file +1. 新增订阅后在线更新 \ No newline at end of file diff --git a/templates/admin/index.php b/templates/admin/index.php index c6240d6..a607ad3 100755 --- a/templates/admin/index.php +++ b/templates/admin/index.php @@ -13,7 +13,10 @@