likang 2 years ago
parent
commit
debbf7a6e7
2 changed files with 2 additions and 1 deletions
  1. 1 1
      catch/wind/model/search/FanSearch.php
  2. 1 0
      catch/wind/route.php

+ 1 - 1
catch/wind/model/search/FanSearch.php

@@ -11,7 +11,7 @@ trait FanSearch
     {
         return $query->where('wind_id',$value);
     }
-
+    
 
 
 

+ 1 - 0
catch/wind/route.php

@@ -16,4 +16,5 @@ $router->group(function () use ($router){
 	$router->get('wind/getWindOptions', '\catchAdmin\wind\controller\Wind@getWindOptions');
 	$router->resource('wind', '\catchAdmin\wind\controller\Wind');
 	$router->resource('fan', '\catchAdmin\wind\controller\Fan');
+	$router->get('fan/getFanListById','\catchAdmin\wind\controller\Fan@getList');
 })->middleware('auth');