@@ -142,6 +142,10 @@ class Worklocation extends Model
$value = Db::name('sys_dict_data')->where($where)->value('value');
return $value;
}
+ public function test()
+ {
+ return null;
+ }
//搜索
// public function searchNumberAttr($query, $value, $data)
@@ -12,5 +12,5 @@
// you should use `$router`
$router->group(function () use ($router){
// workLocation路由
- $router->resource('workLocation', '\catchAdmin\worklocation\controller\WorkLocation');
+ $router->resource('worklocation', '\catchAdmin\worklocation\controller\WorkLocation');
})->middleware('auth');