上传协议修改

This commit is contained in:
liwei1dao 2023-11-10 16:41:06 +08:00
parent 49770c8ba8
commit 3ec6774fca
2 changed files with 2 additions and 2 deletions

View File

@ -43,6 +43,6 @@ func (this *apiComp) Handle(session comm.IUserSession, req *pb.CatchbugsHandleRe
}
return
}
session.SendMsg(string(this.module.GetType()), "handle", &pb.CanineRabbitHandleResp{})
session.SendMsg(string(this.module.GetType()), "handle", &pb.CatchbugsHandleResp{})
return
}

View File

@ -56,7 +56,7 @@ func (this *apiComp) Award(session comm.IUserSession, req *pb.EgghuntAwardReq) (
"egg": info.Egg,
})
session.SendMsg(string(this.module.GetType()), "info", &pb.EgghuntAwardResp{Id: req.Id, Award: atno})
session.SendMsg(string(this.module.GetType()), "award", &pb.EgghuntAwardResp{Id: req.Id, Award: atno})
go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
this.module.WriteUserLog(session.GetUserId(), "EgghuntAwardReq", atno)
})