emsil alerts
This commit is contained in:
@@ -13,6 +13,7 @@ define('WRB_CRONJOB_GROUPJOBS', 778);
|
||||
define('WRB_CRONJOB_TESTNOTIFICATIONS', 779);
|
||||
define('WRB_CRONJOB_SCHEULETRANSFER', 780);
|
||||
define('WRB_CRONJOB_PROCESSTRANSFER', 781);
|
||||
define('WRB_CRONJOB_APPEMAILS', 782);
|
||||
|
||||
define('WRB_CRONJOB_AUTO_OFFEREXPIRE', 785);
|
||||
define('WRB_CRONJOB_HOLIDAY_BROADCAST', 786);
|
||||
@@ -31,6 +32,17 @@ class AirFlow extends BaseController
|
||||
return []; //json_encode( $final_out );
|
||||
}
|
||||
|
||||
public function flowAppEmails(){
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$in["action"] = WRB_JOB_CRONJOB; //WRB_CRONJOB_AUTO_OFFEREXPIRE
|
||||
$in["call_action"] = WRB_CRONJOB_APPEMAILS;
|
||||
$out =[];
|
||||
log_message('critical', "AirFlow::flowAppEmails ********* ALL ".serialize($in) );
|
||||
$ret['WRB_CRONJOB_APPEMAILS'] = (new \App\Models\BackendModel())->wrenchboard_api($in, $out);
|
||||
return []; //json_encode( $final_out );
|
||||
|
||||
}
|
||||
public function flowHolidayBroadCast(){
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
|
||||
Reference in New Issue
Block a user