上传复合调查的协议修复

This commit is contained in:
liwei 2023-07-31 15:40:15 +08:00
parent 14d23b28b9
commit d764899b85
2 changed files with 2 additions and 2 deletions

View File

@ -50,7 +50,7 @@ func (this *apiComp) BattleEvent(session comm.IUserSession, req *pb.WTaskBattleE
}); err != nil {
return
}
session.SendMsg(string(this.module.GetType()), "battlestart", &pb.WTaskBattleEventResp{
session.SendMsg(string(this.module.GetType()), "battleevent", &pb.WTaskBattleEventResp{
Group: req.Group,
Event: req.Event,
Info: &pb.BattleInfo{

View File

@ -94,6 +94,6 @@ func (this *apiComp) EventComplete(session comm.IUserSession, req *pb.WTaskEvent
return
}
session.SendMsg(string(this.module.GetType()), "eventtarget", &pb.WTaskEventCompleteResp{Group: req.Group, Event: event, Award: award})
session.SendMsg(string(this.module.GetType()), "eventcomplete", &pb.WTaskEventCompleteResp{Group: req.Group, Event: event, Award: award})
return
}