From f88d0bf62cd9482851e06f4d9770196b61097630 Mon Sep 17 00:00:00 2001 From: mediabot-pt <295750538+mediabot-pt@users.noreply.github.com> Date: Wed, 1 Jul 2026 12:23:38 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20parse=E6=94=B9=E7=94=A8Jackson=20ObjectM?= =?UTF-8?q?apper=E6=9B=BF=E4=BB=A3JsonSlurper=EF=BC=8C=E9=81=BF=E5=85=8D50?= =?UTF-8?q?000=E5=AD=97=E7=AC=A6=E6=88=AA=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/mteam.groovy | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/mteam.groovy b/docs/mteam.groovy index 1ba9ddd..2782671 100644 --- a/docs/mteam.groovy +++ b/docs/mteam.groovy @@ -5,10 +5,9 @@ final String API_BASE = "https://api.m-team.io" // ==================== PAR 校验入口 ==================== Map parse(String content, String url) { - def slurp = new groovy.json.JsonSlurper() - def root + Map root try { - root = slurp.parseText(content) + root = json.readValue(content, Map) } catch (e) { return [pageName: '解析失败', message: "JSON 解析异常: ${e.message}"] }