FIX_NOTIFICATION_ROUTE_CHANGE_CLI_TO_GET_METHOD

This commit is contained in:
gandhimathi 2023-12-12 04:18:54 +00:00
parent 1b3c9b8520
commit 567a353b1c

View File

@ -132,7 +132,7 @@ $routes->match(['get','post'],'/itemwise_report','Invoice::itemwise_report');
# Notifications Routes # Notifications Routes
// $routes->get('controller/SubExpdetail/(:num)', 'YourController::SubExpdetail/$1'); // $routes->get('controller/SubExpdetail/(:num)', 'YourController::SubExpdetail/$1');
$routes->cli("getExpCustomerDetail/(:num)",'Notifications::getExpCustomerDetail/$1'); $routes->get("getExpCustomerDetail/(:num)",'Notifications::getExpCustomerDetail/$1');
$routes->get('send_whatsapp_message/', 'Notifications::send_whatsapp_message'); $routes->get('send_whatsapp_message/', 'Notifications::send_whatsapp_message');
$routes->post('whatsapp_custom_notifications/', 'Notifications::whatsapp_custom_notifications'); $routes->post('whatsapp_custom_notifications/', 'Notifications::whatsapp_custom_notifications');
$routes->match(['post', 'get'], 'mail_custom_notifications', 'Notifications::mail_custom_notifications'); $routes->match(['post', 'get'], 'mail_custom_notifications', 'Notifications::mail_custom_notifications');