extra actions
This commit is contained in:
@@ -58,6 +58,10 @@ $routes->get('/en/flow/api/v1/offersmissed', 'AirFlow::flowOfferMissed');
|
||||
$routes->get('/en/flow/api/v1/holidaybroadcast', 'AirFlow::flowHolidayBroadCast');
|
||||
$routes->get('/en/flow/api/v1/refreshresoucres', 'AirFlow::flowRefreshResources');
|
||||
|
||||
$routes->group('/en/wrench/api/v1/', static function ($routes) {
|
||||
$routes->get('/stripe-card', 'AirFlow::flowStripeCard');
|
||||
});
|
||||
|
||||
|
||||
include "RoutesV1.php";
|
||||
/*
|
||||
|
||||
@@ -111,6 +111,14 @@ class AirFlow extends BaseController
|
||||
}
|
||||
return []; //json_encode( $final_out );
|
||||
}
|
||||
|
||||
public function flowStripeCard():array{
|
||||
$raw_json = file_get_contents('php://input');
|
||||
$in = json_decode($raw_json, true);
|
||||
$out =[];
|
||||
log_message('critical', "AirFlow::flowStripeCard ********* ALL ".serialize($in) );
|
||||
return []; //json_encode( $final_out );
|
||||
}
|
||||
public function flowApproveReminder(){
|
||||
|
||||
$raw_json = file_get_contents('php://input');
|
||||
|
||||
@@ -241,6 +241,12 @@ class WrenchWallet extends BaseController
|
||||
}
|
||||
}
|
||||
|
||||
if ( is_array($out) && isset($out['result_list'])){
|
||||
foreach ($out['result_list'] as $index=>$item){
|
||||
$out['result_list'][$index]['extra_actions'] = ['common soon '];
|
||||
}
|
||||
}
|
||||
|
||||
if ( count($out["result_list"])> 0 ){
|
||||
$owner_country = $out["result_list"][0]['owner_country'];
|
||||
// $wallet_country = $first_names = array_column($owner_country , 'country');;
|
||||
|
||||
Reference in New Issue
Block a user