소스 검색

update: alipay f2f sdk

tokumeikoi 3 년 전
부모
커밋
1813fdca5d
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      library/AlipayF2F.php

+ 1 - 1
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];