아파트평면도 목록 페이지 추가

This commit is contained in:
yangsh
2025-12-26 17:21:21 +09:00
parent 093d1a1c0b
commit 06e266425c
8 changed files with 2407 additions and 39 deletions

View File

@@ -166,11 +166,17 @@ class Apt extends BaseController
$damdang = $this->request->getPost(index: 'damdang');
if (empty($team)) {
throw new Exception("팀정보 누락");
return $this->response->setJSON([
'code' => '9',
'msg' => '팀정보 누락',
]);
}
if (empty($damdang)) {
throw new Exception("담당자정보 누락");
return $this->response->setJSON([
'code' => '9',
'msg' => '담당자정보 누락',
]);
}
@@ -192,7 +198,10 @@ class Apt extends BaseController
}
} else {
throw new Exception("저장할 데이터 누락");
return $this->response->setJSON([
'code' => '9',
'msg' => '저장데이터 누락',
]);
}
return $this->response->setJSON([
@@ -262,8 +271,6 @@ class Apt extends BaseController
// 엑셀 다운로드
public function excel()
{
try {
$data = [