瀏覽代碼

Merge branch 'master' of http://59.57.98.130:3000/jjhc/jucai

linwu 4 月之前
父節點
當前提交
ad4aa80e38
共有 2 個文件被更改,包括 5 次插入5 次删除
  1. 1 1
      app/Admin/Controllers/Health/IndexController.php
  2. 4 4
      app/Admin/routes.php

+ 1 - 1
app/Admin/Controllers/Presentation/IndexController.php → app/Admin/Controllers/Health/IndexController.php

@@ -1,6 +1,6 @@
 <?php
 
-namespace App\Admin\Controllers\Presentation;
+namespace App\Admin\Controllers\Health;
 
 use App\Admin\Extensions\Form\ValidateForm;
 use App\Http\Controllers\Controller;

+ 4 - 4
app/Admin/routes.php

@@ -512,10 +512,10 @@ Route::group([
     });
 
     $router->group([
-        'prefix'    =>  'presentation',
-        'namespace' =>  'Presentation',
+        'prefix'    =>  'health',
+        'namespace' =>  'Health',
     ], function (Router $router){
-        $router->resource('index', IndexController::class)->names('presentation');
-        $router->get('appoint_list', 'IndexController@appointList')->name('presentation.appoint_list');//报名管理
+        $router->resource('presentation_index', IndexController::class)->names('Health');
+        $router->get('presentation_appoint_list', 'IndexController@presentationAppointList')->name('Health.presentation_appoint_list');//报名管理
     });
 });