assign jobs

This commit is contained in:
CHIEFSOFT\ameye
2024-07-08 11:12:11 -04:00
parent f96232767b
commit d9a69cc3c5
+3
View File
@@ -110,6 +110,9 @@ class WrenchJobs extends BaseController
$endpoint = "NEW_OFFER_".$in["assign_mode"]."-". $out["offer_code"];
log_message('critical', "***** ***** WrenchJobs::assignTask NEW_OFFER_ = ".$endpoint );
$this->saveCache($endpoint,$out,25000);
$local_url = "http://".$this->micro_service_net1.":3033/jobAdded";
$outX = $this->APIcall('POST', $local_url, ["message"=>$out]);
}else
{
$fail_endpoint = "FAIL_OFFER_".$in["assign_mode"]."-".$in["job_uid"];