修改ImageUtils不能加载视频第一帧的图片

This commit is contained in:
jack
2021-06-08 10:15:12 +08:00
parent 3805cb52f6
commit 1fc37571df

View File

@ -91,7 +91,7 @@ object ImageUtils {
val jpegConfig = Config.getSettings()?.image?.oss?.jpeg
val webpConfig = Config.getSettings()?.image?.oss?.webp
?: Config.getSettings()?.image?.oss?.gif
if (jpegConfig != null) {
if (imageUrl?.contains("?x-oss-process") == false && jpegConfig != null) {
return if (width == 0 || width == null) {
"$imageUrl$webpConfig"
} else {