From 14d7088e90e7a0089c5fadab2a3f8119086edd10 Mon Sep 17 00:00:00 2001 From: zyc404 Date: Mon, 16 Oct 2023 18:45:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E9=94=85=E5=B7=B4=E4=BB=A3?= =?UTF-8?q?=E7=90=86=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server/modules/guoba.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/modules/guoba.js b/server/modules/guoba.js index e98a20b..6891f93 100644 --- a/server/modules/guoba.js +++ b/server/modules/guoba.js @@ -40,7 +40,7 @@ async function Guoba(fastify, options) { } if (body.data) { if (body.post) { - guobaOptions.body = body.data + guobaOptions.body = JSON.stringify(body.data) } else { let paramsArray = [] Object.keys(body.data).forEach(key => paramsArray.push(key + '=' + body.data[key]))