wesmiler 1 settimana fa
parent
commit
a0979daae5
2 ha cambiato i file con 3 aggiunte e 43 eliminazioni
  1. 0 8
      app/Http/Controllers/Api/v1/IndexController.php
  2. 3 35
      config/platform.php

+ 0 - 8
app/Http/Controllers/Api/v1/IndexController.php

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

+ 3 - 35
config/platform.php

@@ -3,10 +3,10 @@ return [
     'menuList' => [
         [
             "id" => 1,
-            "name" => '每日一练',
+            "name" => '章节练习',
             "code" => 'day-practice',
             "icon" => get_image_url('/images/icons/menu/icon-day-practice.png'),
-            'page' => '/pages/exam/practice?st=1'
+            'page' => '/pages/exam/index?st=1'
         ],
         [
             "id" => 2,
@@ -17,26 +17,10 @@ return [
         ],
         [
             "id" => 3,
-            "name" => '模拟试题',
+            "name" => '考点速记',
             "code" => 'mock-paper',
             "icon" => get_image_url('/images/icons/menu/icon-mock-paper.png'),
             'page' => '/pages/exam/index?st=3',
-            'page1' => '/pages/exam/subject?st=3',
-        ],
-        [
-            "id" => 28,
-            "name" => '智能问答',
-            "icon" => get_image_url('/images/icons/menu/icon-intelligent-answer.png'),
-            "code" => 'intelligent-answer',
-            'page' => '/pagesSub/pages/custom/index?'
-        ],
-        [
-            "id" => 5,
-            "name" => '复习资料',
-            "code" => 'review-materials',
-            "icon" => get_image_url('/images/icons/menu/icon-review-materials.png'),
-            'page' => '/pagesArticle/pages/article/material?st=5',
-            'page1' => '/pagesArticle/pages/article/materialCate?st=5'
         ],
         [
             "id" => 4,
@@ -44,22 +28,6 @@ return [
             "code" => 'mock-exam',
             "icon" => get_image_url('/images/icons/menu/icon-mock-exam.png'),
             'page' => '/pages/exam/index?st=4',
-            'page1' => '/pages/exam/subject?st=4'
-        ],
-        [
-            "id" => 6,
-            "name" => '考前冲刺',
-            "code" => 'exam-sprint',
-            "icon" => get_image_url('/images/icons/menu/icon-exam-sprint.png'),
-            'page' => '/pages/exam/index?st=6',
-            'page1' => '/pages/exam/subject?st=6',
-        ],
-        [
-            "id" => 8,
-            "name" => '院校直达',
-            "icon" => get_image_url('/images/icons/menu/icon-institution-entry.png'),
-            "code" => 'institution-entry',
-            'page' => '/pages/index/institution?'
         ],
     ],
     // 纠错类型