7
0

更新请求pay项目域名为pay.api.gaore.com

This commit is contained in:
许 洋 2024-11-06 14:46:44 +08:00
parent 1902a769f8
commit e89f227e54

View File

@ -10,12 +10,12 @@ const (
) )
var HOST requests.Host = requests.Host{ var HOST requests.Host = requests.Host{
Default: "pay.gaore.com", Default: "pay.api.gaore.com",
Func: func(s string) string { Func: func(s string) string {
var a = map[string]string{ var a = map[string]string{
requests.RELEASE: "pay.gaore.com", requests.RELEASE: "pay.api.gaore.com",
requests.PRE: "pay.gaore.com", requests.PRE: "pay.api.gaore.com",
requests.TEST: "pay.gaore.com", requests.TEST: "pay.api.gaore.com",
} }
return a[s] return a[s]
}, },