Refactor code

pull/131/head
wenxu12345 3 years ago
parent 0891e2d432
commit 943f58f2c0

@ -23,7 +23,7 @@ func InsertIntoGroupMember(toInsertInfo GroupMember) error {
if err != nil {
return err
}
toInsertInfo.JoinSource = time.Now()
toInsertInfo.JoinTime = time.Now()
if toInsertInfo.RoleLevel == 0 {
toInsertInfo.RoleLevel = constant.GroupOrdinaryUsers
}

Loading…
Cancel
Save