func createUserToken(u *models.User) { u.Token = strconv.Itoa(int(time.Now().Unix())) u.ExpiredTime = time.Now() }