|
|
@@ -57,7 +57,7 @@ class ProductController extends BaseController
|
|
|
$where['shopId'] = $shopId;
|
|
|
$where['delStatus'] = 0;
|
|
|
|
|
|
- $itemInfoData = ProductClass::getAllByCondition($where, ['actualSold' => SORT_DESC, 'inTurn' => SORT_DESC], "*");
|
|
|
+ $itemInfoData = ProductClass::getAllByCondition($where, ['inTurn' => SORT_DESC,'actualSold' => SORT_DESC], "*");
|
|
|
$itemInfoData = ProductClass::groupProductInfo($itemInfoData);
|
|
|
//常用的itemIds
|
|
|
$oftenItemIds = [];
|