likang 2 years ago
parent
commit
66b302d900
2 changed files with 3 additions and 4 deletions
  1. 1 1
      catch/flange/route.php
  2. 2 3
      catch/synscheme/route.php

+ 1 - 1
catch/flange/route.php

@@ -12,7 +12,7 @@
 // you should use `$router`
 $router->group(function () use ($router){
 	// flange路由
-	$router->resource('flange', '\catchAdmin\flange\controller\flange');
+	$router->resource('flange', '\catchAdmin\flange\controller\Flange');
 	$router->get("getwindfan",'\catchAdmin\flange\controller\Flange@getWindFan');
 	//扳手类型
 	$router->get("wrenchtype",'\catchAdmin\flange\controller\Flange@chooseWrench');

+ 2 - 3
catch/synscheme/route.php

@@ -12,7 +12,6 @@
 // you should use `$router`
 $router->group(function () use ($router){
 	// synscheme路由
-	$router->resource('synscheme', '\catchAdmin\synscheme\controller\synscheme');
-	// synscheme路由
-	$router->resource('synscheme', '\catchAdmin\synscheme\controller\synscheme');
+	$router->resource('synscheme', '\catchAdmin\synscheme\controller\Synscheme');
+
 })->middleware('auth');