gate data

This commit is contained in:
DESKTOP-GBA0BK8\Admin
2023-04-10 11:57:00 -04:00
parent d8da1b2f89
commit f9533478ee
+3 -3
View File
@@ -530,9 +530,9 @@ variations from the norm, and in addition other reproductive organ issue
$res1 = $this->getCache($endpoint);
if (count($res1)==0){
$res1 = $this->apiData();
//$res1= $rawData; //[0]['payload'];
$this->saveCache($endpoint,$res1['payload']);
$rawData = $this->apiData();
$res1= $rawData['payload']; //[0]['payload'];
$this->saveCache($endpoint,$res1);
}
//$resJson = $this->response->setJson($res1);
return $res1;