wangrong
9 小时以前 0d90e20ec20f0aeee642756a7ebf9e8514174124
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)
    );
  }
}