| 12345678910111213141516171819202122232425262728293031323334353637383940414243 | 
							- <?php
 
- namespace App\Http\Controllers\Mobile\Ic;
 
- use App\Http\Controllers\Mobile\MobileBaseController;
 
- use App\Models\Article;
 
- class IndexController extends MobileBaseController
 
- {
 
-     public function index()
 
-     {
 
-         //引才动态
 
-         $attract_list = Article::where('type_id',65)
 
-             ->where('is_display',1)
 
-             ->orderBy('list_order','desc')
 
-             ->orderBy('id','desc')
 
-             ->limit(5)
 
-             ->get();
 
-         //晋卫咨询
 
-         $gongzhonghao_list = Article::where('type_id',66)
 
-             ->where('is_display',1)
 
-             ->orderBy('list_order','desc')
 
-             ->orderBy('id','desc')
 
-             ->limit(5)
 
-             ->get();
 
-         return view('mobile.app.ic.index',[
 
-             'attract_list'=>$attract_list,
 
-             'gongzhonghao_list'=>$gongzhonghao_list,
 
-         ]);
 
-     }
 
-     public function jinjiang()
 
-     {
 
-         return view('mobile.app.ic.jinjiang');
 
-     }
 
-     public function policy()
 
-     {
 
-         return view('mobile.app.ic.policy');
 
-     }
 
- }
 
 
  |