Joob list back to c code
This commit is contained in:
@@ -76,8 +76,15 @@ class WrenchJobs extends BaseController
|
||||
}
|
||||
|
||||
if ( $countItem == 0 ){
|
||||
$local_url = "http://".$this->micro_service_net1.":3033/marketjobs";
|
||||
$out = $this->APIcall('GET', $local_url, $in);
|
||||
|
||||
$in["action"] = WRENCHBOARD_ACCOUNT_JOBLIST;
|
||||
$out=[];
|
||||
$ret = $this->wrenchboard->wrenchboard_api($in, $out);
|
||||
$out['internal_return'] = $ret;
|
||||
|
||||
|
||||
// $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,30);
|
||||
|
||||
Reference in New Issue
Block a user