flow functions

This commit is contained in:
CHIEFSOFT\ameye
2024-09-01 16:15:56 -04:00
parent 43942441ef
commit c7f490641c
2 changed files with 42 additions and 1 deletions
+5 -1
View File
@@ -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";
/*
+37
View File
@@ -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 );
}
}