From 32e0ddc7be8a2a54d8970cfc592ef3c74761647b Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Thu, 12 Dec 2024 13:41:28 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJySet.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJySet.js | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/SrcJySet.js b/SrcJySet.js index 34dbd8ad..efc2981d 100644 --- a/SrcJySet.js +++ b/SrcJySet.js @@ -211,7 +211,15 @@ function SRCSet() { require(config.依赖.replace(/[^/]*$/,'') + 'SrcJyPublic.js'); let lockgroups = Juconfig["lockgroups"] || []; if(lockgroups.indexOf(it)>-1){ - lockgroups = lockgroups.filter(item => item !== it); + const hikerPop = $.require("http://hiker.nokia.press/hikerule/rulelist.json?id=6966"); + if (hikerPop.canBiometric() !== 0) { + return "toast://暂时无法使用"; + } + let pop = hikerPop.checkByBiometric(() => { + toast("通过"); + lockgroups = lockgroups.filter(item => item !== it); + }); + }else{ lockgroups.push(it); }