|
|
@@ -130,7 +130,7 @@ class ProductController extends BaseController
|
|
|
}
|
|
|
$lackIds = array_filter(array_unique($lackIds));
|
|
|
$where['id'] = ['in', $lackIds];
|
|
|
- $respond = ProductClass::getList("*", $where, "actualSold asc");
|
|
|
+ $respond = ProductClass::getList("*", $where, "actualSold desc");
|
|
|
} else {
|
|
|
$respond = ProductClass::getList("*", $where, "inTurn desc");
|
|
|
}
|