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