['checkCenterLogin']],function ($route){ $route->any('roleAdd', 'Api\MiddleGroundController@roleAdd'); $route->any('roleEdit', 'Api\MiddleGroundController@roleEdit'); $route->any('roleDel', 'Api\MiddleGroundController@roleDel'); $route->any('roleList', 'Api\MiddleGroundController@roleList'); $route->any('roleDetail', 'Api\MiddleGroundController@roleDetail'); $route->any('roleMenu', 'Api\MiddleGroundController@roleMenu'); //创建公司账号 工时设置 初始化 $route->any('initializationCompany', 'Api\MiddleGroundController@initializationCompany'); //公司列表 $route->any('initializationCompanyList', 'Api\MiddleGroundController@initializationCompanyList'); //公司使用时段授权 $route->any('setUseRange', 'Api\MiddleGroundController@setUseRange'); //菜单列表 为了设置角色权限用的 $route->any('menuList', 'Api\MiddleGroundController@menuList'); //管理员 $route->any('employeeList', 'Api\MiddleGroundController@employeeList'); $route->any('employeeEdit', 'Api\MiddleGroundController@employeeEdit'); });