src/modules/goods/controller/app/comment.ts
@@ -21,7 +21,7 @@ entity: GoodsCommentEntity, insertParam: ctx => { return { userId: ctx.user.id, userId: ctx.user.userId, }; }, pageQueryOp: { @@ -49,7 +49,7 @@ @Body('orderId') orderId: number ) { return this.ok( await this.goodsCommentService.submit(this.ctx.user.id, orderId, data) await this.goodsCommentService.submit(this.ctx.user.userId, orderId, data) ); } }