Joob list back to c code
This commit is contained in:
@@ -696,8 +696,8 @@ long TestNotificationsJobs(CVars in, CVars &out){
|
|||||||
push_ret = BkoSendPush( xx, out);
|
push_ret = BkoSendPush( xx, out);
|
||||||
|
|
||||||
//52cee358-759f-42f5-8cfb-d3f77b323c1a
|
//52cee358-759f-42f5-8cfb-d3f77b323c1a
|
||||||
xx["member_uid"] = "52cee358-759f-42f5-8cfb-d3f77b323c1a"; xx["member_uid"].set_valid( true );
|
// xx["member_uid"] = "52cee358-759f-42f5-8cfb-d3f77b323c1a"; xx["member_uid"].set_valid( true );
|
||||||
xx["push_text"] = "Notification test system...Toks"; xx["push_text"].set_valid( true );
|
// xx["push_text"] = "Notification test system...Toks"; xx["push_text"].set_valid( true );
|
||||||
push_ret = BkoSendPush( xx, out);
|
push_ret = BkoSendPush( xx, out);
|
||||||
} catch (bad_parameter) {
|
} catch (bad_parameter) {
|
||||||
logfmt(logINFO, "ERROR CALL long TestNotificationsJobs(CVars in, CVars &out)");
|
logfmt(logINFO, "ERROR CALL long TestNotificationsJobs(CVars in, CVars &out)");
|
||||||
|
|||||||
@@ -76,8 +76,15 @@ class WrenchJobs extends BaseController
|
|||||||
}
|
}
|
||||||
|
|
||||||
if ( $countItem == 0 ){
|
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
|
// dont cache junk
|
||||||
if ( is_array($out) && is_array($out["result_list"]) && count($out["result_list"]) > 0){
|
if ( is_array($out) && is_array($out["result_list"]) && count($out["result_list"]) > 0){
|
||||||
$this->saveCache($endpoint,$out,30);
|
$this->saveCache($endpoint,$out,30);
|
||||||
|
|||||||
Reference in New Issue
Block a user