diff --git a/server/imserver_new/player/playermgr.go b/server/imserver_new/player/playermgr.go index e75b327b..18e7460e 100644 --- a/server/imserver_new/player/playermgr.go +++ b/server/imserver_new/player/playermgr.go @@ -68,7 +68,7 @@ func (this *playerMgr) CMLogin(hdr *f5.MsgHdr, msg *cs.CMLogin) { url, params, 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"` } -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 { Errcode int `json:"errcode"` Errmsg string `json:"errmsg"`