From 9b41c80ec467e7b9a0376620aa96de0f56f96d9a Mon Sep 17 00:00:00 2001 From: src48597962 <48597962@qq.com> Date: Wed, 5 Feb 2025 17:18:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'SrcJyAliPublic.js'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- SrcJyAliPublic.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/SrcJyAliPublic.js b/SrcJyAliPublic.js index fa20404..88a042d 100644 --- a/SrcJyAliPublic.js +++ b/SrcJyAliPublic.js @@ -353,15 +353,15 @@ function getOpenToken(authorization) { variable = 0; } let json2 = {}; - try { - json2 = JSON.parse(request('https://api.xhofe.top/alist/ali_open/token', { body: data, method: 'POST', timeout: 8000 })); - log("https://api.xhofe.top/alist/ali_open/token"); - log(json2); - } catch (e) { + //try { + // json2 = JSON.parse(request('https://api.xhofe.top/alist/ali_open/token', { body: data, method: 'POST', timeout: 8000 })); + // log("https://api.xhofe.top/alist/ali_open/token"); + // log(json2); + //} catch (e) { json2 = JSON.parse(request('https://api-cf.nn.ci/alist/ali_open/token', { body: data, method: 'POST', timeout: 8000 })); log("https://api-cf.nn.ci/alist/ali_open/token"); log(json2); - } + //} json2.variable = variable; return json2;