This commit is contained in:
aozhiwei 2024-03-20 21:28:59 +08:00
parent 41647c8f1b
commit 334baed12e

View File

@ -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"`