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