更新请求pay项目域名为pay.api.gaore.com
This commit is contained in:
parent
1902a769f8
commit
e89f227e54
@ -10,12 +10,12 @@ const (
|
||||
)
|
||||
|
||||
var HOST requests.Host = requests.Host{
|
||||
Default: "pay.gaore.com",
|
||||
Default: "pay.api.gaore.com",
|
||||
Func: func(s string) string {
|
||||
var a = map[string]string{
|
||||
requests.RELEASE: "pay.gaore.com",
|
||||
requests.PRE: "pay.gaore.com",
|
||||
requests.TEST: "pay.gaore.com",
|
||||
requests.RELEASE: "pay.api.gaore.com",
|
||||
requests.PRE: "pay.api.gaore.com",
|
||||
requests.TEST: "pay.api.gaore.com",
|
||||
}
|
||||
return a[s]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user