mirror of
https://github.com/v2board/v2board.git
synced 2024-11-10 09:39:10 +08:00
update: alipay f2f sdk
This commit is contained in:
parent
33b59d126e
commit
1813fdca5d
@ -71,7 +71,7 @@ class AlipayF2F {
|
|||||||
|
|
||||||
public function send()
|
public function send()
|
||||||
{
|
{
|
||||||
$response = Http::get('https://openapi.alipay.com', $this->buildParam())->json();
|
$response = Http::get('https://openapi.alipay.com/gateway.do', $this->buildParam())->json();
|
||||||
$resKey = str_replace('.', '_', $this->method) . '_response';
|
$resKey = str_replace('.', '_', $this->method) . '_response';
|
||||||
if (!isset($response[$resKey])) throw new \Exception('从支付宝请求失败');
|
if (!isset($response[$resKey])) throw new \Exception('从支付宝请求失败');
|
||||||
$response = $response[$resKey];
|
$response = $response[$resKey];
|
||||||
|
Loading…
Reference in New Issue
Block a user