...
|
...
|
@@ -1316,15 +1316,13 @@ class HelperSearch |
|
|
*/
|
|
|
public static function getBannerFormat($banner, $brand)
|
|
|
{
|
|
|
|
|
|
// 根据品牌Id获取品牌banner图
|
|
|
if (isset($banner['banner'])) {
|
|
|
$bannerImg = Helpers::getImageUrl($banner['banner'], '', 150);
|
|
|
}
|
|
|
|
|
|
$is_favorite = false;
|
|
|
$shopName = false;
|
|
|
if(isset($brand)){
|
|
|
if(isset($brand['is_favorite'])){
|
|
|
// 获取是否收藏
|
|
|
if ($brand['is_favorite'] == 'Y') {
|
|
|
$is_favorite = true;
|
...
|
...
|
|