diff --git a/app/mix/conf/cfg.go b/app/mix/conf/cfg.go index c93c4b49..0569cacb 100644 --- a/app/mix/conf/cfg.go +++ b/app/mix/conf/cfg.go @@ -11,6 +11,7 @@ type ConfigSt struct { WxpayTFZ *configcenter.WxpayClientConfig `json:"wxpay_tfz" yaml:"wxpay_tfz"` // 微信支付 Alipay *configcenter.AlipayClientConfig `json:"alipay" yaml:"alipay"` // 支付宝 心意到了 AlipayMYTS *configcenter.AlipayClientConfig `json:"alipay_myts" yaml:"alipay_myts"` // 支付宝 觅缘天使 + AlipayXL01 *configcenter.AlipayClientConfig `json:"alipay_xl01" yaml:"alipay_xl01"` // 支付宝 星揽01 Apollo *configcenter.ApolloConfig `json:"apollo" yaml:"apollo"` // Apollo Media *configcenter.MediaConfig `json:"media" yaml:"media"` // 媒体配置 Dysmsapi *configcenter.DysmsapiConfig `json:"dysmsapi" yaml:"dysmsapi"` // 阿里云短信服务 diff --git a/app/mix/service/service.go b/app/mix/service/service.go index 9a560786..5c6e308e 100644 --- a/app/mix/service/service.go +++ b/app/mix/service/service.go @@ -170,7 +170,7 @@ func (s *Service) Init(c any) (err error) { s.defaultMelody = melody.New() - err = alipaycli.InitMulti(cfg.Alipay, cfg.AlipayMYTS) + err = alipaycli.InitMulti(cfg.Alipay, cfg.AlipayMYTS, cfg.AlipayXL01) if err != nil { logger.Error("alipaycli.Init fail, cfg: %v, err: %v", util.ToJson(cfg.Alipay), err) return diff --git a/etc/mix/alipaycert_xl01/alipayCertPublicKey_RSA2.crt b/etc/mix/alipaycert_xl01/alipayCertPublicKey_RSA2.crt new file mode 100644 index 00000000..e0029edf --- /dev/null +++ b/etc/mix/alipaycert_xl01/alipayCertPublicKey_RSA2.crt @@ -0,0 +1,43 @@ +-----BEGIN CERTIFICATE----- +MIIDsjCCApqgAwIBAgIQICQHAzR5b8oH4GqNTA34zjANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UE +BhMCQ04xFjAUBgNVBAoMDUFudCBGaW5hbmNpYWwxI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AwEB/zAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQELBQADggIB +AIQ8TzFy4bVIVb8+WhHKCkKNPcJe2EZuIcqvRoi727lZTJOfYy/JzLtckyZYfEI8J0lasZ29wkTt +a1IjSo+a6XdhudU4ONVBrL70U8Kzntplw/6TBNbLFpp7taRALjUgbCOk4EoBMbeCL0GiYYsTS0mw +7xdySzmGQku4GTyqutIGPQwKxSj9iSFw1FCZqr4VP4tyXzMUgc52SzagA6i7AyLedd3tbS6lnR5B +L+W9Kx9hwT8L7WANAxQzv/jGldeuSLN8bsTxlOYlsdjmIGu/C9OWblPYGpjQQIRyvs4Cc/mNhrh+ +14EQgwuemIIFDLOgcD+iISoN8CqegelNcJndFw1PDN6LkVoiHz9p7jzsge8RKay/QW6C03KNDpWZ +EUCgCUdfHfo8xKeR+LL1cfn24HKJmZt8L/aeRZwZ1jwePXFRVtiXELvgJuM/tJDIFj2KD337iV64 +fWcKQ/ydDVGqfDZAdcU4hQdsrPWENwPTQPfVPq2NNLMyIH9+WKx9Ed6/WzeZmIy5ZWpX1TtTolo6 +OJXQFeItMAjHxW/ZSZTok5IS3FuRhExturaInnzjYpx50a6kS34c5+c8hYq7sAtZ/CNLZmBnBCFD +aMQqT8xFZJ5uolUaSeXxg7JFY1QsYp5RKvj4SjFwCGKJ2+hPPe9UyyltxOidNtxjaknOCeBHytOr +-----END CERTIFICATE----- diff --git a/etc/mix/alipaycert_xl01/alipayRootCert.crt b/etc/mix/alipaycert_xl01/alipayRootCert.crt new file mode 100644 index 00000000..d370e5b3 --- /dev/null +++ b/etc/mix/alipaycert_xl01/alipayRootCert.crt @@ -0,0 +1,88 @@ +-----BEGIN CERTIFICATE----- +MIIBszCCAVegAwIBAgIIaeL+wBcKxnswDAYIKoEcz1UBg3UFADAuMQswCQYDVQQG +EwJDTjEOMAwGA1UECgwFTlJDQUMxDzANBgNVBAMMBlJPT1RDQTAeFw0xMjA3MTQw +MzExNTlaFw00MjA3MDcwMzExNT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wHQYDVR0OBBYEFG/oAMxTVe7y0+408CTAK8hA +uTyRMB8GA1UdIwQYMBaAFG/oAMxTVe7y0+408CTAK8hAuTyRMA8GA1UdEwEB/wQF +MAMBAf8wDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBBQUAA4IBAQBLnUTfW7hp +emMbuUGCk7RBswzOT83bDM6824EkUnf+X0iKS95SUNGeeSWK2o/3ALJo5hi7GZr3 +U8eLaWAcYizfO99UXMRBPw5PRR+gXGEronGUugLpxsjuynoLQu8GQAeysSXKbN1I +UugDo9u8igJORYA+5ms0s5sCUySqbQ2R5z/GoceyI9LdxIVa1RjVX8pYOj8JFwtn +DJN3ftSFvNMYwRuILKuqUYSHc2GPYiHVflDh5nDymCMOQFcFG3WsEuB+EYQPFgIU +1DHmdZcz7Llx8UOZXX2JupWCYzK1XhJb+r4hK5ncf/w8qGtYlmyJpxk3hr1TfUJX +Yf4Zr0fJsGuv +-----END CERTIFICATE----- \ No newline at end of file diff --git a/etc/mix/alipaycert_xl01/appCertPublicKey_2021004153681591.crt b/etc/mix/alipaycert_xl01/appCertPublicKey_2021004153681591.crt new file mode 100644 index 00000000..515df1a0 --- /dev/null +++ b/etc/mix/alipaycert_xl01/appCertPublicKey_2021004153681591.crt @@ -0,0 +1,23 @@ +-----BEGIN CERTIFICATE----- +MIIEoDCCA4igAwIBAgIQICQHA0KlRNnCZ1YEetezpTANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UE +BhMCQ04xFjAUBgNVBAoMDUFudCBGaW5hbmNpYWwxIDAeBgNVBAsMF0NlcnRpZmljYXRpb24gQXV0 +aG9yaXR5MTkwNwYDVQQDDDBBbnQgRmluYW5jaWFsIENlcnRpZmljYXRpb24gQXV0aG9yaXR5IENs +YXNzIDEgUjEwHhcNMjQwNzAzMDc0NTA1WhcNMjkwNzAyMDc0NTA1WjBoMQswCQYDVQQGEwJDTjEt +MCsGA1UECgwk5om/5b635o+95pif572R57uc56eR5oqA5pyJ6ZmQ5Y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z8ERsXH3eR4twzQLWQfNkw7eXyr25JhvRRjTVScXP6TSO6/jc6 +WotCDAlu7splwtDWhBs8lKTRT3nh6x6JvW/K7v5aF7OGMLrWDZ7EUNq34woqjtVCLiJAMPQTSUTm +8S9Dk1oegX5z6/FT76EDRV4dIr8T1U/xj7g8WShzovZ1JT99ICCv0oe9eTzpg2I+ +-----END CERTIFICATE----- \ No newline at end of file diff --git a/etc/mix/mix-test.yaml b/etc/mix/mix-test.yaml index 974d83d5..d84f1e47 100644 --- a/etc/mix/mix-test.yaml +++ b/etc/mix/mix-test.yaml @@ -76,6 +76,14 @@ alipay_myts: alipay_root_cert_path: "/app/wishpal-ironfan/etc/mix/alipaycert_myts/alipayRootCert.crt" alipay_public_cert_path: "/app/wishpal-ironfan/etc/mix/alipaycert_myts/alipayCertPublicKey_RSA2.crt" +alipay_xl01: + appid: "2021004153681591" + private_key: "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCNlFVmQzpE296r66hKWA45bG82LjA/8a/v8WT9CMGYNvvn9q7aqP2gt0k1xIDxzQkX66Dnwdkb8zSlEsTD+biOUQP/jQpje8hbbVMxBV9eC1gxdSLEOunCF8mE0vlRQSjNQZhigwMbJKydPSSqwCkwoIYdR63uUYpNFNQoIbBL4b2L/urDvWIU7e61aAmWJeohUUmU0cWa7qo2lLcLBM7m5VH1kQQGAutEagxVezgkUB9rRMr2c/gcoFFDLxDODE4Rp8sRsSlY2sUSDWhaHV59DrwzVeq1IFtW8oNxOUcuxh5UhC/NcFMWZrxwajaZhw8lz2sCLT2rQoh7jMQ5AJ1LAgMBAAECggEAeyx3E+4fLrM/ScFPe8aaMXlWVAPhNHCXyZ/xZXcNvtjvVkM2osPtTLrJNb8NE9F3PNlh9t+efIOd5JOsnnePCjoPyXAyfpS9nlVB0F9FNjOWegjXw3Mh1hwN1cIa6IdQ8SpFYkdrF11T08TTNr7R1x2BMM4g0zsboK4jWfrdP1YNyCM9MB/KRMldLZ8y9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_callback" + app_cert_path: "/app/wishpal-ironfan/etc/mix/alipaycert_myts/appCertPublicKey_2021004153681591.crt" + alipay_root_cert_path: "/app/wishpal-ironfan/etc/mix/alipaycert_myts/alipayRootCert.crt" + alipay_public_cert_path: "/app/wishpal-ironfan/etc/mix/alipaycert_myts/alipayCertPublicKey_RSA2.crt" + apollo: app_id: "wishpal_live_service" cluster: "dev" diff --git a/library/payclients/alipaycli/client.go b/library/payclients/alipaycli/client.go index 0503976c..9258bdcf 100644 --- a/library/payclients/alipaycli/client.go +++ b/library/payclients/alipaycli/client.go @@ -20,6 +20,7 @@ const ( const ( AppIdXinYiDaoLe = "2021004115647165" // 心意到了 AppIdMiYuanTianShi = "2021004135664261" // 觅缘天使 + AppIdXingLan01 = "2021004153681591" // 星揽01 ) var allAlipayClients = map[string]*AlipayClient{}