This commit is contained in:
wh_zcy 2023-03-17 15:42:47 +08:00
parent 5080121075
commit e3ef151ac2

View File

@ -36,15 +36,10 @@ func (this *ModelRtaskRecord) overrideUpdate(uid string, cfg *cfg.GameRdtaskCond
} }
if v, ok := record.Vals[cfg.Id]; ok { if v, ok := record.Vals[cfg.Id]; ok {
v.Data = hasUpdateData(paramLen, v, vals...) dd := hasUpdateData(paramLen, v, vals...)
if len(v.Data) > 0 { if len(v.Data) > 0 {
this.moduleRtask.Debug("打印V",
log.Field{Key: "v", Value: v.Data},
log.Field{Key: "paramLen", Value: paramLen},
log.Field{Key: "vals", Value: vals},
)
update := map[string]interface{}{ update := map[string]interface{}{
"vals": v, "vals": dd,
} }
if err = this.Change(uid, update); err != nil { if err = this.Change(uid, update); err != nil {
return return