...
|
...
|
@@ -120,6 +120,7 @@ class ShopProcess |
|
|
*/
|
|
|
private static function brandBrowse($data)
|
|
|
{
|
|
|
$brandId = '';
|
|
|
$brandNumber = count($data);
|
|
|
//少于2个不展示
|
|
|
if ($brandNumber < 2) {
|
...
|
...
|
@@ -129,6 +130,7 @@ class ShopProcess |
|
|
if (empty($val['brandDomain'])) {
|
|
|
continue;
|
|
|
}
|
|
|
$brandId .= ','.$val['id'];
|
|
|
$appSuffix = 'openby:yohobuy={"action":"go.brand","params":{"shop_id":"'.self::$shopId.'","brand_id":"'.$val['id'].'"}}';
|
|
|
$brand['url'] = Helpers::url('', '', $val['brandDomain']);
|
|
|
if (!empty(self::$appVersion)) {
|
...
|
...
|
@@ -142,6 +144,7 @@ class ShopProcess |
|
|
if ($brandNumber > 5) {
|
|
|
self::$shopData['brandList']['url'] = Helpers::url('/product/index/allBrand', array('shop_id' => self::$shopId));
|
|
|
}
|
|
|
self::$shopData['brand'] = rtrim($brandId, ',');
|
|
|
}
|
|
|
|
|
|
/**
|
...
|
...
|
|