1
This commit is contained in:
parent
0a632ed9cd
commit
626fe8c4cd
@ -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"`
|
||||||
|
@ -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
|
||||||
})
|
})
|
||||||
|
Loading…
x
Reference in New Issue
Block a user