modify update user info time

This commit is contained in:
Jay 2019-05-29 09:55:19 +08:00
parent d2dcbdff71
commit f8e79ef9fa

View File

@ -86,7 +86,7 @@ func getSourceUser(uid, gid string) (u *model.LineUser, err error) {
return nil, err
}
} else {
if userData.Mtime.Unix() < (time.Now().Unix() - 432000) {
if userData.Mtime.Unix() < (time.Now().Unix() - 86400) {
tmpu, err := line.GetUserInfo(uid, gid)
if err != nil || tmpu == nil {
return nil, err