Compare commits
No commits in common. "9197cd10d99a476cbdb9aa1cd379b07eb01c92de" and "d92607d816245468190de7b4c2388f691f991512" have entirely different histories.
9197cd10d9
...
d92607d816
|
|
@ -173,7 +173,7 @@ func (u *User) expireCheck(userPkg *model.UserPkgInfo, day int) *response.Respon
|
|||
panic(config.ErrDb.New().Append(err))
|
||||
}
|
||||
// 3. 如果都不可用,则提示联系客服
|
||||
if pkg == nil || pkg.ExpireTime <= time.Now().Unix() {
|
||||
if pkg == nil {
|
||||
return u.resp(config.NoPkg, config.ServiceContactCustomer).Closable(false)
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue