1
This commit is contained in:
parent
41647c8f1b
commit
334baed12e
@ -68,7 +68,7 @@ func (this *playerMgr) CMLogin(hdr *f5.MsgHdr, msg *cs.CMLogin) {
|
|||||||
url,
|
url,
|
||||||
params,
|
params,
|
||||||
func(rsp f5.HttpCliResponse) {
|
func(rsp f5.HttpCliResponse) {
|
||||||
this.CMLoginResult(hdr, msg, rsp)
|
this.apiAuthCb(hdr, msg, rsp)
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -77,7 +77,7 @@ type HistorySeasons struct {
|
|||||||
WinTimes int `json:"win_times"`
|
WinTimes int `json:"win_times"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *playerMgr) CMLoginResult(hdr *f5.MsgHdr, msg *cs.CMLogin, rsp f5.HttpCliResponse) {
|
func (this *playerMgr) apiAuthCb(hdr *f5.MsgHdr, msg *cs.CMLogin, rsp f5.HttpCliResponse) {
|
||||||
resObj := struct {
|
resObj := struct {
|
||||||
Errcode int `json:"errcode"`
|
Errcode int `json:"errcode"`
|
||||||
Errmsg string `json:"errmsg"`
|
Errmsg string `json:"errmsg"`
|
||||||
|
Loading…
x
Reference in New Issue
Block a user