|
|
@@ -16,7 +16,7 @@ class PtItemCatRelateClass extends BaseClass
|
|
|
$list = $data['list'];
|
|
|
if (!empty($list)) {
|
|
|
$ids = array_column($list, 'itemId');
|
|
|
- $list = PtItemClass::getAllByCondition(['id' => ['in', $ids]], null, '*');
|
|
|
+ $list = PtItemClass::getAllByCondition(['id' => ['in', $ids]], 'inTurn DESC', '*');
|
|
|
if (!empty($list)) {
|
|
|
foreach ($list as $key => $val) {
|
|
|
$shortCover = $val['cover'] ?? '';
|