From 1813fdca5d99fe6c612a1279662584238f3a5919 Mon Sep 17 00:00:00 2001 From: tokumeikoi Date: Thu, 24 Feb 2022 23:26:51 +0800 Subject: [PATCH] update: alipay f2f sdk --- library/AlipayF2F.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/AlipayF2F.php b/library/AlipayF2F.php index a82bdbad..e3ea5830 100644 --- a/library/AlipayF2F.php +++ b/library/AlipayF2F.php @@ -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];