Browse Source

a minor change

pull/134/head
yedf2 4 years ago
parent
commit
5907f997fc
  1. 2
      dtmsvr/trans_process.go

2
dtmsvr/trans_process.go

@ -71,7 +71,7 @@ func (t *TransGlobal) saveNew() ([]TransBranch, error) {
t.CreateTime = &now t.CreateTime = &now
t.UpdateTime = &now t.UpdateTime = &now
branches := t.getProcessor().GenBranches() branches := t.getProcessor().GenBranches()
for i, _ := range branches { for i := range branches {
branches[i].CreateTime = &now branches[i].CreateTime = &now
branches[i].UpdateTime = &now branches[i].UpdateTime = &now
} }

Loading…
Cancel
Save