new end points
This commit is contained in:
@@ -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/refresh-blog', 'AirFlow::flowRefreshBlog');
|
||||||
$routes->get('/en/flow/api/v1/notifications', 'AirFlow::flowSendNotifications');
|
$routes->get('/en/flow/api/v1/notifications', 'AirFlow::flowSendNotifications');
|
||||||
$routes->get('/en/flow/api/v1/interestcount', 'AirFlow::flowInterestcount');
|
$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";
|
include "RoutesV1.php";
|
||||||
|
|||||||
@@ -70,6 +70,33 @@ class AirFlow extends BaseController
|
|||||||
return []; //json_encode( $final_out );
|
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(){
|
public function flowSendNotifications(){
|
||||||
|
|
||||||
$raw_json = file_get_contents('php://input');
|
$raw_json = file_get_contents('php://input');
|
||||||
|
|||||||
Reference in New Issue
Block a user