new end points

This commit is contained in:
CHIEFSOFT\ameye
2024-09-09 15:59:20 -04:00
parent fb6bf88b6c
commit 4089b3dd6a
2 changed files with 30 additions and 0 deletions
+3
View File
@@ -46,6 +46,9 @@ $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');
$routes->get('/en/flow/api/v1/processtransfer', 'AirFlow::flowProcessTransfer');
$routes->get('/en/flow/api/v1/scheduletransfer', 'AirFlow::flowScheduleTransfer');
$routes->get('/en/flow/api/v1/testnotifications', 'AirFlow::flowTestNotifications');
include "RoutesV1.php";
+27
View File
@@ -70,6 +70,33 @@ class AirFlow extends BaseController
return []; //json_encode( $final_out );
}
public function flowProcessTransfer(){
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
$out =[];
log_message('critical', "AirFlow::flowProcessTransfer ********* ALL ".serialize($in) );
return []; //json_encode( $final_out );
}
public function flowScheduleTransfer(){
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
$out =[];
log_message('critical', "AirFlow::flowScheduleTransfer ********* ALL ".serialize($in) );
return []; //json_encode( $final_out );
}
public function flowTestNotifications(){
$raw_json = file_get_contents('php://input');
$in = json_decode($raw_json, true);
$out =[];
log_message('critical', "AirFlow::flowTestNotifications ********* ALL ".serialize($in) );
return []; //json_encode( $final_out );
}
public function flowSendNotifications(){
$raw_json = file_get_contents('php://input');