아파트평면도 목록 페이지 추가
This commit is contained in:
@@ -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 = [
|
||||
|
||||
Reference in New Issue
Block a user