wesmiler il y a 1 semaine
Parent
commit
2c147f1384
1 fichiers modifiés avec 6 ajouts et 6 suppressions
  1. 6 6
      app/Http/Controllers/Api/v1/IndexController.php

+ 6 - 6
app/Http/Controllers/Api/v1/IndexController.php

@@ -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);
     }
     }