From df8a1483ba22be1c8ad930c747593d115a04e96c Mon Sep 17 00:00:00 2001 From: haptear Date: Wed, 16 Feb 2022 17:34:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84fqkk?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- fqkk.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/fqkk.js b/fqkk.js index 678eb78..9dfd12b 100644 --- a/fqkk.js +++ b/fqkk.js @@ -384,6 +384,9 @@ async function getV2pValue(key) } await httpRequest('get',urlObject) if(!httpResult || httpResult.statusCode != 200) {this.flag=false;return;} + if(!httpResult || !httpResult.body) + return ""; + let result = JSON.parse(httpResult.body); if(!result) return "" return result.value