This commit is contained in:
aozhiwei 2024-04-20 15:21:16 +08:00
parent 0a632ed9cd
commit 626fe8c4cd
2 changed files with 12 additions and 1 deletions

View File

@ -71,6 +71,15 @@ type MapInfoRsp struct {
//NeedTicket int32 `json:"need_ticket"` //NeedTicket int32 `json:"need_ticket"`
} }
type UserQueryStatusRsp struct {
Errcode int `json:"errcode"`
Errmsg string `json:"errmsg"`
Users []struct {
AccountId string `json:"account_id"`
Battling string `json:"battling"`
}
}
type UpdateBattleInfoRsp struct { type UpdateBattleInfoRsp struct {
Errcode int `json:"errcode"` Errcode int `json:"errcode"`
Errmsg string `json:"errmsg"` Errmsg string `json:"errmsg"`

View File

@ -627,9 +627,11 @@ func (this *team) checkMemberState() {
} }
url := fmt.Sprintf("%s/webapp/index.php", url := fmt.Sprintf("%s/webapp/index.php",
mt.Table.Config.GetById(0).GetFriendapiUrl()) mt.Table.Config.GetById(0).GetFriendapiUrl())
f5.GetHttpCliMgr().SendJsStyleRequest( rspObj := new(common.UserQueryStatusRsp)
f5.GetHttpCliMgr().SendJsStyleJsonRspRequest(
url, url,
params, params,
rspObj,
func(rsp f5.HttpCliResponse) { func(rsp f5.HttpCliResponse) {
sending = false sending = false
}) })