New refresh cache
This commit is contained in:
@@ -47,11 +47,18 @@ class AirFlow extends BaseController
|
||||
|
||||
//
|
||||
public function flowInterestcount(){
|
||||
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$out =[];
|
||||
log_message('critical', "AirFlow::flowInterestcount ********* ALL ".serialize($in) );
|
||||
|
||||
$endpoint = "WRENCH_JOB_INTEREST_COUNT";
|
||||
$res1 = $this->getCache($endpoint);
|
||||
if (count($res1)==0){
|
||||
$local_url = "http://".$this->micro_service_net1.":3033/interestCount";
|
||||
$out = $this->APIcall('GET', $local_url, $in);
|
||||
$this->saveCache($endpoint,$out,120);
|
||||
}
|
||||
return []; //json_encode( $final_out );
|
||||
}
|
||||
public function flowApproveReminder(){
|
||||
|
||||
Reference in New Issue
Block a user