修复长效时间问题

This commit is contained in:
2026-05-19 13:35:06 +08:00
parent 71554da541
commit dbc909c736
2 changed files with 7 additions and 7 deletions

View File

@@ -157,7 +157,7 @@ func findResource(resourceId int32, now time.Time) (*ResourceView, error) {
var sub = resource.Long
info.LongId = &sub.ID
info.ExpireAt = sub.ExpireAt
info.Live = time.Duration(sub.Live) * time.Hour
info.Live = time.Duration(sub.Live) * time.Minute
info.Mode = sub.Type
info.Quota = sub.Quota
info.Used = sub.Used