支付宝实名认证

This commit is contained in:
wyongk
2020-12-18 14:25:34 +08:00
parent 2b5cf2d984
commit be23bb69b4

View File

@@ -20,7 +20,7 @@ class Aliverify
public static function initVerify() public static function initVerify()
{ {
global $config; global $config;
$aop = new AopCertClient (); $aop = new \AopCertClient ();
$aop->gatewayUrl = 'https://openapi.alipay.com/gateway.do'; $aop->gatewayUrl = 'https://openapi.alipay.com/gateway.do';
$aop->appId = $config['alipay']['app_id']; $aop->appId = $config['alipay']['app_id'];
$aop->rsaPrivateKey = $config['alipay']['private_key']; $aop->rsaPrivateKey = $config['alipay']['private_key'];