上传星像埋点
This commit is contained in:
parent
fc2f667599
commit
978fe81b35
@ -52,6 +52,9 @@ func (this *apiComp) Upgrade(session comm.IUserSession, req *pb.HoroscopeUpgrade
|
||||
return
|
||||
}
|
||||
info.Nodes[conf.NodeId] = conf.Lv + 1
|
||||
if info.Nodes[conf.NodeId] == 1 { //解锁
|
||||
go this.module.ModuleRtask.TriggerTask(session.GetUserId(), comm.GettaskParam(comm.Rtype173, 1))
|
||||
}
|
||||
if err = this.module.modelHoroscope.updateInfo(session, info); err != nil {
|
||||
code = pb.ErrorCode_DBError
|
||||
return
|
||||
|
@ -317,7 +317,7 @@ func (this *ModuleRtask) TriggerTask(uid string, taskParams ...*comm.TaskParam)
|
||||
}
|
||||
|
||||
func (this *ModuleRtask) processTasks(session comm.IUserSession, taskParams ...*comm.TaskParam) {
|
||||
|
||||
|
||||
lock, _ := this.modelRtask.userlock(session.GetUserId())
|
||||
err := lock.Lock()
|
||||
if err != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user