로그 리스트 항목 생성
This commit is contained in:
@@ -134,6 +134,30 @@ class NaverApiClient
|
||||
return $this->request('POST', $url, $priceData);
|
||||
}
|
||||
|
||||
/**
|
||||
* 현장확인 슬롯 동기화
|
||||
* API (가) - /kiso/center/site-slot
|
||||
* 신규/변경 일자별 데이터 전송
|
||||
* @syncData array
|
||||
* @param string $baseDate 기준일자(ISO 8601 형식: YYYY-MM-DD 예: 2024-01-31)
|
||||
* @param string $legalDivisionNumber 구역번호 "1111000000"
|
||||
* @param object slots 오전/오후/ 슬롯 정보
|
||||
[
|
||||
{
|
||||
"baseDate": "2025-04-30",
|
||||
"legalDivisionNumber": "1111000000",
|
||||
"slots": {
|
||||
"am": { "max": 10, "reserved": 0 },
|
||||
"pm": { "max": 100, "reserved": 0 }
|
||||
}
|
||||
}
|
||||
]
|
||||
*/
|
||||
public function syncSiteSlot($syncData){
|
||||
$url = $this->baseUrl . "/kiso/center/verification-site/slots";
|
||||
return $this->request('POST', $url, $syncData);
|
||||
}
|
||||
|
||||
public function submitSyncResult(string $reserveNoList): ?array
|
||||
{
|
||||
$url = "{$this->baseUrl}/site/submitSyncResult.nhn";
|
||||
@@ -457,31 +481,6 @@ class NaverApiClient
|
||||
return $this->request('POST', $url, $postData);
|
||||
}
|
||||
|
||||
/**
|
||||
* 현장확인 슬롯 동기화
|
||||
* API (가) - /kiso/center/site-slot
|
||||
* 신규/변경 일자별 데이터 전송
|
||||
* @syncData array
|
||||
* @param string $baseDate 기준일자(ISO 8601 형식: YYYY-MM-DD 예: 2024-01-31)
|
||||
* @param string $legalDivisionNumber 구역번호 "1111000000"
|
||||
* @param object slots 오전/오후/ 슬롯 정보
|
||||
[
|
||||
{
|
||||
"baseDate": "2025-04-30",
|
||||
"legalDivisionNumber": "1111000000",
|
||||
"slots": {
|
||||
"am": { "max": 10, "reserved": 0 },
|
||||
"pm": { "max": 100, "reserved": 0 }
|
||||
}
|
||||
}
|
||||
]
|
||||
*/
|
||||
public function syncSiteSlot($syncData){
|
||||
$url = $this->baseUrl . "/kiso/center/verification-site/slots";
|
||||
return $this->request('POST', $url, $syncData);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* CURL 공통 실행 함수
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user