shish hace 5 años
padre
commit
a731f3b96a
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      app-ghs/controllers/ProductController.php

+ 1 - 1
app-ghs/controllers/ProductController.php

@@ -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 = [];