option(['real_name' => '摄像头列表']); //创建关联班级表单 Route::get('ipc/create', 'v1.ipc.Ipc/create')->option(['real_name' => '创建关联班级表单']); //保存关联班级表单 Route::post('ipc/save', 'v1.ipc.Ipc/save')->option(['real_name' => '保存关联班级表单']); //获取录像计划详情 Route::get('ipc/getRecordTime', 'v1.ipc.Ipc/getRecordTime')->option(['real_name' => '获取录像计划详情']); //设置录像数据 Route::post('ipc/setRecordTime', 'v1.ipc.Ipc/setRecordTime')->option(['real_name' => '更新录像计划以及时间模版']); })->option(['parent' => 'Ipc', 'cate_name' => '摄像头接口']); })->middleware([ \app\http\middleware\AllowOriginMiddleware::class, \app\adminapi\middleware\AdminAuthTokenMiddleware::class, \app\adminapi\middleware\AdminCheckRoleMiddleware::class, \app\adminapi\middleware\AdminLogMiddleware::class ])->option(['mark' => 'ipc', 'mark_name' => '摄像头管理']);