diff --git a/dtmsvr/trans_process.go b/dtmsvr/trans_process.go index cb5a288..22c2fab 100644 --- a/dtmsvr/trans_process.go +++ b/dtmsvr/trans_process.go @@ -71,7 +71,7 @@ func (t *TransGlobal) saveNew() ([]TransBranch, error) { t.CreateTime = &now t.UpdateTime = &now branches := t.getProcessor().GenBranches() - for i, _ := range branches { + for i := range branches { branches[i].CreateTime = &now branches[i].UpdateTime = &now }