update
This commit is contained in:
parent
5f2f00ea8c
commit
fc4493f591
@ -135,7 +135,7 @@ func (this *apiComp) Agree(session comm.IUserSession, req *pb.FriendAgreeReq) (c
|
||||
|
||||
// 拥有xx个好友
|
||||
// this.moduleFriend.ModuleRtask.SendToRtask(session, comm.Rtype10, int32(len(agreeIds)))
|
||||
go this.moduleFriend.ModuleRtask.TriggerTask(session.GetUserId(), comm.GettaskParam(comm.Rtype10, int32(len(agreeIds))))
|
||||
this.moduleFriend.ModuleRtask.TriggerTask(session.GetUserId(), comm.GettaskParam(comm.Rtype10, int32(len(agreeIds))))
|
||||
resp := &pb.FriendAgreeResp{
|
||||
Num: optNum,
|
||||
}
|
||||
|
@ -98,6 +98,6 @@ func (this *apiComp) Assisthero(session comm.IUserSession, req *pb.FriendAssisth
|
||||
|
||||
// 随机任务Rtype13
|
||||
// this.moduleFriend.ModuleRtask.SendToRtask(session, comm.Rtype13, 1)
|
||||
go this.moduleFriend.ModuleRtask.TriggerTask(session.GetUserId(), comm.GettaskParam(comm.Rtype13, 1))
|
||||
this.moduleFriend.ModuleRtask.TriggerTask(session.GetUserId(), comm.GettaskParam(comm.Rtype13, 1))
|
||||
return
|
||||
}
|
||||
|
@ -100,6 +100,6 @@ func (this *apiComp) Zan(session comm.IUserSession, req *pb.FriendZanReq) (code
|
||||
|
||||
// 赠送X次友情点
|
||||
// this.moduleFriend.ModuleRtask.SendToRtask(session, comm.Rtype11, 1)
|
||||
go this.moduleFriend.ModuleRtask.TriggerTask(session.GetUserId(), comm.GettaskParam(comm.Rtype11, 1))
|
||||
this.moduleFriend.ModuleRtask.TriggerTask(session.GetUserId(), comm.GettaskParam(comm.Rtype11, 1))
|
||||
return
|
||||
}
|
||||
|
@ -596,7 +596,7 @@ func (this *ModelHero) AddCardExp(session comm.IUserSession, hero *pb.DBHero, ex
|
||||
}
|
||||
}
|
||||
szTask = append(szTask, comm.GettaskParam(comm.Rtype33, 1, 1, hero.Lv))
|
||||
go this.moduleHero.ModuleRtask.TriggerTask(session.GetUserId(), szTask...)
|
||||
this.moduleHero.ModuleRtask.TriggerTask(session.GetUserId(), szTask...)
|
||||
//this.moduleHero.ModuleRtask.SendToRtask(session, comm.Rtype33, 1, 1, hero.Lv)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user