From 528d841d82d3e0c151874c148544dc9617c76ead Mon Sep 17 00:00:00 2001 From: iHeyTang Date: Wed, 3 Sep 2025 20:46:54 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=A2=9E=E5=8A=A0=E4=B8=80=E4=B8=AAcal?= =?UTF-8?q?lback=E7=9A=84=E7=BB=93=E6=9E=9C=E9=80=9A=E7=9F=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/app.controller.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/app.controller.ts b/src/app.controller.ts index 76e1be2..a1a651d 100644 --- a/src/app.controller.ts +++ b/src/app.controller.ts @@ -159,4 +159,15 @@ export class AppController { }; } } + + @Post('callback') + async callback(@Body() body: any): Promise> { + console.log(`🚀 [回调] 开始执行回调`); + console.log(`📋 回调参数: ${JSON.stringify(body, null, 2)}`); + return { + status: true, + data: body, + msg: 'success' + }; + } }