From 2b5cf2d9845e9df2d3ffa8282bdae849f49be9b0 Mon Sep 17 00:00:00 2001 From: wyongk <937888580@qq.com> Date: Fri, 18 Dec 2020 14:24:07 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=AF=E4=BB=98=E5=AE=9D=E5=AE=9E=E5=90=8D?= =?UTF-8?q?=E8=AE=A4=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- alipay/Aliverify.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/alipay/Aliverify.php b/alipay/Aliverify.php index b383baa..90a7bd7 100644 --- a/alipay/Aliverify.php +++ b/alipay/Aliverify.php @@ -2,7 +2,7 @@ namespace alipay; -require_once APP_PATH . 'alipay/aop/AopClient.php'; +require_once APP_PATH . 'alipay/aop/AopCertClient.php'; require_once APP_PATH . 'alipay/aop/AopCertification.php'; require_once APP_PATH . 'alipay/aop/request/AlipayUserCertifyOpenInitializeRequest.php'; require_once APP_PATH . 'alipay/aop/request/AlipayUserCertifyOpenQueryRequest.php'; @@ -20,7 +20,7 @@ class Aliverify public static function initVerify() { global $config; - $aop = new \AopClient(); + $aop = new AopCertClient (); $aop->gatewayUrl = 'https://openapi.alipay.com/gateway.do'; $aop->appId = $config['alipay']['app_id']; $aop->rsaPrivateKey = $config['alipay']['private_key'];