평면도 상세 화면 추가

This commit is contained in:
yangsh
2025-12-26 18:02:57 +09:00
parent 06e266425c
commit ab39be9602
5 changed files with 181 additions and 2 deletions

View File

@@ -209,6 +209,25 @@ class Ground extends BaseController
}
// 상세화면
public function detail($rcpt_no, $hscp_no): string
{
if ($rcpt_no == null || $hscp_no == null) {
throw \CodeIgniter\Exceptions\PageNotFoundException::forPageNotFound();
}
// 상세정보
$apt = $this->model->getDetail($rcpt_no, $hscp_no);
return view("pages/article/detail2", [
'apt' => $apt,
]);
}
// 파일업로드(평면도)
public function uploadFile()
{