fix config

This commit is contained in:
lwl0608 2024-07-03 15:59:27 +08:00
parent 6f6cf0c7cf
commit 8702c44a2c
4 changed files with 20 additions and 4 deletions

View File

@ -65,6 +65,14 @@ alipay_myts:
alipay_root_cert_path: "/Users/erwin/wishpalv2/service/etc/mix/alipaycert_myts/alipayRootCert.crt"
alipay_public_cert_path: "/Users/erwin/wishpalv2/service/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/KRMldLZ8y9Bc4MJGOpWNlMWoEcN8QQd1LKki0iqMhnGYEy+XkoOsWQgnHgdvF9xmVss1+aRNPW7fO3EDtKqHu1KBccgyGIdUJ3DNV6t+A6fOw50bHuqNVGtTJPiwEhqwfnv5zLwSKzUozUhd0YZUow/W2T1Jz81/jMQKBgQDDpPekBShhwsJTkgHIGBQB36qj0uWqXrRmiWV/HC3rAyHANJ4LzoBjXhnHAggTFrQfnBFp6Oy0Zp9LYZiB1UKCPnbFYV2kpSK/6s0ddMm4R3JyBVFBldGmb3FqIvvj7VEjiqpa6pm4qllD5pmVWkj39JPFjXQ3Z8MZFsjGFD5LWQKBgQC5QZSVzQDvuUhD33PG29vEVE2YFOCWU5Cp+Fs8ncIuxPyAfjekLoOJJMvW03+KYDyT4zX76gdiZu+qAtLTBmMsNYn6f1mfXpSoThkJYdpiGw+YFTf5/fw6YT/B6Zy0aOIWjdw+d5ub91CwLMkjFh6gkEs/HiRMwR9sEQMkTc5tQwKBgGlu353ewbJdeMf8qUUh5LZVyOncX7R+sQ2JAc+Mahp6Z5fjQ0DtmjbyoUWkDKHs3EkknCXNRrK5kyLWh4+AVAVIkE0yeXqfG6j9amhzZboPltdnkjCcAo2FBUPDcqeUXuOeeMviHdFszApRnXblXulxPql536V0H6nHo49LnX6RAoGBAIY4J2jpIHaOrPbP3FgFTpJN6fH3nkgLv1IGKEQgoGG2QqLtz25abN5eFHlOvqcI1prnEWO0ySjYH2fzp79Qb2XGXHNq9QnsQpQ2ERmlFc3igUfUh7vN8oJxlvntQaXMH5HrsdhoXAuCAanCqO+MxR/bq0jNk8swWI25Pad938N1AoGBAKeG3wdQDe2M1QblI8kLZGKvY85/Sn6Kg4XEDh409QnLH2teC/MBtVglRjb6HV+Vmsg4nmGbwSrZ41B8Orxj4s0dAaqGzR/mf8X6eSxCnOo5AdAHbQoj55G3qjoq+QX0G+V1oBjCQ70GxhKLkJvaiRK0+7rWNz5bYu0UK86a7UrY"
notify_url: ""
app_cert_path: "/Users/erwin/wishpalv2/service/etc/mix/alipaycert_xl01/appCertPublicKey_2021004153681591.crt"
alipay_root_cert_path: "/Users/erwin/wishpalv2/service/etc/mix/alipaycert_xl01/alipayRootCert.crt"
alipay_public_cert_path: "/Users/erwin/wishpalv2/service/etc/mix/alipaycert_xl01/alipayCertPublicKey_RSA2.crt"
apollo:
app_id: "wishpal_live_service"
cluster: "dev"

View File

@ -57,6 +57,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/KRMldLZ8y9Bc4MJGOpWNlMWoEcN8QQd1LKki0iqMhnGYEy+XkoOsWQgnHgdvF9xmVss1+aRNPW7fO3EDtKqHu1KBccgyGIdUJ3DNV6t+A6fOw50bHuqNVGtTJPiwEhqwfnv5zLwSKzUozUhd0YZUow/W2T1Jz81/jMQKBgQDDpPekBShhwsJTkgHIGBQB36qj0uWqXrRmiWV/HC3rAyHANJ4LzoBjXhnHAggTFrQfnBFp6Oy0Zp9LYZiB1UKCPnbFYV2kpSK/6s0ddMm4R3JyBVFBldGmb3FqIvvj7VEjiqpa6pm4qllD5pmVWkj39JPFjXQ3Z8MZFsjGFD5LWQKBgQC5QZSVzQDvuUhD33PG29vEVE2YFOCWU5Cp+Fs8ncIuxPyAfjekLoOJJMvW03+KYDyT4zX76gdiZu+qAtLTBmMsNYn6f1mfXpSoThkJYdpiGw+YFTf5/fw6YT/B6Zy0aOIWjdw+d5ub91CwLMkjFh6gkEs/HiRMwR9sEQMkTc5tQwKBgGlu353ewbJdeMf8qUUh5LZVyOncX7R+sQ2JAc+Mahp6Z5fjQ0DtmjbyoUWkDKHs3EkknCXNRrK5kyLWh4+AVAVIkE0yeXqfG6j9amhzZboPltdnkjCcAo2FBUPDcqeUXuOeeMviHdFszApRnXblXulxPql536V0H6nHo49LnX6RAoGBAIY4J2jpIHaOrPbP3FgFTpJN6fH3nkgLv1IGKEQgoGG2QqLtz25abN5eFHlOvqcI1prnEWO0ySjYH2fzp79Qb2XGXHNq9QnsQpQ2ERmlFc3igUfUh7vN8oJxlvntQaXMH5HrsdhoXAuCAanCqO+MxR/bq0jNk8swWI25Pad938N1AoGBAKeG3wdQDe2M1QblI8kLZGKvY85/Sn6Kg4XEDh409QnLH2teC/MBtVglRjb6HV+Vmsg4nmGbwSrZ41B8Orxj4s0dAaqGzR/mf8X6eSxCnOo5AdAHbQoj55G3qjoq+QX0G+V1oBjCQ70GxhKLkJvaiRK0+7rWNz5bYu0UK86a7UrY"
notify_url: "https://api.tiefen.fun/ext/vas/alipay_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"
wxpay:
mchid: "1665016206"
appid: "wxc28fd8aaf31984b6"

View File

@ -80,9 +80,9 @@ alipay_xl01:
appid: "2021004153681591"
private_key: "MIIEvgIBADANBgkqhkiG9w0BAQEFAASCBKgwggSkAgEAAoIBAQCNlFVmQzpE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5LZVyOncX7R+sQ2JAc+Mahp6Z5fjQ0DtmjbyoUWkDKHs3EkknCXNRrK5kyLWh4+AVAVIkE0yeXqfG6j9amhzZboPltdnkjCcAo2FBUPDcqeUXuOeeMviHdFszApRnXblXulxPql536V0H6nHo49LnX6RAoGBAIY4J2jpIHaOrPbP3FgFTpJN6fH3nkgLv1IGKEQgoGG2QqLtz25abN5eFHlOvqcI1prnEWO0ySjYH2fzp79Qb2XGXHNq9QnsQpQ2ERmlFc3igUfUh7vN8oJxlvntQaXMH5HrsdhoXAuCAanCqO+MxR/bq0jNk8swWI25Pad938N1AoGBAKeG3wdQDe2M1QblI8kLZGKvY85/Sn6Kg4XEDh409QnLH2teC/MBtVglRjb6HV+Vmsg4nmGbwSrZ41B8Orxj4s0dAaqGzR/mf8X6eSxCnOo5AdAHbQoj55G3qjoq+QX0G+V1oBjCQ70GxhKLkJvaiRK0+7rWNz5bYu0UK86a7UrY"
notify_url: "https://testapi.tiefen.fun/ext/vas/alipay_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"
app_cert_path: "/app/wishpal-ironfan/etc/mix/alipaycert_xl01/appCertPublicKey_2021004153681591.crt"
alipay_root_cert_path: "/app/wishpal-ironfan/etc/mix/alipaycert_xl01/alipayRootCert.crt"
alipay_public_cert_path: "/app/wishpal-ironfan/etc/mix/alipaycert_xl01/alipayCertPublicKey_RSA2.crt"
apollo:
app_id: "wishpal_live_service"

View File

@ -18,7 +18,7 @@ func TestMain(m *testing.M) {
fmt.Printf("%v\n", err)
}
err = InitMulti(cfg.Alipay, cfg.AlipayMYTS)
err = InitMulti(cfg.Alipay, cfg.AlipayMYTS, cfg.AlipayXL01)
if err != nil {
fmt.Println(err)
os.Exit(1)