fix: all pkg is useless, contract customer

This commit is contained in:
wangfuduo 2026-07-15 15:29:27 +08:00
parent 5a46588bc9
commit db9154b27b
1 changed files with 1 additions and 1 deletions

View File

@ -174,7 +174,7 @@ func (u *User) expireCheck(userPkg *model.UserPkgInfo, day int) *response.Respon
}
// 3. 如果都不可用,则提示联系客服
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()...)
}
}