This commit is contained in:
yangduo 2024-12-24 13:51:53 +08:00
parent 04a2e716fe
commit 4dd369729d
2 changed files with 5 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{
"gameapi_url": "https://game2006api-test.kingsome.cn",
"jwks_uri": "https://auth.immutable.com/.well-known/jwks.json"
"wx_url": "api.weixin.qq.com|api2.weixin.qq.com|sh.api.weixin.qq.com|sz.api.weixin.qq.com|hk.api.weixin.qq.com"
}

View File

@ -121,7 +121,7 @@ func (wp *wxpay) QueryBalance(openid string, gameid int64, userip string, sessio
sendRequest := false
urls := mt.Table.Config.GetWxUrl()
for _, urlheader := range urls {
url := urlheader + queryuri
url := "https://" + urlheader + queryuri
f5.GetHttpCliMgr().SendGoStylePost(
url,
params,
@ -129,7 +129,7 @@ func (wp *wxpay) QueryBalance(openid string, gameid int64, userip string, sessio
poststr,
func(rsp f5.HttpCliResponse) {
if rsp.GetErr() != nil {
return
}
sendRequest = true
@ -205,7 +205,7 @@ func (wp *wxpay) QueryPay(openid string, gameid int64, userip string, sessionkey
sendRequest := false
urls := mt.Table.Config.GetWxUrl()
for _, urlheader := range urls {
url := urlheader + queryuri
url := "https://" + urlheader + queryuri
f5.GetHttpCliMgr().SendGoStylePost(
url,
params,
@ -213,7 +213,7 @@ func (wp *wxpay) QueryPay(openid string, gameid int64, userip string, sessionkey
poststr,
func(rsp f5.HttpCliResponse) {
if rsp.GetErr() != nil {
return
}
sendRequest = true