Notifications
This commit is contained in:
@@ -41,7 +41,7 @@ class AirFlow extends BaseController
|
||||
$out =[];
|
||||
log_message('critical', "AirFlow::flowDueReminder ********* ALL ".serialize($in) );
|
||||
return $this->jobLevelAlerts();
|
||||
|
||||
|
||||
// return []; //json_encode( $final_out );
|
||||
}
|
||||
|
||||
@@ -54,6 +54,21 @@ class AirFlow extends BaseController
|
||||
return []; //json_encode( $final_out );
|
||||
}
|
||||
|
||||
public function flowSendNotifications(){
|
||||
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$out =[];
|
||||
log_message('critical', "AirFlow::flowApproveReminder ********* ALL ".serialize($in) );
|
||||
$in["loc"] = $_SERVER["REMOTE_ADDR"];
|
||||
$in['call_action'] = WRB_CRONJOB_NOTIFICATIONS;
|
||||
$in['one_limit'] = 10; //remove this
|
||||
$in['limit'] = 10;
|
||||
$ret['WRB_CRONJOB_NOTIFICATIONS'] = (new \App\Models\BackendModel())->wrenchboard_api($in, $out);
|
||||
return []; //json_encode( $final_out );
|
||||
}
|
||||
|
||||
|
||||
public function flowSignupReport(){
|
||||
|
||||
$raw_json = file_get_contents('php://input');
|
||||
|
||||
Reference in New Issue
Block a user