MustSelectMinSizeOssId

This commit is contained in:
lwl0608 2024-11-24 18:31:58 +08:00
parent 2a820135ab
commit 88052add07
1 changed files with 1 additions and 1 deletions

View File

@ -96,7 +96,7 @@ func (i *Video) MustSelectMinSizeOssId() string {
if i == nil {
return ""
}
if i.Status == VideoStatusResizeDone && len(i.SrcId720) > 0 && i.Size720 < i.SizeSrc {
if i.Status == VideoStatusResizeDone && len(i.SrcId720) > 0 {
return i.SrcId720
}
return i.SrcId