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)); } }