注释随机周任务
This commit is contained in:
parent
00c07d4374
commit
057fa83752
@ -69,7 +69,7 @@ func (this *apiComp) Mine(session comm.IUserSession, req *pb.WorldtaskMineReq) (
|
||||
}
|
||||
|
||||
condIds = utils.RemoveDuplicate(condIds)
|
||||
this.module.modelWorldtask.updateRandomTask(uid, myWorldtask)
|
||||
// this.module.modelWorldtask.updateRandomTask(uid, myWorldtask)
|
||||
|
||||
// 查询任务的条件进度
|
||||
conds, err := this.module.ModuleBuried.CheckCondition(uid, condIds...)
|
||||
|
@ -195,7 +195,7 @@ func (this *ModelWorldtask) updateCurrentTaskCond(uid string, userLv int32, user
|
||||
|
||||
// 任务完成推送
|
||||
func (this *ModelWorldtask) taskFinishPush(session comm.IUserSession, userTask *pb.DBWorldtask, curTaskConf *cfg.GameWorldTaskData) {
|
||||
this.updateRandomTask(session.GetUserId(), userTask)
|
||||
// this.updateRandomTask(session.GetUserId(), userTask)
|
||||
u := this.moduleWorldtask.ModuleUser.GetUser(session.GetUserId())
|
||||
if u == nil {
|
||||
return
|
||||
|
@ -488,7 +488,7 @@ func (this *Worldtask) UpdateTaskStatus(uid string, taskId int32) {
|
||||
}
|
||||
|
||||
if err := this.modelWorldtask.Change(uid, update); err != nil {
|
||||
|
||||
this.Error(err.Error())
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user