世界任务GM修复
This commit is contained in:
parent
6f691d06ae
commit
48c68c04fd
@ -160,6 +160,14 @@ func (this *Worldtask) BingoJumpTask(session comm.IUserSession, groupId, taskId
|
||||
this.Error("添加世界任务失败", log.Field{Key: "uid", Value: uid}, log.Field{Key: "err", Value: err})
|
||||
return err
|
||||
}
|
||||
} else if mytask.Uid == "" {
|
||||
update := map[string]interface{}{
|
||||
"uid": uid,
|
||||
}
|
||||
if err := this.modelWorldtask.Change(uid, update); err != nil {
|
||||
this.Error("更新世界任务失败", log.Field{Key: "uid", Value: uid}, log.Field{Key: "err", Value: err})
|
||||
return err
|
||||
}
|
||||
}
|
||||
|
||||
if _, ok := utils.Findx(mytask.TaskList, taskId); ok {
|
||||
|
Loading…
Reference in New Issue
Block a user