update
This commit is contained in:
parent
5080121075
commit
e3ef151ac2
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user