上传代码
This commit is contained in:
parent
440758cad8
commit
2b138edc69
@ -46,6 +46,7 @@ func (this *ModelWTask) getUserWTasks(uid string) (results *pb.DBWTask, err erro
|
||||
Completes: make([]int32, 0),
|
||||
Groups: make(map[int32]int32),
|
||||
Boxs: make(map[int32]*pb.DBWTaskBox),
|
||||
Exchange: make(map[int32]int32),
|
||||
}
|
||||
err = this.Add(uid, results)
|
||||
}
|
||||
@ -61,6 +62,7 @@ func (this *ModelWTask) updateUserWTasks(uid string, data *pb.DBWTask) (err erro
|
||||
"groups": data.Groups,
|
||||
"boxs": data.Boxs,
|
||||
"dailytaskgroup": data.Dailytaskgroup,
|
||||
"exchange": data.Exchange,
|
||||
}); err != nil {
|
||||
this.module.Error("更新用户任务数据 错误!", log.Field{Key: "err", Value: err.Error()})
|
||||
return
|
||||
|
Loading…
Reference in New Issue
Block a user