cqpCow 10 달 전
부모
커밋
1e03b21aa6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Service/ProductService.php

+ 1 - 1
app/Service/ProductService.php

@@ -93,7 +93,7 @@ class ProductService extends Service
         $model = ProductCategory::TopClear($user,$data);
         $model = $model->where('del_time',0)
             ->select('title','id','parent_id')
-            ->orderby('id','desc');
+            ->orderby('id','asc');
         if(! empty($data['title'])) $model->where('title', 'LIKE', '%'.$data['title'].'%');
 
         $list = $model->get()->toArray();