Joob list back to c code

This commit is contained in:
CHIEFSOFT\ameye
2025-08-02 15:12:20 -04:00
parent 8d1a22cfa4
commit 4a3ddaaff7
2 changed files with 11 additions and 4 deletions
+2 -2
View File
@@ -696,8 +696,8 @@ long TestNotificationsJobs(CVars in, CVars &out){
push_ret = BkoSendPush( xx, out);
//52cee358-759f-42f5-8cfb-d3f77b323c1a
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["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 );
push_ret = BkoSendPush( xx, out);
} catch (bad_parameter) {
logfmt(logINFO, "ERROR CALL long TestNotificationsJobs(CVars in, CVars &out)");
+9 -2
View File
@@ -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);