공통화 작업 및 워커 해더
This commit is contained in:
@@ -174,6 +174,25 @@ class NaverApiClient
|
||||
return $this->request('POST', $url, $reportData);
|
||||
}
|
||||
|
||||
/**
|
||||
* 특정 단지/평형 시세조회()
|
||||
* @param string hscpNo 단지번호
|
||||
* @param string ptpNo 평형번호
|
||||
* API: GET /confirms/hscpMarketPriceInfo.nhn?hscpNo={단지번호}&ptpNo={평형번호}
|
||||
*/
|
||||
public function hscpMarketPriceInfo($hscpNo, $ptpNo){
|
||||
$url = '/confirms/hscpMarketPriceInfo.nhn';
|
||||
$url = $this->commonModel->getCompanyInfo(3);
|
||||
$url = $url['api_server'] . $url;
|
||||
$data = [
|
||||
'hscpNo' => $hscpNo,
|
||||
'ptpNo' => $ptpNo
|
||||
];
|
||||
|
||||
return $this->request('GET', $url, $data);
|
||||
}
|
||||
|
||||
|
||||
public function submitSyncResult(string $reserveNoList): ?array
|
||||
{
|
||||
$url = "{$this->baseUrl}/site/submitSyncResult.nhn";
|
||||
|
||||
Reference in New Issue
Block a user