modify update user info time
This commit is contained in:
parent
d2dcbdff71
commit
f8e79ef9fa
@ -86,7 +86,7 @@ func getSourceUser(uid, gid string) (u *model.LineUser, err error) {
|
|||||||
return nil, err
|
return nil, err
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
if userData.Mtime.Unix() < (time.Now().Unix() - 432000) {
|
if userData.Mtime.Unix() < (time.Now().Unix() - 86400) {
|
||||||
tmpu, err := line.GetUserInfo(uid, gid)
|
tmpu, err := line.GetUserInfo(uid, gid)
|
||||||
if err != nil || tmpu == nil {
|
if err != nil || tmpu == nil {
|
||||||
return nil, err
|
return nil, err
|
||||||
|
Loading…
Reference in New Issue
Block a user