group(function () use ($router) { // api路由 $router->get('api/getUserList', '\catchAdmin\api\controller\Api@getUserList'); }); //上传禁锢模式记录 $router->post('api/UploadWorkRecordMA', '\catchAdmin\api\controller\Api@UploadWorkRecordMA'); //上传维护模式记录 $router->post('api/UploadWorkRecordFA', '\catchAdmin\api\controller\Api@UploadWorkRecordFA'); //下发数据 $router->post('tool/Issued', '\catchAdmin\api\controller\Tool@Issued'); //下发之后上传的信息 $router->post('tool/receive', '\catchAdmin\api\controller\Tool@receive');