wangzhibo
5 天以前 50e5cdbaceee71f000341a434620d10a87b582f5
src/modules/order/controller/app/pay.ts
@@ -61,4 +61,11 @@
      await this.orderPayService.wxAppPay(orderId, this.ctx.user.id)
    );
  }
  @Post('/carbonPay', { summary: '碳积分支付' })
  async carbonPay(@Body('orderId') orderId) {
    return this.ok(
      await this.orderPayService.carbonPay(orderId, this.ctx.user.id)
    );
  }
}