From 3f249e399659dcd09d3fe58071b146e50e45c17f Mon Sep 17 00:00:00 2001
From: wangzhibo <wangzhibo@shsening.com>
Date: 星期五, 14 八月 2026 21:56:15 +0800
Subject: [PATCH] 为小程序端增加接口
---
src/modules/user/controller/app/info.ts | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/src/modules/user/controller/app/info.ts b/src/modules/user/controller/app/info.ts
index b1a94ab..d96e807 100644
--- a/src/modules/user/controller/app/info.ts
+++ b/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
+ )
+ );
+ }
}
--
Gitblit v1.9.1