改回 支付宝支付

This commit is contained in:
iVampireSP.com 2022-12-28 01:03:52 +08:00
parent 3c15308a16
commit 5c2ecffd81
No known key found for this signature in database
GPG Key ID: 2F7B001CA27A8132
2 changed files with 14 additions and 2 deletions

View File

@ -105,9 +105,9 @@ public function show(Request $request, Balance $balance)
$order['subject'] = $subject; $order['subject'] = $subject;
$order['total_amount'] = $balance->amount; $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)) { if (!isset($qr_code)) {

View File

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>继续</title>
</head>
<body>
{!! $html !!}
</body>
</html>