From 60f595d8e8af7a55a4979094fa57df6ea061fee2 Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Fri, 6 Sep 2024 10:23:09 -0400 Subject: [PATCH] flowInterestcount --- www-api/app/Config/Routes.php | 2 +- www-api/app/Controllers/AirFlow.php | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/www-api/app/Config/Routes.php b/www-api/app/Config/Routes.php index 3d86f2b2..ccaa856d 100644 --- a/www-api/app/Config/Routes.php +++ b/www-api/app/Config/Routes.php @@ -45,7 +45,7 @@ $routes->get('/en/flow/api/v1/approve-reminder','AirFlow::flowApproveReminder'); $routes->get('/en/flow/api/v1/signup-report', 'AirFlow::flowSignupReport'); $routes->get('/en/flow/api/v1/refresh-blog', 'AirFlow::flowRefreshBlog'); $routes->get('/en/flow/api/v1/notifications', 'AirFlow::flowSendNotifications'); - +$routes->get('/en/flow/api/v1/interestcount', 'AirFlow::flowInterestcount'); include "RoutesV1.php"; diff --git a/www-api/app/Controllers/AirFlow.php b/www-api/app/Controllers/AirFlow.php index a7084c68..1f3faa4f 100644 --- a/www-api/app/Controllers/AirFlow.php +++ b/www-api/app/Controllers/AirFlow.php @@ -45,6 +45,15 @@ class AirFlow extends BaseController // return []; //json_encode( $final_out ); } + // + public function flowInterestcount(){ + + $raw_json = file_get_contents('php://input'); + $in = json_decode($raw_json, true); + $out =[]; + log_message('critical', "AirFlow::flowInterestcount ********* ALL ".serialize($in) ); + return []; //json_encode( $final_out ); + } public function flowApproveReminder(){ $raw_json = file_get_contents('php://input');