|
|
@@ -39,19 +39,16 @@ class ItemController extends BaseController
|
|
|
//根据分类组装分类下的花材信息
|
|
|
//中央ID
|
|
|
$classIds = ItemClassClass::getGhsItemClassAll($this->mainId);
|
|
|
-
|
|
|
$where['mainId'] = $this->mainId;
|
|
|
if ($py) {
|
|
|
$pyName = strtolower($py);
|
|
|
$where['py'] = $pyName;
|
|
|
}
|
|
|
-
|
|
|
-
|
|
|
if (!empty($status)) {
|
|
|
$where['status'] = $status;
|
|
|
}
|
|
|
$where['delStatus'] = $delStatus;
|
|
|
-
|
|
|
+ $where['frontHide'] = 0;
|
|
|
$level = 0;
|
|
|
$itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC, 'actualSold' => SORT_DESC], "*");
|
|
|
$itemInfoData = ProductClass::groupProductInfo($itemInfoData, $level);
|