|
@@ -269,7 +269,8 @@ class HomeController extends WebBaseController
|
|
|
|
|
|
//人才新闻
|
|
|
$ad_pic_where1[] = ['small_img', '<>', ''];
|
|
|
- $ad_pic1 = Article::where($ad_pic_where1)->whereIn('type_id',[58, 59])->orderBy('list_order', 'asc')->orderBy('id', 'desc')->limit(1)->get();
|
|
|
+ $ad_pic1 = Article::where($ad_pic_where1)->whereIn('type_id', [58, 59])->orderBy('list_order', 'asc')->orderBy('id', 'desc')->limit(1)->get();
|
|
|
+ $ad_pic1 = Article::where('id', 796)->get();
|
|
|
|
|
|
//人才疗休养活动
|
|
|
$ad_pic_where2[] = ['r_c_id', '!=', 0];
|
|
@@ -280,7 +281,7 @@ class HomeController extends WebBaseController
|
|
|
$Recuperatecategory_arr = RecuperateCategory::where('deleted_at', null)->select('id', 'name')->get()->toArray();
|
|
|
|
|
|
//人才新闻
|
|
|
- $ad_pic3 = Article::whereIn('type_id',[58, 59])->orderBy('list_order', 'desc')->orderBy('id', 'desc')->limit(4)->get();
|
|
|
+ $ad_pic3 = Article::whereIn('type_id', [58, 59])->orderBy('list_order', 'desc')->orderBy('id', 'desc')->limit(4)->get();
|
|
|
|
|
|
// $rcinfos = $this->policyService->getRcInfosByIndex();
|
|
|
|
|
@@ -316,7 +317,7 @@ class HomeController extends WebBaseController
|
|
|
'ad_pic1' => $ad_pic1,
|
|
|
'ad_pic2' => $ad_pic2,
|
|
|
'ad_pic3' => $ad_pic3,
|
|
|
-// 'rcinfos' => $rcinfos,
|
|
|
+ // 'rcinfos' => $rcinfos,
|
|
|
'recuperate_category_arr' => $Recuperatecategory_arr,
|
|
|
'recruit' => $recruit,
|
|
|
];
|