支付宝实名认证
This commit is contained in:
@@ -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'];
|
||||
|
||||
Reference in New Issue
Block a user