改回 支付宝支付
This commit is contained in:
parent
3c15308a16
commit
5c2ecffd81
@ -105,9 +105,9 @@ public function show(Request $request, Balance $balance)
|
||||
$order['subject'] = $subject;
|
||||
$order['total_amount'] = $balance->amount;
|
||||
|
||||
$pay = Pay::alipay()->scan($order);
|
||||
$pay = Pay::alipay()->web($order);
|
||||
|
||||
$qr_code = $code->generate($pay->qr_code);
|
||||
return view('balances.alipay', ['html' => (string)$pay->getBody()]);
|
||||
}
|
||||
|
||||
if (!isset($qr_code)) {
|
||||
|
12
resources/views/balances/alipay.blade.php
Normal file
12
resources/views/balances/alipay.blade.php
Normal file
@ -0,0 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>继续</title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
{!! $html !!}
|
||||
</body>
|
||||
|
||||
</html>
|
Loading…
Reference in New Issue
Block a user