作者 lyh

gx

@@ -43,7 +43,7 @@ class ProductController extends BaseController @@ -43,7 +43,7 @@ class ProductController extends BaseController
43 $this->map = $this->searchParam(); 43 $this->map = $this->searchParam();
44 $filed = ['id', 'project_id', 'title', 'sort' ,'thumb', 'gallery' ,'product_type' , 'route' , 44 $filed = ['id', 'project_id', 'title', 'sort' ,'thumb', 'gallery' ,'product_type' , 'route' ,
45 'category_id', 'keyword_id', 'status', 'created_uid', 'created_at', 'updated_at']; 45 'category_id', 'keyword_id', 'status', 'created_uid', 'created_at', 'updated_at'];
46 - $lists = $product->lists($this->map,$this->page,$this->row,$this->order = 'sort',$filed); 46 + $lists = $product->lists($this->map,$this->page,$this->row,$this->order = ['sort','id'],$filed);
47 if(!empty($lists['list'])){ 47 if(!empty($lists['list'])){
48 //获取当前用户选择的模版 48 //获取当前用户选择的模版
49 $templateSettingModel = new BSetting(); 49 $templateSettingModel = new BSetting();