From 0d90e20ec20f0aeee642756a7ebf9e8514174124 Mon Sep 17 00:00:00 2001
From: wangrong <wangrong@shsening.com>
Date: 星期一, 26 十月 2026 21:15:20 +0800
Subject: [PATCH] 微信小程序插件支持

---
 src/modules/cs/controller/app/session.ts |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/modules/cs/controller/app/session.ts b/src/modules/cs/controller/app/session.ts
index fe73446..4bb630b 100644
--- a/src/modules/cs/controller/app/session.ts
+++ b/src/modules/cs/controller/app/session.ts
@@ -15,11 +15,11 @@
 
   @Get('/detail', { summary: '浼氳瘽璇︽儏' })
   async detail() {
-    return this.ok(await this.csSessionService.detail(this.ctx.user?.id));
+    return this.ok(await this.csSessionService.detail(this.ctx.user?.userId));
   }
 
   @Post('/create', { summary: '鍒涘缓浼氳瘽' })
   async create() {
-    return this.ok(await this.csSessionService.create(this.ctx.user?.id));
+    return this.ok(await this.csSessionService.create(this.ctx.user?.userId));
   }
 }

--
Gitblit v1.9.1