group(function () use ($router) { // api路由 $router->get('api/getUserList', '\catchAdmin\api\controller\Api@getUserList'); }); //报警上传 $router->post('api/report', '\catchAdmin\api\controller\Api@report'); $router->get('api/deleteHistory', '\catchAdmin\api\controller\Api@deleteHistory'); //更新软件版本测试 $router->get('api/detectionVersion', '\catchAdmin\api\controller\Api@detectionVersion');