From c1fba8be13a6b0887b0b9296b52c101b8c3aa205 Mon Sep 17 00:00:00 2001 From: tping Date: Wed, 12 May 2021 18:00:52 +0800 Subject: [PATCH] remit --- ThinkPHP/Library/Vendor/Alipay2020/Fund.php | 37 ++++++-- .../cert/hjb2/alipayCertPublicKey_RSA2.crt | 19 ++++ .../Alipay2020/cert/hjb2/alipayRootCert.crt | 88 +++++++++++++++++++ .../appCertPublicKey_2021002144604182.crt | 24 +++++ .../cert/hjb_cn/alipayCertPublicKey_RSA2.crt | 19 ++++ .../Alipay2020/cert/hjb_cn/alipayRootCert.crt | 88 +++++++++++++++++++ .../appCertPublicKey_2021002142651648.crt | 24 +++++ 7 files changed, 294 insertions(+), 5 deletions(-) create mode 100644 ThinkPHP/Library/Vendor/Alipay2020/cert/hjb2/alipayCertPublicKey_RSA2.crt create mode 100644 ThinkPHP/Library/Vendor/Alipay2020/cert/hjb2/alipayRootCert.crt create mode 100644 ThinkPHP/Library/Vendor/Alipay2020/cert/hjb2/appCertPublicKey_2021002144604182.crt create mode 100644 ThinkPHP/Library/Vendor/Alipay2020/cert/hjb_cn/alipayCertPublicKey_RSA2.crt create mode 100644 ThinkPHP/Library/Vendor/Alipay2020/cert/hjb_cn/alipayRootCert.crt create mode 100644 ThinkPHP/Library/Vendor/Alipay2020/cert/hjb_cn/appCertPublicKey_2021002142651648.crt diff --git a/ThinkPHP/Library/Vendor/Alipay2020/Fund.php b/ThinkPHP/Library/Vendor/Alipay2020/Fund.php index c19d00dbc..4e057b361 100644 --- a/ThinkPHP/Library/Vendor/Alipay2020/Fund.php +++ b/ThinkPHP/Library/Vendor/Alipay2020/Fund.php @@ -6,19 +6,47 @@ require_once "aop/request/AlipayFundTransOrderQueryRequest.php"; require_once "aop/request/AlipayFundAccountQueryRequest.php"; class Fund { - public $appCertPath = __DIR__ . "/cert/appCertPublicKey_2021001150621489.crt"; - public $alipayCertPath = __DIR__ . "/cert/alipayCertPublicKey_RSA2.crt"; - public $rootCertPath = __DIR__ . "/cert/alipayRootCert.crt"; + public $appCertPath = ''; + public $alipayCertPath = ''; + public $rootCertPath = ''; + public $gatewayUrl = "https://openapi.alipay.com/gateway.do"; public $appId = ""; public $alipayUserId = ''; // pid public $rsaPrivateKey = ''; public $is_init = false; + const DIR = [ + // 默认金菠菜 + '2021001150621489' => [ + 'appCertPath' => __DIR__ . "/cert/appCertPublicKey_2021001150621489.crt", + 'alipayCertPath' => __DIR__ . "/cert/alipayCertPublicKey_RSA2.crt", + 'rootCertPath' => __DIR__ . "/cert/alipayRootCert.crt" + ], + // 核聚变 + '2021002142651648' => [ + 'appCertPath' => __DIR__ . "/cert/hjb_cn/appCertPublicKey_2021002142651648.crt", + 'alipayCertPath' => __DIR__ . "/cert/hjb_cn/alipayCertPublicKey_RSA2.crt", + 'rootCertPath' => __DIR__ . "/cert/hjb_cn/alipayRootCert.crt" + ], + // 核聚变2 + '2021002144604182' => [ + 'appCertPath' => __DIR__ . "/cert/hjb2/appCertPublicKey_2021002144604182.crt", + 'alipayCertPath' => __DIR__ . "/cert/hjb2/alipayCertPublicKey_RSA2.crt", + 'rootCertPath' => __DIR__ . "/cert/hjb2/alipayRootCert.crt" + ] + ]; public function __construct($config) { if(empty($config)){ - return false; + throw new Exception("请输入配置"); + } + if (!self::DIR[''.$config['appId']]) { + throw new Exception("配置不存在".$config['appId']); } + $this->appCertPath = self::DIR[''.$config['appId']]['appCertPath']; + $this->alipayCertPath = self::DIR[''.$config['appId']]['alipayCertPath']; + $this->rootCertPath = self::DIR[''.$config['appId']]['rootCertPath']; + $this->appId = $config['appId']; $this->alipayUserId = $config['alipayUserId']; $this->rsaPrivateKey = $config['rsaPrivateKey']; @@ -156,7 +184,6 @@ class Fund { $resultCode = $result->$responseNode->code; if(!empty($resultCode)&&$resultCode == 10000){ $ret['amount'] = $result->alipay_fund_account_query_response->available_amount; - return $ret; } else { return -1; diff --git a/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb2/alipayCertPublicKey_RSA2.crt b/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb2/alipayCertPublicKey_RSA2.crt new file mode 100644 index 000000000..161dde3c2 --- /dev/null +++ b/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb2/alipayCertPublicKey_RSA2.crt @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDtTCCAp2gAwIBAgIQICEFEZ1Ryi1mdsoeKtWV1zANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UE +BhMCQ04xFjAUBgNVBAoMDUFudCBGaW5hbmNpYWwxIDAeBgNVBAsMF0NlcnRpZmljYXRpb24gQXV0 +aG9yaXR5MTkwNwYDVQQDDDBBbnQgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5IENs +YXNzIDIgUjEwHhcNMjEwNTExMDU1MTAyWhcNMjMwNTExMDU1MTAyWjCBlTELMAkGA1UEBhMCQ04x +MDAuBgNVBAoMJ+emj+W7uuaguOiBmuWPmOe9kee7nOenkeaKgOaciemZkOWFrOWPuDEPMA0GA1UE +CwwGQWxpcGF5MUMwQQYDVQQDDDrmlK/ku5jlrp0o5Lit5Zu9Kee9kee7nOaKgOacr+aciemZkOWF +rOWPuC0yMDg4MTQxMzg3MTI2MjAzMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAoZHJ +4YmIv3t7bWo4bNR5W+ChqL37pkoRiffFzSoK0xLaXfLzc7sKpWlht178NWgLcktLa99KjkEPivrw +9m9e0uIEUh0Kx8cUi2HGzNEoIK0kDmrzdSwSj58QvQwWbQHM4Q62CUqUr14xLsWjEOlVLIOmqiEu +GNGb+hyEtjX+4xEuZRLraR/k7spOVIdGqF2/Uns+gd4pLuox4AIxEnkB9JCuIUaCxmCAl4vBNhcF +YKg5rSdtU9CDy6YCM0ITA1E8cc5k4j9HKoNc4OwbWDG128R8dpYgu/v6zCahLFF1vTRrmT6V/51T +lCAgeSebN3hjbRWMgXksYEsvgFeS32+NvwIDAQABoxIwEDAOBgNVHQ8BAf8EBAMCA/gwDQYJKoZI +hvcNAQELBQADggEBAANo4iWXCe5q24gqztyuSdgD773p9K+IMvFioFusAyXHHyB0ly4CTWTtQjyl +8wJypJSATUcyD9zJrCit21FIvqGDPsz3JJ6DHWU3ttzNYUcCZPO/W8fGn7BGUGAXyy+13MBi/o8G +l3+ShNbuN6IPohbfsga0bGkHembFIBGBAIX5fHvpFD2kYw8uLJLBoGqEizzBKwWI5UkY2M9XuyWG +S50zJfxzjsK9FPaRkQnyaQOf5u5+u+baBfl41qm0QT+NF89nW0hyCcHFRwzoffQ2hNEFuSaLN9BD +Tx5DUzbBRmvCaLRhEnIbiWI+RC5FPrVKop5vE3sD/Jr/3VLy4pm2IrE= +-----END CERTIFICATE----- diff --git a/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb2/alipayRootCert.crt b/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb2/alipayRootCert.crt new file mode 100644 index 000000000..76417c538 --- /dev/null +++ b/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb2/alipayRootCert.crt @@ -0,0 +1,88 @@ +-----BEGIN CERTIFICATE----- +MIIBszCCAVegAwIBAgIIaeL+wBcKxnswDAYIKoEcz1UBg3UFADAuMQswCQYDVQQG +EwJDTjEOMAwGA1UECgwFTlJDQUMxDzANBgNVBAMMBlJPT1RDQTAeFw0xMjA3MTQw +MzExNTlaFw00MjA3MDcwMzExNTlaMC4xCzAJBgNVBAYTAkNOMQ4wDAYDVQQKDAVO +UkNBQzEPMA0GA1UEAwwGUk9PVENBMFkwEwYHKoZIzj0CAQYIKoEcz1UBgi0DQgAE +MPCca6pmgcchsTf2UnBeL9rtp4nw+itk1Kzrmbnqo05lUwkwlWK+4OIrtFdAqnRT +V7Q9v1htkv42TsIutzd126NdMFswHwYDVR0jBBgwFoAUTDKxl9kzG8SmBcHG5Yti +W/CXdlgwDAYDVR0TBAUwAwEB/zALBgNVHQ8EBAMCAQYwHQYDVR0OBBYEFEwysZfZ +MxvEpgXBxuWL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UySqbQ2R5z/GoceyI9LdxIVa1RjVX8pYOj8JFwtn +DJN3ftSFvNMYwRuILKuqUYSHc2GPYiHVflDh5nDymCMOQFcFG3WsEuB+EYQPFgIU +1DHmdZcz7Llx8UOZXX2JupWCYzK1XhJb+r4hK5ncf/w8qGtYlmyJpxk3hr1TfUJX +Yf4Zr0fJsGuv +-----END CERTIFICATE----- \ No newline at end of file diff --git a/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb2/appCertPublicKey_2021002144604182.crt b/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb2/appCertPublicKey_2021002144604182.crt new file mode 100644 index 000000000..e46d94dbd --- /dev/null +++ b/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb2/appCertPublicKey_2021002144604182.crt @@ -0,0 +1,24 @@ +-----BEGIN CERTIFICATE----- +MIIEtDCCA5ygAwIBAgIQICEFEb0BLZoa0MMtoaWcoDANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UE +BhMCQ04xFjAUBgNVBAoMDUFudCBGaW5hbmNpYWwxIDAeBgNVBAsMF0NlcnRpZmljYXRpb24gQXV0 +aG9yaXR5MTkwNwYDVQQDDDBBbnQgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5IENs +YXNzIDEgUjEwHhcNMjEwNTExMDU1MTAxWhcNMjMwNTExMDU1MTAxWjB8MQswCQYDVQQGEwJDTjEw +MC4GA1UECgwn56aP5bu65qC46IGa5Y+Y572R57uc56eR5oqA5pyJ6ZmQ5YWs5Y+4MQ8wDQYDVQQL +DAZBbGlwYXkxKjAoBgNVBAMMITIwODgxNDEzODcxMjYyMDMtMjAyMTAwMjE0NDYwNDE4MjCCASIw +DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAJ/8qMhOxn8ZaVU+NBU1FjCLLFmuMtKNXi748o3B +b8dokuuQZaQ2OR7qU/mIL41oWwQ0ceoLkArsFcVbppXrrUcz+Mk1hTMOqFvOFAMITOyAoy2d1338 +8vr8pEqu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/cert/hjb_cn/alipayCertPublicKey_RSA2.crt b/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb_cn/alipayCertPublicKey_RSA2.crt new file mode 100644 index 000000000..fb02416f8 --- /dev/null +++ b/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb_cn/alipayCertPublicKey_RSA2.crt @@ -0,0 +1,19 @@ +-----BEGIN CERTIFICATE----- +MIIDtTCCAp2gAwIBAgIQICEFB3/heWeo5UbADE+X7zANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UE +BhMCQ04xFjAUBgNVBAoMDUFudCBGaW5hbmNpYWwxIDAeBgNVBAsMF0NlcnRpZmljYXRpb24gQXV0 +aG9yaXR5MTkwNwYDVQQDDDBBbnQgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5IENs +YXNzIDIgUjEwHhcNMjEwNTA3MDkyMzM2WhcNMjMwNTA3MDkyMzM2WjCBlTELMAkGA1UEBhMCQ04x +MDAuBgNVBAoMJ+emj+W7uuaguOiBmuWPmOe9kee7nOenkeaKgOaciemZkOWFrOWPuDEPMA0GA1UE +CwwGQWxpcGF5MUMwQQYDVQQDDDrmlK/ku5jlrp0o5Lit5Zu9Kee9kee7nOaKgOacr+aciemZkOWF +rOWPuC0yMDg4MDQxMDU5MDAxNjU5MIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAi8/d +mEqGWDmQl6+vRdV+L27V1yTZvTEiS1CICHSMHspIQE3D2lklzqxehtqv4ic+dsAEiCQyGsIYMNM8 +Q6akCH6dI6c5QwqotqwzhdgLIQjD0ldItdqN2XLowKRdHUo4MJRDuxxQfmsBlFYVaCJmMe1M50jp +9v2dtpwftt4u8w6c0T25iPXLscrS0sprR3DUkKC/dKd9AcFlRNpx7q92ePz90yRXHpVNm1M4AJa2 +WiepANfyhrsXWLDhZKH5HLOKCWJjR86L6F4xosKIWtwf65pcvU4fMGfKB2rRlgQVAmLhXlNB3HOy +CCPrey8ibRygdQPh0G8js0Gke/nYnZ66dwIDAQABoxIwEDAOBgNVHQ8BAf8EBAMCA/gwDQYJKoZI +hvcNAQELBQADggEBAAsMIIpIW57Yl1i6Tgky2VtLeNuwad/d9NySnTyJyTbi6U5in1aR4cJQ550O +dq/Ww6+tJw62GX9QAtl7GNZ9BNrw2QHTwSApwcJd8GLV2FvoVl1WZHMbMbNo44TdcAzLcN0ZF9wn +C8mcE4e/7GS9fcC22Wx4c1O1rxHM/+W3C0/KpmR4u7kLBB2ZM7lyL0i4SJf90Ig0AVEKzQKijLpm +oYIdZ0FW/lmh6UIhrt12JX3EavhQLK679LZiGAVhPvv9KeADt6QUxJXjqMXSe1rOf5e9iFNY1M1a +QY5AvdNNmcU/6G8YC6O/bXnfAZZap95kkauJVHqSSKkD7DOIDYg1vVQ= +-----END CERTIFICATE----- diff --git a/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb_cn/alipayRootCert.crt b/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb_cn/alipayRootCert.crt new file mode 100644 index 000000000..76417c538 --- /dev/null +++ b/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb_cn/alipayRootCert.crt @@ -0,0 +1,88 @@ +-----BEGIN CERTIFICATE----- +MIIBszCCAVegAwIBAgIIaeL+wBcKxnswDAYIKoEcz1UBg3UFADAuMQswCQYDVQQG +EwJDTjEOMAwGA1UECgwFTlJDQUMxDzANBgNVBAMMBlJPT1RDQTAeFw0xMjA3MTQw +MzExNTlaFw00MjA3MDcwMzExNTlaMC4xCzAJBgNVBAYTAkNOMQ4wDAYDVQQKDAVO +UkNBQzEPMA0GA1UEAwwGUk9PVENBMFkwEwYHKoZIzj0CAQYIKoEcz1UBgi0DQgAE +MPCca6pmgcchsTf2UnBeL9rtp4nw+itk1Kzrmbnqo05lUwkwlWK+4OIrtFdAqnRT +V7Q9v1htkv42TsIutzd126NdMFswHwYDVR0jBBgwFoAUTDKxl9kzG8SmBcHG5Yti +W/CXdlgwDAYDVR0TBAUwAwEB/z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EronGUugLpxsjuynoLQu8GQAeysSXKbN1I +UugDo9u8igJORYA+5ms0s5sCUySqbQ2R5z/GoceyI9LdxIVa1RjVX8pYOj8JFwtn +DJN3ftSFvNMYwRuILKuqUYSHc2GPYiHVflDh5nDymCMOQFcFG3WsEuB+EYQPFgIU +1DHmdZcz7Llx8UOZXX2JupWCYzK1XhJb+r4hK5ncf/w8qGtYlmyJpxk3hr1TfUJX +Yf4Zr0fJsGuv +-----END CERTIFICATE----- \ No newline at end of file diff --git a/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb_cn/appCertPublicKey_2021002142651648.crt b/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb_cn/appCertPublicKey_2021002142651648.crt new file mode 100644 index 000000000..4e7c62543 --- /dev/null +++ b/ThinkPHP/Library/Vendor/Alipay2020/cert/hjb_cn/appCertPublicKey_2021002142651648.crt @@ -0,0 +1,24 @@ +-----BEGIN CERTIFICATE----- +MIIEtDCCA5ygAwIBAgIQICEFB1cMG15YqAKM4Sf8JTANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UE +BhMCQ04xFjAUBgNVBAoMDUFudCBGaW5hbmNpYWwxIDAeBgNVBAsMF0NlcnRpZmljYXRpb24gQXV0 +aG9yaXR5MTkwNwYDVQQDDDBBbnQgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5IENs +YXNzIDEgUjEwHhcNMjEwNTA3MDkyMzM2WhcNMjMwNTA3MDkyMzM2WjB8MQswCQYDVQQGEwJDTjEw +MC4GA1UECgwn56aP5bu65qC46IGa5Y+Y572R57uc56eR5oqA5pyJ6ZmQ5YWs5Y+4MQ8wDQYDVQQL +DAZBbGlwYXkxKjAoBgNVBAMMITIwODgwNDEwNTkwMDE2NTktMjAyMTAwMjE0MjY1MTY0ODCCASIw +DQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAIhy0lW1xljvx6jgJQaHKm58Q79jVX32CP11ovwf +4FVrLAiDXDFfYd6RxsCT79DzgkE3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