Skip to content

Commit

Permalink
修复GET URL错误
Browse files Browse the repository at this point in the history
  • Loading branch information
liasica committed Jul 20, 2019
1 parent 116b217 commit 9f934c9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Gateways/Alipay/WebGateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public function find($order): array
protected function buildPayHtml($endpoint, $payload, $method = 'POST'): Response
{
if (strtoupper($method) === 'GET') {
return RedirectResponse::create($endpoint.'?'.http_build_query($payload));
return RedirectResponse::create($endpoint.'&'.http_build_query($payload));
}

$sHtml = "<form id='alipay_submit' name='alipay_submit' action='".$endpoint."' method='".$method."'>";
Expand Down

0 comments on commit 9f934c9

Please sign in to comment.