group(function () use ($router) { // api路由 $router->get('api/getUserList', '\catchAdmin\api\controller\Api@getUserList'); }); $router->get('api/getUsers', '\catchAdmin\api\controller\Api@getUserList'); //下发数据 $router->get('tool/Issued', '\catchAdmin\api\controller\Tool@Issued'); //下发之后上传的信息 $router->get('tool/receive', '\catchAdmin\api\controller\Tool@receive');