fix: all pkg is useless, contract customer
This commit is contained in:
parent
5a46588bc9
commit
db9154b27b
|
|
@ -174,7 +174,7 @@ func (u *User) expireCheck(userPkg *model.UserPkgInfo, day int) *response.Respon
|
||||||
}
|
}
|
||||||
// 3. 如果都不可用,则提示联系客服
|
// 3. 如果都不可用,则提示联系客服
|
||||||
if pkg == nil || pkg.ExpireTime <= time.Now().Unix() {
|
if pkg == nil || pkg.ExpireTime <= time.Now().Unix() {
|
||||||
return u.resp(config.NoPkg, config.ServiceContactCustomer).Closable(false)
|
return u.resp(config.NoPkg, config.ServiceContactCustomer).Closable(false).Button(NewButton(u.params).ContractCustomer()...)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue