|
@@ -81,13 +81,13 @@ class IndexController extends webApp
|
|
|
// 轮播
|
|
// 轮播
|
|
|
'banners' => AdService::make()->getListByPosition(1),
|
|
'banners' => AdService::make()->getListByPosition(1),
|
|
|
// 政策解读
|
|
// 政策解读
|
|
|
- 'readList'=> VideosReadsService::make()->getIndexList(),
|
|
|
|
|
|
|
+// 'readList'=> VideosReadsService::make()->getIndexList(),
|
|
|
// 线上课程
|
|
// 线上课程
|
|
|
- 'courses' => [
|
|
|
|
|
- CourseService::make()->getListByType(1),
|
|
|
|
|
- CourseService::make()->getListByType(2),
|
|
|
|
|
- CourseService::make()->getListByType(3),
|
|
|
|
|
- ],
|
|
|
|
|
|
|
+// 'courses' => [
|
|
|
|
|
+// CourseService::make()->getListByType(1),
|
|
|
|
|
+// CourseService::make()->getListByType(2),
|
|
|
|
|
+// CourseService::make()->getListByType(3),
|
|
|
|
|
+// ],
|
|
|
];
|
|
];
|
|
|
return showJson(1010, true, $data);
|
|
return showJson(1010, true, $data);
|
|
|
}
|
|
}
|