tping 4 years ago
parent 7b694b2fc8
commit 23d79c5f2c

@ -33,7 +33,13 @@ class Fund {
'appCertPath' => __DIR__ . "/cert/hjb2/appCertPublicKey_2021002144604182.crt", 'appCertPath' => __DIR__ . "/cert/hjb2/appCertPublicKey_2021002144604182.crt",
'alipayCertPath' => __DIR__ . "/cert/hjb2/alipayCertPublicKey_RSA2.crt", 'alipayCertPath' => __DIR__ . "/cert/hjb2/alipayCertPublicKey_RSA2.crt",
'rootCertPath' => __DIR__ . "/cert/hjb2/alipayRootCert.crt" 'rootCertPath' => __DIR__ . "/cert/hjb2/alipayRootCert.crt"
] ],
// 金菠菜2 打款3
'2021002146650107' => [
'appCertPath' => __DIR__ . "/cert/jbc3/appCertPublicKey_2021002146650107.crt",
'alipayCertPath' => __DIR__ . "/cert/jbc3/alipayCertPublicKey_RSA2.crt",
'rootCertPath' => __DIR__ . "/cert/jbc3/alipayRootCert.crt"
],
]; ];
public function __construct($config) public function __construct($config)
{ {
@ -182,6 +188,7 @@ class Fund {
$result = $aop->execute($request); $result = $aop->execute($request);
$responseNode = str_replace(".", "_", $request->getApiMethodName()) . "_response"; $responseNode = str_replace(".", "_", $request->getApiMethodName()) . "_response";
$resultCode = $result->$responseNode->code; $resultCode = $result->$responseNode->code;
if(!empty($resultCode)&&$resultCode == 10000){ if(!empty($resultCode)&&$resultCode == 10000){
$ret['amount'] = $result->alipay_fund_account_query_response->available_amount; $ret['amount'] = $result->alipay_fund_account_query_response->available_amount;
return $ret; return $ret;

@ -0,0 +1,19 @@
-----BEGIN CERTIFICATE-----
MIIDtTCCAp2gAwIBAgIQICAGGS5p70QviSuHRfPPBjANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UE
BhMCQ04xFjAUBgNVBAoMDUFudCBGaW5hbmNpYWwxIDAeBgNVBAsMF0NlcnRpZmljYXRpb24gQXV0
aG9yaXR5MTkwNwYDVQQDDDBBbnQgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5IENs
YXNzI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