php parts
This commit is contained in:
@@ -105,6 +105,27 @@ class WrenchJobs extends BaseController
|
||||
return $this->respond( $this->summaryReturnData($in,$out), 3000);
|
||||
}
|
||||
|
||||
|
||||
public function recentPastDueJobs(){
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$in["action"] = WRENCHBOARD_JOB_RECENTPASTDUE;
|
||||
$in["nocache"] = $in["nocache"] ?? false;
|
||||
$out =[];
|
||||
|
||||
//$wrenchboard = new \App\Models\BackendModel();
|
||||
|
||||
$in["limit"] = 10;
|
||||
$in["page"] = 0;
|
||||
$in["offset"] = 0;
|
||||
$in["allstatus"] =0;
|
||||
$ret= $this->wrenchboard->wrenchboard_api($in, $out);
|
||||
$out['internal_return'] = $ret;
|
||||
|
||||
$res = ( new \App\Models\ResultFormatter() )->processOutJson($in, $out);
|
||||
return $res['result_list'];
|
||||
}
|
||||
|
||||
public function sendJobInterest(){
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
|
||||
Reference in New Issue
Block a user