From 957c428bfe06f31c4b4fd5b57baed4d2869e5d27 Mon Sep 17 00:00:00 2001 From: david <367013672@qq.com> Date: Sun, 19 Mar 2023 13:52:14 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=9A=E6=9C=B1=E9=9B=80?= =?UTF-8?q?=20v2.1.15?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/functions.php | 2 +- public/page/setting/sites.html | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/app/functions.php b/app/functions.php index a084e20..44c15e2 100644 --- a/app/functions.php +++ b/app/functions.php @@ -13,7 +13,7 @@ use app\domain\Config as domainConfig; */ function IYUU_VERSION(): string { - return '2.1.13'; + return '2.1.15'; } /** diff --git a/public/page/setting/sites.html b/public/page/setting/sites.html index 31bdbd6..5d5ba48 100644 --- a/public/page/setting/sites.html +++ b/public/page/setting/sites.html @@ -93,6 +93,24 @@ {{# } }} + {{# if (d.rss_key.visible === true) { }} +
+ +
+ + {{d.rss_key.desc}} +
+
+ {{# } }} + {{# if (d.torrent_key.visible === true) { }} +
+ +
+ + {{d.torrent_key.desc}} +
+
+ {{# } }} {{# if (d.authkey.visible === true) { }}
@@ -183,6 +201,8 @@ ,rsskey: {name: 'rsskey', visible: false, required: true, desc: '', verify: 'required', reqtext: ''} ,torrent_pass: {name: 'torrent_pass', visible: false, required: true, desc: '', verify: 'required', reqtext: ''} ,authkey: {name: 'authkey', visible: false, required: true, desc: '', verify: 'required', reqtext: ''} + ,rss_key: {name: 'rss_key', visible: false, required: true, desc: '', verify: 'required', reqtext: ''} + ,torrent_key: {name: 'torrent_key', visible: false, required: true, desc: '', verify: 'required', reqtext: ''} ,id: false ,limitRule: true ,urlJoin: {visible: false, required: false, id: 'url_join', field: {https: true, ipv4: true, ipv6: true}} @@ -254,6 +274,14 @@ rule.torrent_pass.visible = true; rule.authkey.visible = true; break; + case 'zhuque': + rule.cookie.visible = false; + rule.passkey.visible = false; + rule.torrent_key.visible = true; + rule.rss_key.visible = true; + rule.torrent_key.desc = 'Torrent Key:用户信息 -> 个人设置'; + rule.rss_key.desc = 'RSS Key:用户信息 -> 个人设置'; + break; case 'hdpost': rule.passkey.visible = false; rule.rsskey.visible = true;