...
|
...
|
@@ -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 '';
|
...
|
...
|
|