whqm
This commit is contained in:
parent
13923a1828
commit
95976cfa84
|
@ -15,6 +15,7 @@ type ConfigSt struct {
|
|||
AlipayMYTS *configcenter.AlipayClientConfig `json:"alipay_myts" yaml:"alipay_myts"` // 支付宝 觅缘天使
|
||||
AlipayLX01 *configcenter.AlipayClientConfig `json:"alipay_lx01" yaml:"alipay_lx01"` // 支付宝 揽星02
|
||||
AlipayLX02 *configcenter.AlipayClientConfig `json:"alipay_lx02" yaml:"alipay_lx02"` // 支付宝 揽星02
|
||||
AlipayWHQM *configcenter.AlipayClientConfig `json:"alipay_whqm" yaml:"alipay_whqm"` // 支付宝 揽星02
|
||||
Apollo *configcenter.ApolloConfig `json:"apollo" yaml:"apollo"` // Apollo
|
||||
Media *configcenter.MediaConfig `json:"media" yaml:"media"` // 媒体配置
|
||||
Dysmsapi *configcenter.DysmsapiConfig `json:"dysmsapi" yaml:"dysmsapi"` // 阿里云短信服务
|
||||
|
|
|
@ -188,7 +188,7 @@ func (s *Service) Init(c any) (err error) {
|
|||
logger.Error("cryptoService init, err: %v", err)
|
||||
}
|
||||
|
||||
err = alipaycli.InitMulti(cfg.Alipay, cfg.AlipayMYTS, cfg.AlipayLX01, cfg.AlipayLX02)
|
||||
err = alipaycli.InitMulti(cfg.Alipay, cfg.AlipayMYTS, cfg.AlipayLX01, cfg.AlipayLX02, cfg.AlipayWHQM)
|
||||
if err != nil {
|
||||
logger.Error("alipaycli.Init fail, cfg: %v, err: %v", util.ToJson(cfg.Alipay), err)
|
||||
return
|
||||
|
|
|
@ -0,0 +1,43 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIDsjCCApqgAwIBAgIQICQSGPQgTpni5VzlhxJLgTANBgkqhkiG9w0BAQsFADCBgjELMAkGA1UE
|
||||
BhMCQ04xFjAUBgNVBAoMDUFudCBGaW5hbmNpYWwxIDAeBgNVBAsMF0NlcnRpZmljYXRpb24gQXV0
|
||||
aG9yaXR5MTkwNwYDVQQDDDBBbnQgRmluYW5jaWFsIENl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ADCCAQoCggEBAOPPShpV
|
||||
nJbMqqCw6Bz1kehnoPst9pkr0V9idOwU2oyS47/HjJXk9Rd5a9xfwkPO88trUpz5
|
||||
4GmmwspDXjVFu9L0eFaRuH3KMha1Ak01citbF7cQLJlS7XI+tpkTGHEY5pt3EsQg
|
||||
wykfZl/A1jrnSkspMS997r2Gim54cwz+mTMgDRhZsKK/lbOeBPpWtcFizjXYCqhw
|
||||
WktvQfZBYi6o4sHCshnOswi4yV1p+LuFcQ2ciYdWvULh1eZhLxHbGXyznYHi0dGN
|
||||
z+I9H8aXxqAQfHVhbdHNzi77hCxFjOy+hHrGsyzjrd2swVQ2iUWP8BfEQqGLqM1g
|
||||
KgWKYfcTGdbPB1MCAwEAAaNjMGEwHQYDVR0OBBYEFG/oAMxTVe7y0+408CTAK8hA
|
||||
uTyRMB8GA1UdIwQYMBaAFG/oAMxTVe7y0+408CTAK8hAuTyRMA8GA1UdEwEB/wQF
|
||||
MAMBAf8wDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBBQUAA4IBAQBLnUTfW7hp
|
||||
emMbuUGCk7RBswzOT83bDM6824EkUnf+X0iKS95SUNGeeSWK2o/3ALJo5hi7GZr3
|
||||
U8eLaWAcYizfO99UXMRBPw5PRR+gXGEronGUugLpxsjuynoLQu8GQAeysSXKbN1I
|
||||
UugDo9u8igJORYA+5ms0s5sCUySqbQ2R5z/GoceyI9LdxIVa1RjVX8pYOj8JFwtn
|
||||
DJN3ftSFvNMYwRuILKuqUYSHc2GPYiHVflDh5nDymCMOQFcFG3WsEuB+EYQPFgIU
|
||||
1DHmdZcz7Llx8UOZXX2JupWCYzK1XhJb+r4hK5ncf/w8qGtYlmyJpxk3hr1TfUJX
|
||||
Yf4Zr0fJsGuv
|
||||
-----END CERTIFICATE-----
|
|
@ -0,0 +1,23 @@
|
|||
-----BEGIN CERTIFICATE-----
|
||||
MIIEoDCCA4igAwIBAgIQICQSGJi0WT2E6eRlL0svfzANBgkqhkiG9w0BAQ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1UdHwQoMCYwJKAioCCGHmh0dHA6Ly9jYS5hbGlw
|
||||
YXkuY29tL2NybDk2LmNybDBgBggrBgEFBQcBAQRUMFIwKAYIKwYBBQUHMAKGHGh0dHA6Ly9jYS5h
|
||||
bGlwYXkuY29tL2NhNi5jZXIwJgYIKwYBBQUHMAGGGmh0dHA6Ly9jYS5hbGlwYXkuY29tOjgzNDAv
|
||||
MA0GCSqGSIb3DQEBCwUAA4IBAQBaDjQ9yVZjrB2xsihPM9ElrrzHZ5iKkOwZmTZkZZt6gDJgDPKN
|
||||
rFerFlsdo+QFB/lc3Ac1v8wUiyZf0KtlOmkHqnJhnUH27kxMm7GjlUwtbyZLjEZbj84bedVDWbF0
|
||||
bsYNGFxwA0oOFlOfFgJow6Xj9L3ZILxKKTKTAWphQd2k09vo5jRc096Oq7or8qMI3uIRjzrFVXdL
|
||||
rSADUJbq3vYk5UKVBtu76Ps2r7Jii4aXaasIglqTwCL3cw+w6LC6g821x5ZGxW/TyhPMiFZMnjOb
|
||||
2k+MQ/2SAQ5GccjxM3HzlzapErCpTx4tuuHfKtJbfcfb45hirUVHvuAXQEEXMtba
|
||||
-----END CERTIFICATE-----
|
|
@ -97,6 +97,14 @@ alipay_lx02:
|
|||
alipay_root_cert_path: "/Users/erwin/wishpalv2/service/etc/mix/alipaycert_lx02/alipayRootCert.crt"
|
||||
alipay_public_cert_path: "/Users/erwin/wishpalv2/service/etc/mix/alipaycert_lx02/alipayCertPublicKey_RSA2.crt"
|
||||
|
||||
alipay_whqm:
|
||||
appid: "2021005107600998"
|
||||
private_key: "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCKOO+zs2pxvqzKk9xGc2ZEjD8H3AOq/crjSgZBKhzSDFqR7fGPGWZbazAQRCsJW/qKKgpzMwnib4K846gNFLk4rCiGzgRb4q/zznL3LIvCNxcZ1p1oEPYjjkS2q3YU/uXUp/6IpJ8wPE2odz/bdMJJTNi2Fgz2mVa2OszNYKo4BXy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EW0Ge+lj3MBL0GoTLHXB313F6I1RkE9sxdlLvAd1YHPdTwAi9bHOIykYuW3XGGWEKoLcVEM1u7Uwj9oB31kg7Upn3ZSteJUo9DtQ3WIl5exlhR8pqrrd2ZDRzBs3A7SrUat4ZAhBAoGAQ635JCPUjf0+2TcdFO35xB6TZgsRsxwc82l18t4Z6ba50BzkZM/e+UftngwoH0TMzfUPjc7Xqsw/7o/ZHFOo2MWrZH0XJjZ0vGarmbZzKm0RXbo6HLQpYCRiR6xqk9EgyXNGz/ruPXNFQLLs71N3mMWe/UdBrwess417Uh0vOXo="
|
||||
notify_url: ""
|
||||
app_cert_path: "/Users/erwin/wishpalv2/service/etc/mix/alipaycert_whqm/appCertPublicKey_2021005107600998.crt"
|
||||
alipay_root_cert_path: "/Users/erwin/wishpalv2/service/etc/mix/alipaycert_whqm/alipayRootCert.crt"
|
||||
alipay_public_cert_path: "/Users/erwin/wishpalv2/service/etc/mix/alipaycert_whqm/alipayCertPublicKey_RSA2.crt"
|
||||
|
||||
apollo:
|
||||
app_id: "wishpal_live_service"
|
||||
cluster: "dev"
|
||||
|
|
|
@ -74,6 +74,14 @@ alipay_lx02:
|
|||
alipay_root_cert_path: "/app/wishpal-ironfan-offline/etc/mix/alipaycert_lx02/alipayRootCert.crt"
|
||||
alipay_public_cert_path: "/app/wishpal-ironfan-offline/etc/mix/alipaycert_lx02/alipayCertPublicKey_RSA2.crt"
|
||||
|
||||
alipay_whqm:
|
||||
appid: "2021005107600998"
|
||||
private_key: "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCKOO+zs2pxvqzKk9xGc2ZEjD8H3AOq/crjSgZBKhzSDFqR7fGPGWZbazAQRCsJW/qKKgpzMwnib4K846gNFLk4rCiGzgRb4q/zznL3LIvCNxcZ1p1oEPYjjkS2q3YU/uXUp/6IpJ8wPE2odz/bdMJJTNi2Fgz2mVa2OszNYKo4BXy8YbVDwtZ2yhf52898Votsm1SXuYFGffVWTEqFP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LvAd1YHPdTwAi9bHOIykYuW3XGGWEKoLcVEM1u7Uwj9oB31kg7Upn3ZSteJUo9DtQ3WIl5exlhR8pqrrd2ZDRzBs3A7SrUat4ZAhBAoGAQ635JCPUjf0+2TcdFO35xB6TZgsRsxwc82l18t4Z6ba50BzkZM/e+UftngwoH0TMzfUPjc7Xqsw/7o/ZHFOo2MWrZH0XJjZ0vGarmbZzKm0RXbo6HLQpYCRiR6xqk9EgyXNGz/ruPXNFQLLs71N3mMWe/UdBrwess417Uh0vOXo="
|
||||
notify_url: "https://api.tiefen.fun/ext/vas/alipay_callback"
|
||||
app_cert_path: "/app/wishpal-ironfan-offline/etc/mix/alipaycert_whqm/appCertPublicKey_2021005107600998.crt"
|
||||
alipay_root_cert_path: "/app/wishpal-ironfan-offline/etc/mix/alipaycert_whqm/alipayRootCert.crt"
|
||||
alipay_public_cert_path: "/app/wishpal-ironfan-offline/etc/mix/alipaycert_whqm/alipayCertPublicKey_RSA2.crt"
|
||||
|
||||
wxpay:
|
||||
mchid: "1665016206"
|
||||
appid: "wxc28fd8aaf31984b6"
|
||||
|
|
|
@ -74,6 +74,14 @@ alipay_lx02:
|
|||
alipay_root_cert_path: "/app/wishpal-ironfan/etc/mix/alipaycert_lx02/alipayRootCert.crt"
|
||||
alipay_public_cert_path: "/app/wishpal-ironfan/etc/mix/alipaycert_lx02/alipayCertPublicKey_RSA2.crt"
|
||||
|
||||
alipay_whqm:
|
||||
appid: "2021005107600998"
|
||||
private_key: "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCKOO+zs2pxvqzKk9xGc2ZEjD8H3AOq/crjSgZBKhzSDFqR7fGPGWZbazAQRCsJW/qKKgpzMwnib4K846gNFLk4rCiGzgRb4q/zznL3LIvCNxcZ1p1oEPYjjkS2q3YU/uXUp/6IpJ8wPE2odz/bdMJJTNi2Fgz2mVa2OszNYKo4BXy8YbVDwtZ2yhf52898Votsm1SXuYFGffVWTEqFP7DoGFGl3F3P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Ai9bHOIykYuW3XGGWEKoLcVEM1u7Uwj9oB31kg7Upn3ZSteJUo9DtQ3WIl5exlhR8pqrrd2ZDRzBs3A7SrUat4ZAhBAoGAQ635JCPUjf0+2TcdFO35xB6TZgsRsxwc82l18t4Z6ba50BzkZM/e+UftngwoH0TMzfUPjc7Xqsw/7o/ZHFOo2MWrZH0XJjZ0vGarmbZzKm0RXbo6HLQpYCRiR6xqk9EgyXNGz/ruPXNFQLLs71N3mMWe/UdBrwess417Uh0vOXo="
|
||||
notify_url: "https://api.tiefen.fun/ext/vas/alipay_callback"
|
||||
app_cert_path: "/app/wishpal-ironfan-offline/etc/mix/alipaycert_whqm/appCertPublicKey_2021005107600998.crt"
|
||||
alipay_root_cert_path: "/app/wishpal-ironfan-offline/etc/mix/alipaycert_whqm/alipayRootCert.crt"
|
||||
alipay_public_cert_path: "/app/wishpal-ironfan-offline/etc/mix/alipaycert_whqm/alipayCertPublicKey_RSA2.crt"
|
||||
|
||||
wxpay:
|
||||
mchid: "1665016206"
|
||||
appid: "wxc28fd8aaf31984b6"
|
||||
|
|
|
@ -109,6 +109,14 @@ alipay_lx02:
|
|||
alipay_root_cert_path: "/app/wishpal-ironfan/etc/mix/alipaycert_lx02/alipayRootCert.crt"
|
||||
alipay_public_cert_path: "/app/wishpal-ironfan/etc/mix/alipaycert_lx02/alipayCertPublicKey_RSA2.crt"
|
||||
|
||||
alipay_whqm:
|
||||
appid: "2021005107600998"
|
||||
private_key: "MIIEvQIBADANBgkqhkiG9w0BAQEFAASCBKcwggSjAgEAAoIBAQCKOO+zs2pxvqzKk9xGc2ZEjD8H3AOq/crjSgZBKhzSDFqR7fGPGWZbazAQRCsJW/qKKgpzMwnib4K846gNFLk4rCiGzgRb4q/zznL3LIvCNxcZ1p1oEPYjjkS2q3YU/uXUp/6IpJ8wPE2odz/bdMJJTNi2Fgz2mVa2OszNYKo4BXy8YbVDwtZ2yhf52898Votsm1SXuYFGffVWTEqFP7DoGFGl3F3PiDiGSZr7rgF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3XGGWEKoLcVEM1u7Uwj9oB31kg7Upn3ZSteJUo9DtQ3WIl5exlhR8pqrrd2ZDRzBs3A7SrUat4ZAhBAoGAQ635JCPUjf0+2TcdFO35xB6TZgsRsxwc82l18t4Z6ba50BzkZM/e+UftngwoH0TMzfUPjc7Xqsw/7o/ZHFOo2MWrZH0XJjZ0vGarmbZzKm0RXbo6HLQpYCRiR6xqk9EgyXNGz/ruPXNFQLLs71N3mMWe/UdBrwess417Uh0vOXo="
|
||||
notify_url: "https://testapi.tiefen.fun/ext/vas/alipay_callback"
|
||||
app_cert_path: "/app/wishpal-ironfan-offline/etc/mix/alipaycert_whqm/appCertPublicKey_2021005107600998.crt"
|
||||
alipay_root_cert_path: "/app/wishpal-ironfan-offline/etc/mix/alipaycert_whqm/alipayRootCert.crt"
|
||||
alipay_public_cert_path: "/app/wishpal-ironfan-offline/etc/mix/alipaycert_whqm/alipayCertPublicKey_RSA2.crt"
|
||||
|
||||
apollo:
|
||||
app_id: "wishpal_live_service"
|
||||
cluster: "dev"
|
||||
|
|
|
@ -23,6 +23,7 @@ const (
|
|||
AppIdMiYuanTianShi = "2021004135664261" // 觅缘天使
|
||||
AppIdLanXing01 = "2021004153681591" // 揽星01
|
||||
AppIdLanXing02 = "2021004153620449" // 揽星02
|
||||
AppIdWanHuiQiMing = "2021005107600998" // 万辉启明
|
||||
)
|
||||
|
||||
var allAlipayClients = map[string]*AlipayClient{}
|
||||
|
|
|
@ -18,7 +18,7 @@ func TestMain(m *testing.M) {
|
|||
fmt.Printf("%v\n", err)
|
||||
}
|
||||
|
||||
err = InitMulti(cfg.Alipay, cfg.AlipayMYTS, cfg.AlipayLX01, cfg.AlipayLX02)
|
||||
err = InitMulti(cfg.Alipay, cfg.AlipayMYTS, cfg.AlipayLX01, cfg.AlipayLX02, cfg.AlipayWHQM)
|
||||
if err != nil {
|
||||
fmt.Println(err)
|
||||
os.Exit(1)
|
||||
|
@ -27,7 +27,7 @@ func TestMain(m *testing.M) {
|
|||
}
|
||||
|
||||
func TestAlipayClient_WapPay(t *testing.T) {
|
||||
cli := GetAlipayClientByAppId(AppIdLanXing02)
|
||||
cli := GetAlipayClientByAppId(AppIdWanHuiQiMing)
|
||||
paramStr, err := cli.WapPay(context.Background(), &WapPayParam{
|
||||
OutTradeNo: idgenerator.GenOrderId(),
|
||||
Subject: "哈哈",
|
||||
|
@ -129,11 +129,3 @@ func TestFillOid3(t *testing.T) {
|
|||
f.Write(content)
|
||||
}
|
||||
}
|
||||
|
||||
func TestAlipayClient_QueryBills(t *testing.T) {
|
||||
cliMYTS := GetAlipayClientByAppId(AppIdMiYuanTianShi)
|
||||
resp, _ := cliMYTS.QueryBills(context.Background(), nil)
|
||||
//t.Log(err.Error())
|
||||
t.Log(util.ToJson(resp.Response))
|
||||
fmt.Println(resp.Response.TotalAmount)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue