上传取消匹配代码
This commit is contained in:
parent
07bbaa0d36
commit
a63be757e5
@ -16,7 +16,7 @@ func (this *apiComp) RaceMatchCancelCheck(session comm.IUserSession, req *pb.Par
|
||||
return
|
||||
}
|
||||
|
||||
///匹配请求
|
||||
///取消匹配
|
||||
func (this *apiComp) RaceMatchCancel(session comm.IUserSession, req *pb.ParkourRaceMatchCancelReq) (errdata *pb.ErrorData) {
|
||||
var (
|
||||
team *pb.DBParkour
|
||||
@ -59,6 +59,6 @@ func (this *apiComp) RaceMatchCancel(session comm.IUserSession, req *pb.ParkourR
|
||||
}
|
||||
return
|
||||
}
|
||||
session.SendMsg(string(this.module.GetType()), "racematch", &pb.ParkourRaceMatchResp{})
|
||||
session.SendMsg(string(this.module.GetType()), "racematchcancel", &pb.ParkourRaceMatchCancelResp{})
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user