Jelajahi Sumber

更新路由

zmw 4 bulan lalu
induk
melakukan
85cf6984aa
2 mengubah file dengan 5 tambahan dan 5 penghapusan
  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');//报名管理
     });
 });