正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
| @@ -43,7 +43,7 @@ class ProductController extends BaseController | @@ -43,7 +43,7 @@ class ProductController extends BaseController | ||
| 43 | */ | 43 | */ |
| 44 | public function index(Product $product) | 44 | public function index(Product $product) |
| 45 | { | 45 | { |
| 46 | - $filed = ['id', 'project_id', 'title', 'sort' ,'thumb', 'gallery' ,'product_type' , 'route' , | 46 | + $filed = ['id', 'project_id', 'title', 'sort' ,'thumb' ,'product_type' , 'route' , |
| 47 | 'category_id', 'keyword_id', 'status', 'created_uid', 'is_upgrade' ,'created_at', 'updated_at','six_read']; | 47 | 'category_id', 'keyword_id', 'status', 'created_uid', 'is_upgrade' ,'created_at', 'updated_at','six_read']; |
| 48 | $this->order = 'sort'; | 48 | $this->order = 'sort'; |
| 49 | $query = $product->orderBy($this->order ,'desc')->orderBy('id','desc'); | 49 | $query = $product->orderBy($this->order ,'desc')->orderBy('id','desc'); |
-
请 注册 或 登录 后发表评论