正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -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(); |
-
请 注册 或 登录 后发表评论