Revert "解决店铺接口没有返回正确的banner格式时问题"
This reverts commit 412196c4.
Showing
1 changed file
with
0 additions
and
3 deletions
@@ -664,9 +664,6 @@ const getBrandBanner = (brandId) => { | @@ -664,9 +664,6 @@ const getBrandBanner = (brandId) => { | ||
664 | }).then((result) => { | 664 | }).then((result) => { |
665 | if (result && result.code === 200) { | 665 | if (result && result.code === 200) { |
666 | if (result.data.banner) { | 666 | if (result.data.banner) { |
667 | - if (result.data.banner.indexOf('?') < 0) { | ||
668 | - result.data.banner += '?imageMogr2/auto-orient/strip/thumbnail/x{height}/crop/{width}x{height}'; | ||
669 | - } | ||
670 | return helpers.image(result.data.banner, 640, 150); | 667 | return helpers.image(result.data.banner, 640, 150); |
671 | } else { | 668 | } else { |
672 | return ''; | 669 | return ''; |
-
Please register or login to post a comment