efps-version
elf 1 year ago
parent 3f4e3c67f0
commit 138ca07136

@ -126,7 +126,7 @@ class RechargeController extends AbstractController
$bizData = $this->paymentService->protocolPayConfirm($this->buildConfirmPayParams($token, $protocol, $smsCode, $app));
return $this->success([
'outMemberId' => $prePayLog->out_member_id,
'bizData' => ['outTradeNo' => $bizData['outTradeNo']]
'bizData' => ['outOrderNo' => $prePayLog->out_order_no]
]);
}

@ -387,7 +387,7 @@ class PaymentService extends AbstractService
}
$order = Order::where('app_id', $app->app_id)->where('out_order_no', $data['outOrderNo'])->first();
if ($order) {
if (!$order) {
throw new BusinessException('订单不存在');
}

@ -167,7 +167,7 @@
}
this.payConfirmVisible = false;
this.$message.success('支付成功');
this.$alert('请记住您的订单号:' + result.data.bizData.outTradeNo , '支付成功', {
this.$alert('请记住您的订单号:' + result.data.bizData.outOrderNo , '支付成功', {
confirmButtonText: '确定',
callback: action => {
}

Loading…
Cancel
Save