This commit is contained in:
CHIEFSOFT\ameye
2023-12-07 18:05:20 -05:00
parent efb92948d8
commit 6ded64be76
2 changed files with 9 additions and 3 deletions
+5
View File
@@ -8,6 +8,7 @@ define('WRB_CRONJOB_SIGNUP_ALERT', 773);
define('WRB_CRONJOB_PASTDUE_ALERT',774);
define('WRB_CRONJOB_OFFER_REFUND_ALERT',775);
define('WRB_CRONJOB_PENDOFFER_ALERT',776);
define('WRB_CRONJOB_NOTIFICATIONS', 777) ;
class WrenchCrons extends BaseController
{
@@ -38,6 +39,10 @@ class WrenchCrons extends BaseController
$wrenchboard = new \App\Models\BackendModel();
$out=[];
$in['call_action'] = WRB_CRONJOB_NOTIFICATIONS;
$in['one_limit'] = 10;
$ret['WRB_CRONJOB_NOTIFICATIONS'] = $wrenchboard->wrenchboard_api($in, $out);
log_message('critical', "WrenchCrons ===> 0001");
//$response = []; //json_decode($complete, true);
return $this->response->setJson($out);