Authored by 陈峰

解决店铺接口没有返回正确的banner格式时问题

... ... @@ -664,6 +664,9 @@ const getBrandBanner = (brandId) => {
}).then((result) => {
if (result && result.code === 200) {
if (result.data.banner) {
if (result.data.banner.indexOf('?') < 0) {
result.data.banner += '?imageMogr2/auto-orient/strip/thumbnail/x{height}/crop/{width}x{height}';
}
return helpers.image(result.data.banner, 640, 150);
} else {
return '';
... ...