Authored by hf

code review by fei.hong: do merge shaofeng.zhou search brand modify logo codes

@@ -4,7 +4,6 @@ namespace WebPlugin; @@ -4,7 +4,6 @@ namespace WebPlugin;
4 4
5 use WebPlugin\Paging; 5 use WebPlugin\Paging;
6 use WebPlugin\Helpers; 6 use WebPlugin\Helpers;
7 -use LibModels\Web\Product\BrandData;  
8 use Configs\ChannelConfig; 7 use Configs\ChannelConfig;
9 use Index\HomeModel; 8 use Index\HomeModel;
10 9
@@ -1448,7 +1447,7 @@ class HelperSearch @@ -1448,7 +1447,7 @@ class HelperSearch
1448 } 1447 }
1449 } 1448 }
1450 $shopEntry['home'] = $url; 1449 $shopEntry['home'] = $url;
1451 - $shopEntry['logo'] = Images::getSourceUrl($shop['brand_ico'], 'brandLogo'); 1450 + $shopEntry['logo'] = Images::getImageUrl($shop['brand_ico'], 80, 50, 1, 'brandLogo');
1452 $shopEntry['shopName'] = $shop['brand_name']; 1451 $shopEntry['shopName'] = $shop['brand_name'];
1453 $shopEntry['sort'] = $sort; 1452 $shopEntry['sort'] = $sort;
1454 return $shopEntry; 1453 return $shopEntry;