mirror of
https://github.com/v2board/v2board.git
synced 2025-06-13 13:17:52 +08:00
update: alipay f2f sdk
This commit is contained in:
@ -71,7 +71,7 @@ class AlipayF2F {
|
||||
|
||||
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';
|
||||
if (!isset($response[$resKey])) throw new \Exception('从支付宝请求失败');
|
||||
$response = $response[$resKey];
|
||||
|
Reference in New Issue
Block a user