diff --git a/modules/hunting/api_challengeover.go b/modules/hunting/api_challengeover.go index e145dc588..c6aeb876a 100644 --- a/modules/hunting/api_challengeover.go +++ b/modules/hunting/api_challengeover.go @@ -115,7 +115,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.HuntingCha for _, v := range reward { if _conf, err := this.configure.GetItemConfigureData(v.T); err == nil { if _conf.Usetype == 8 { - this.module.ModuleRtask.SendToRtask(session, comm.Rtype153, v.N) + this.module.ModuleRtask.SendToRtask(session, comm.Rtype154, v.N) } } } @@ -123,7 +123,7 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.HuntingCha for _, v := range cfgHunting.Firstprize { if _conf, err := this.configure.GetItemConfigureData(v.T); err == nil { if _conf.Usetype == 8 { - this.module.ModuleRtask.SendToRtask(session, comm.Rtype153, v.N) + this.module.ModuleRtask.SendToRtask(session, comm.Rtype154, v.N) } } } diff --git a/modules/troll/api_buyorsell.go b/modules/troll/api_buyorsell.go index 0ecdd06b2..368dbce18 100644 --- a/modules/troll/api_buyorsell.go +++ b/modules/troll/api_buyorsell.go @@ -170,6 +170,6 @@ func (this *apiComp) BuyOrSell(session comm.IUserSession, req *pb.TrollBuyOrSell this.module.record.AddTrollRecord(session.GetUserId(), gold, trolltrain.TarinPos) } - this.module.ModuleRtask.SendToRtask(session, comm.Rtype151, 1) + this.module.ModuleRtask.SendToRtask(session, comm.Rtype153, 1) return }