상세수정

This commit is contained in:
yangsh
2026-02-05 14:09:49 +09:00
parent 790216404c
commit 4a8178b185
10 changed files with 2052 additions and 855 deletions

View File

@@ -126,6 +126,7 @@ class M703 extends BaseController
// 상세화면
public function detail($id)
{
$naver = new NaverApiClient();
$id = (string) $id;
if ($id === '') {
@@ -162,11 +163,11 @@ class M703 extends BaseController
$apt_rlet_type_cd = ['A01', 'A02', 'A03', 'A04', 'B01', 'B02', 'B03'];
$villa_rlet_type_cd = ['A05', 'A06'];
if (in_array($article['rlet_type_cd'], $apt_rlet_type_cd)) { // apt 단지
// $detail_hscp = $this->call_kiso_api->aptDetail($article['hscp_no']);
$detail_hscp = $naver->aptDetail($article['hscp_no']);
}
if (in_array($article['rlet_type_cd'], $villa_rlet_type_cd)) { // villa 단지
// $detail_hscp = $this->call_kiso_api->villaDetail($article['hscp_no']);
$detail_hscp = $naver->villaDetail($article['hscp_no']);
}
$this->data['hscp_info'] = $hscp_info;