微信小程序支付功能打通
This commit is contained in:
@@ -45,7 +45,7 @@ export class TradeController {
|
||||
@Post(':id/pay')
|
||||
@UseGuards(PhoneVerifiedGuard)
|
||||
pay(@CurrentUser() user: AuthUser, @Param('id') id: string) {
|
||||
return this.tradeService.payOrder(user.actorId, BigInt(id));
|
||||
return this.tradeService.payOrder(user.actorId, BigInt(id), user.clientApp);
|
||||
}
|
||||
|
||||
@Put(':id/address')
|
||||
|
||||
Reference in New Issue
Block a user