You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
55 lines
952 B
55 lines
952 B
package pg2 |
|
|
|
const ( |
|
APIRlease = "https://openapi-br.atgameapp.com/pub" |
|
APITest = "https://openapi.windygame.net/demo" |
|
LaunchGameURL = "/api/usr/ingame" |
|
GetGameListURL = "/api/game/loadlist" |
|
Lang = "pt" |
|
) |
|
|
|
type Agent struct { |
|
MchId string `json:"mch_id"` |
|
Key string `json:"key"` |
|
} |
|
|
|
var ( |
|
API = "" |
|
AgentMap map[int]Agent |
|
AgentMapTest = map[int]Agent{ |
|
90: { |
|
"10055", |
|
"170779CCC5E9FE29DBB3F5FEDBB304A0", |
|
}, |
|
80: { |
|
"10055", |
|
"170779CCC5E9FE29DBB3F5FEDBB304A0", |
|
}, |
|
60: { |
|
"10055", |
|
"170779CCC5E9FE29DBB3F5FEDBB304A0", |
|
}, |
|
30: { |
|
"10055", |
|
"170779CCC5E9FE29DBB3F5FEDBB304A0", |
|
}, |
|
} |
|
AgentMapRelease = map[int]Agent{ |
|
90: { |
|
"10270", |
|
"ECFEF01A0842C8F7BC9A4EFC089D7E6D", |
|
}, |
|
80: { |
|
"10269", |
|
"0A18B714E125D9C99ABC41E7124D1B15", |
|
}, |
|
60: { |
|
"10268", |
|
"AC846D0F6C83C2F65A7B07AB530DB978", |
|
}, |
|
30: { |
|
"10267", |
|
"30C9928DC1240B507889D4768A186139", |
|
}, |
|
} |
|
)
|
|
|