shish 1 anno fa
parent
commit
9490dbe45d
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      biz-hd/goods/services/GoodsService.php

+ 1 - 1
biz-hd/goods/services/GoodsService.php

@@ -29,7 +29,7 @@ class GoodsService extends BaseService
             // 使用新的分类商品查询方法
             return self::getCategoryGoodsList($where, $page, $pageSize);
         } else {
-            $data = GoodsClass::getList('*', $where, 'inTurn DESC,updateTime DESC');
+            $data = GoodsClass::getList('*', $where, 'updateTime DESC');
             $list = isset($data['list']) && !empty($data['list']) ? $data['list'] : [];
             if (empty($list)) {
                 return $data;