Job stats

This commit is contained in:
CHIEFSOFT\ameye
2024-07-18 12:03:15 -04:00
parent 1185fb97ec
commit 9ec7f55046
5 changed files with 31 additions and 2 deletions
+11
View File
@@ -12,6 +12,17 @@ class WrenchJobs extends BaseController
$this->request = $request = \Config\Services::request();
}
public function interestStats(){
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
$in["action"] = WRENCHBOARD_JOB_STATS_INTEREST;
$out=[];
$ret = $this->wrenchboard->wrenchboard_api($in, $out);
$out['internal_return'] = $ret;
log_message('critical', "***** ***** WrenchJobs::interestStats Ret = ".$ret );
return $this->respond( $this->summaryReturnData($in,$out), 200);
}
public function contractHx(){
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);