上传代码

This commit is contained in:
liwei 2023-07-28 18:22:56 +08:00
parent 3de933fc60
commit e71e47992d
3 changed files with 8 additions and 1 deletions

View File

@ -116,7 +116,11 @@ func (this *Mainline) BingoJumpLevel(session comm.IUserSession, level int32) (er
}
return
}
info.Level = make(map[int32]int32)
info.Lastlevel = make(map[int32]int32)
info.Chapteraward = make(map[int32]*pb.DBMainlineAward)
info.Exploreaward = make(map[int32]*pb.DBMainlineAward)
info.Groupaward = make(map[int32]*pb.DBMainlineAward)
for _, v := range confs {
if v.Id <= level {
info.Level[v.Id] = 7

View File

@ -64,6 +64,7 @@ func (this *ModelWTask) updateUserWTasks(uid string, data *pb.DBWTask) (err erro
"boxs": data.Boxs,
"dailytaskgroup": data.Dailytaskgroup,
"exchange": data.Exchange,
"events": data.Events,
}); err != nil {
this.module.Error("更新用户任务数据 错误!", log.Field{Key: "err", Value: err.Error()})
return

View File

@ -348,6 +348,8 @@ func (this *WTask) ResetDailytaskTask(session comm.IUserSession, dailytaskid int
wtask.Accepts = accepts
wtask.Completes = completes
wtask.Dailytaskgroup = dailytaskid
wtask.Exchange = make(map[int32]int32)
wtask.Events = make(map[int32]int32)
if len(condiIds) > 0 {
if err = this.ModuleBuried.ActiveCondition(session.GetUserId(), condiIds...); err != nil {
errdata = &pb.ErrorData{