From e55efe2b0fe97da4ce4de1366d34e0e9daf806af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=91=A3=E6=B5=B7=E6=B4=8B?= Date: Thu, 4 Jun 2026 09:24:38 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=8D=E6=AC=A1=E4=BF=AE=E6=94=B9api?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- controllers/goods.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controllers/goods.js b/controllers/goods.js index 651ed48..faf6560 100644 --- a/controllers/goods.js +++ b/controllers/goods.js @@ -72,7 +72,7 @@ async function getGoods(ctx) { ctx.body = { code: 200, - data: result + ...result } }