code refactor

This commit is contained in:
MaysWind
2020-12-16 22:42:53 +08:00
parent 4321d924ed
commit 88f7a2aaa6
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -151,7 +151,7 @@ func (s *UserService) UpdateUser(user *models.User) (keyProfileUpdated bool, err
return false, errs.ErrUserIdInvalid
}
var updateCols []string
updateCols := make([]string, 0, 8)
now := time.Now().Unix()
keyProfileUpdated = false