用户修改属性时的最后修改人从jxadmin改为用户id

用户注册时也记录相应的最后登录信息
This commit is contained in:
gazebo
2019-10-09 11:06:08 +08:00
parent 1c7edc4b86
commit 3855e79809
5 changed files with 25 additions and 18 deletions

View File

@@ -139,7 +139,6 @@ func (c *OrderManager) OnOrderComments(orderCommentList []*model.OrderComment) (
}
if err == nil {
if isNewComment {
// dao.WrapAddIDCULEntity(orderComment, model.AdminName)
err = dao.CreateEntity(db, comment2)
} else if comment2 != nil {
_, err = dao.UpdateEntity(db, comment2)