From c981fc3855a9f7fb3a8239fb8e86123d337183e9 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 4 Oct 2024 21:26:41 -0400 Subject: [PATCH] fale in --- www-api/app/Controllers/WrenchJobs.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/www-api/app/Controllers/WrenchJobs.php b/www-api/app/Controllers/WrenchJobs.php index 9f54f4e8..98f8a665 100644 --- a/www-api/app/Controllers/WrenchJobs.php +++ b/www-api/app/Controllers/WrenchJobs.php @@ -47,12 +47,20 @@ class WrenchJobs extends BaseController } private function refreshJobsData(){ + $in =[ + 'member_id' => 1, + 'sessionid' => '6938B15ACB7A70699AD9E8913A49AF0C0CA5EF3DA2D5DC0F73A09DC797A819E8' , + 'uid' => '3119b744-42ad-4834-bb83-b737588754ca', + 'limit' => 20, + 'page' => 1, + 'action' => 11014 + ]; $endpoint = $endpoint = "MARKET_JOB_DATA"; $local_url = "http://".$this->micro_service_net1.":3033/marketjobs"; $out = $this->APIcall('GET', $local_url, $in); // dont cache junk if ( is_array($out) && is_array($out["result_list"]) && count($out["result_list"]) > 0){ - $this->saveCache($endpoint,$out,180); + $this->saveCache($endpoint,$out,1440); } } public function getJobsData() {