Authored by 郝肖肖

商品分类大于5,不显示分类,显示连接

@@ -389,7 +389,7 @@ class ShopProcess @@ -389,7 +389,7 @@ class ShopProcess
389 { 389 {
390 if (isset($data['code']) && $data['code'] == 200 && !empty($data['data'])) { 390 if (isset($data['code']) && $data['code'] == 200 && !empty($data['data'])) {
391 $total = count($data['data']); 391 $total = count($data['data']);
392 - if ($total > 6) { 392 + if ($total > 5) {
393 self::$shopData['shopCategory']['url'] = Helpers::url('/product/index/category', array('shop_id' => self::$shopId)); 393 self::$shopData['shopCategory']['url'] = Helpers::url('/product/index/category', array('shop_id' => self::$shopId));
394 return; 394 return;
395 } 395 }