|
|
|
@@ -197,13 +197,13 @@ class KintoneAccess |
|
|
|
"revision" => $model->getRevision(), |
|
|
|
]; |
|
|
|
|
|
|
|
logger([ |
|
|
|
"ACTION" => "KINTONE UPDATE", |
|
|
|
"APP" => $this->appName, |
|
|
|
"RECORD_NO" => $model->getRecordId(), |
|
|
|
"SEND_DATA" => $sendData, |
|
|
|
"JSON" => json_encode($sendData, JSON_UNESCAPED_UNICODE), |
|
|
|
]); |
|
|
|
// logger([ |
|
|
|
// "ACTION" => "KINTONE UPDATE", |
|
|
|
// "APP" => $this->appName, |
|
|
|
// "RECORD_NO" => $model->getRecordId(), |
|
|
|
// "SEND_DATA" => $sendData, |
|
|
|
// "JSON" => json_encode($sendData, JSON_UNESCAPED_UNICODE), |
|
|
|
// ]); |
|
|
|
|
|
|
|
$response = Http::withHeaders([ |
|
|
|
"X-Cybozu-API-Token" => $this->apiToken, |
|
|
|
@@ -275,17 +275,15 @@ class KintoneAccess |
|
|
|
} |
|
|
|
|
|
|
|
$cursor = $response["id"]; |
|
|
|
$totalCount = $response["totalCount"]; |
|
|
|
$totalCount = intval($response["totalCount"]); |
|
|
|
$this->cursor = $cursor; |
|
|
|
|
|
|
|
|
|
|
|
if (0 < $totalCount) { |
|
|
|
$this->hasNext = true; |
|
|
|
$this->cursor = $cursor; |
|
|
|
$this->cursorDataCount = $totalCount; |
|
|
|
} else { |
|
|
|
$this->cursor = null; |
|
|
|
$this->hasNext = false; |
|
|
|
$this->cursorDataCount = 0; |
|
|
|
$this->deleteCursor(); |
|
|
|
} |
|
|
|
|
|
|
|
return $response; |
|
|
|
|