Merge branch 'dev' of http://git.legu.cc/liwei_3d/go_dreamfactory into dev
This commit is contained in:
commit
06cb3d6bf2
@ -125,6 +125,10 @@ func (this *apiComp) Finish(session comm.IUserSession, req *pb.WorldtaskFinishRe
|
||||
finishCall()
|
||||
} else {
|
||||
this.module.Debug("任务完成条件未通过", log.Fields{"uid": uid, "condiId": curTaskConf.Completetask})
|
||||
if err := session.SendMsg(string(this.module.GetType()), WorldtaskSubtypeFinish, rsp); err != nil {
|
||||
code = pb.ErrorCode_SystemError
|
||||
return
|
||||
}
|
||||
return
|
||||
}
|
||||
} else {
|
||||
|
@ -94,6 +94,7 @@ func (this *Worldtask) TaskcondNotify(session comm.IUserSession, condId int32) e
|
||||
}
|
||||
taskConf, err := this.configure.getWorldtaskById(taskId)
|
||||
if err != nil {
|
||||
this.Error("world_task config not found", logFields)
|
||||
return err
|
||||
}
|
||||
if taskConf != nil {
|
||||
|
Loading…
Reference in New Issue
Block a user