group offer

This commit is contained in:
CHIEFSOFT\ameye
2024-01-07 18:41:44 -05:00
parent 6dd02d77ea
commit 8cbff65d12
2 changed files with 10 additions and 3 deletions
+5 -3
View File
@@ -230,10 +230,12 @@ $routes->post('/en/wrench/hooks/v1/stripes', 'WrenchHooks::stripes');
// cron jobs ------------ ===== ------------
$routes->post('/en/wrench/api/v1/cron', 'WrenchCrons::apigate');
$routes->get('/en/wrench/api/v1/cron', 'WrenchCrons::apigate');
$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/cron', 'WrenchCrons::apigate');
$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/bko', 'Bko::apigate');
+5
View File
@@ -33,6 +33,11 @@ class WrenchCrons extends BaseController
//$routes->get('/en/wrench/api/v1/cron_jobalerts', 'WrenchCrons::jobalerts');
//$routes->get('/en/wrench/api/v1/cron_notifications', 'WrenchCrons::notifications');
public function groupoffer(){
log_message('critical', "WrenchCrons ===> groupoffer ******** 0001");
return [];
}
public function cron_notifications()
{
log_message('critical', "WrenchCrons ===> cron_notifications ******** 0001");