From a58bcf551f6e994f3fe3561b2fe6bcf6331be861 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Sat, 3 Feb 2024 09:07:24 -0500 Subject: [PATCH] Trasfer automation --- www-api/app/Config/Routes.php | 1 + www-api/app/Controllers/WrenchCrons.php | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/www-api/app/Config/Routes.php b/www-api/app/Config/Routes.php index b9fad849..38fb5787 100644 --- a/www-api/app/Config/Routes.php +++ b/www-api/app/Config/Routes.php @@ -239,6 +239,7 @@ $routes->get('/en/wrench/api/v1/cron_jobalerts', 'WrenchCrons::jobalerts $routes->get('/en/wrench/api/v1/notifications', 'WrenchCrons::cron_notifications'); $routes->get('/en/wrench/api/v1/offersreminders', 'WrenchCrons::offersreminders'); $routes->get('/en/wrench/api/v1/groupoffer', 'WrenchCrons::groupoffer'); +$routes->get('/en/wrench/api/v1/tranfercrons', 'WrenchCrons::tranfercrons'); diff --git a/www-api/app/Controllers/WrenchCrons.php b/www-api/app/Controllers/WrenchCrons.php index c0d078cc..c82846b4 100644 --- a/www-api/app/Controllers/WrenchCrons.php +++ b/www-api/app/Controllers/WrenchCrons.php @@ -102,6 +102,12 @@ class WrenchCrons extends BaseController return $this->response->setJson($out); } + public function tranfercrons(){ + $out = array(); + + return $this->response->setJson($out); + } + public function offersreminders(){ log_message('critical', "WrenchCrons ===> offersreminders ******** 0001"); $in["action"] =WRB_JOB_CRONJOB;