alipaytoalipay

master
tping 5 years ago
parent 9fd06c27d3
commit bd734d4268

@ -1,9 +1,9 @@
<?php
require_once "aop/AopcertClient.php";
require_once "aop/AopCertClient.php";
require_once "aop/request/AlipayFundTransUniTransferRequest.php";
require_once "aop/request/AlipayFundTransOrderQueryRequest.php";
require_once "aop/Request/AlipayFundAccountQueryRequest.php";
require_once "aop/request/AlipayFundAccountQueryRequest.php";
class Fund {
private $appCertPath = __DIR__ . "/cert/appCertPublicKey_2021001159678209.crt";

@ -133,7 +133,9 @@ class AopCertClient
for ($i = 1; $i <= $len; $i++) {
$dec = bcadd($dec, bcmul(strval(hexdec($hex[$i - 1])), bcpow('16', strval($len - $i))));
}
return round($dec,0);
return $dec; // php > 7.2 by zgc
// return round($dec,0);
}
/**

Loading…
Cancel
Save