|
|
|
|
@ -169,18 +169,6 @@ class ProjectController extends CommonController
|
|
|
|
|
];
|
|
|
|
|
$res = (new Bed())->create($data);
|
|
|
|
|
break;
|
|
|
|
|
// case "asksubmit":
|
|
|
|
|
// $parent = AskSubmit::find($request->id);
|
|
|
|
|
// $data = [
|
|
|
|
|
// "project_id" => $parent->project_id,
|
|
|
|
|
// "building_id" => $parent->building_id,
|
|
|
|
|
// "area_id" => $parent->area_id,
|
|
|
|
|
// "room_id" => $request->id,
|
|
|
|
|
// "name" => $request->name,
|
|
|
|
|
// "myindex" => $request->myindex
|
|
|
|
|
// ];
|
|
|
|
|
// $res = (new Bed())->create($data);
|
|
|
|
|
// break;
|
|
|
|
|
default:
|
|
|
|
|
return $this->error("不正确的类型");
|
|
|
|
|
}
|
|
|
|
|
|