@@ -144,7 +144,7 @@ func (this *UserController) Add() {
user = userByPhone
}
validStartTime = validStartTime.Local().Add(-time.Hour * 8)
- validEndTime = validEndTime.Local().Add(-time.Hour*8 + time.Hour*24)
+ validEndTime = validEndTime.Local().Add(-time.Hour*8 + time.Hour*24 - time.Second)
if curTime.Before(validEndTime) {
user.Status = 2
} else {