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