MustSelectMinSizeOssId
This commit is contained in:
parent
2a820135ab
commit
88052add07
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue