25 lines
541 B
PHP
25 lines
541 B
PHP
<?php
|
|
|
|
namespace App\Controllers;
|
|
|
|
class DigiCallBack extends BaseController
|
|
{
|
|
public function cardAccount(){
|
|
$raw_json = file_get_contents('php://input');
|
|
$in = json_decode($raw_json, true);
|
|
$out =[];
|
|
|
|
$inKeys = array_keys($in);
|
|
foreach ($inKeys as $item){
|
|
log_message('critical', "DigiCallBack:: item ********* ". $in[$item] );
|
|
}
|
|
|
|
// $arr = array(1, 2, 3, 4);
|
|
//foreach ($arr as &$value) {
|
|
// $value = $value * 2;
|
|
//}
|
|
|
|
return []; //json_encode( $final_out );
|
|
}
|
|
|
|
} |