src/modules/user/controller/app/info.ts
@@ -62,4 +62,15 @@ ) ); } @Post('/dashboard', { summary: '获取用户碳积分信息' }) async dashboard(@Body() body) { console.log(body) const {unionid} = body; return this.ok( await this.userInfoService.dashboard( unionid ) ); } }