flow functions
This commit is contained in:
@@ -38,7 +38,11 @@ $routes->set404Override();
|
||||
//www-api/app/Config/RoutesV1.php
|
||||
|
||||
|
||||
$routes->get('/en/flow/api/v1/new-account','AirFlow::flowNewAccount');
|
||||
$routes->get('/en/flow/api/v1/new-account', 'AirFlow::flowNewAccount');
|
||||
$routes->get('/en/flow/api/v1/offer-pending', 'AirFlow::flowOfferPending');
|
||||
$routes->get('/en/flow/api/v1/due-reminder', 'AirFlow::flowDueReminder');
|
||||
$routes->get('/en/flow/api/v1/approve-reminder','AirFlow::flowApproveReminder');
|
||||
$routes->get('/en/flow/api/v1/signup-report', 'AirFlow::flowSignupReport');
|
||||
|
||||
include "RoutesV1.php";
|
||||
/*
|
||||
|
||||
@@ -13,4 +13,41 @@ class AirFlow extends BaseController
|
||||
log_message('critical', "AirFlow::flowNewAccount ********* ALL ".serialize($in) );
|
||||
return []; //json_encode( $final_out );
|
||||
}
|
||||
|
||||
public function flowOfferPending(){
|
||||
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$out =[];
|
||||
log_message('critical', "AirFlow::flowOfferPending ********* ALL ".serialize($in) );
|
||||
return []; //json_encode( $final_out );
|
||||
}
|
||||
|
||||
public function flowDueReminder(){
|
||||
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$out =[];
|
||||
log_message('critical', "AirFlow::flowDueReminder ********* ALL ".serialize($in) );
|
||||
return []; //json_encode( $final_out );
|
||||
}
|
||||
|
||||
public function flowApproveReminder(){
|
||||
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$out =[];
|
||||
log_message('critical', "AirFlow::flowApproveReminder ********* ALL ".serialize($in) );
|
||||
return []; //json_encode( $final_out );
|
||||
}
|
||||
|
||||
public function flowSignupReport(){
|
||||
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$out =[];
|
||||
log_message('critical', "AirFlow::flowSignupReport ********* ALL ".serialize($in) );
|
||||
return []; //json_encode( $final_out );
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user