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' + }; + } }