session fix
This commit is contained in:
@@ -25,19 +25,18 @@ class PromoAdmin extends BaseController
|
||||
return view('admin/index', $out);
|
||||
}
|
||||
|
||||
public function addRefMember(){
|
||||
// $raw_json = file_get_contents('php://input');
|
||||
// $in = json_decode($raw_json, true);
|
||||
// $id_booking = $this->input->post('id_booking');
|
||||
// $in = $this->request->get;
|
||||
// var_dump( $_GET );
|
||||
// exit;
|
||||
$data['email'] = $_GET['email']; // strtolower($this->input->get('email')); // '08174596144';
|
||||
$data['firstname'] = $_GET['firstname']; // $this->input->get('firstname'); //'7978';
|
||||
$data['lastname'] = $_GET['lastname']; // strtolower($this->input->get('lastname')); // '08174596144';
|
||||
|
||||
public function PromoMyList(){
|
||||
$out=[];
|
||||
//exit();
|
||||
return view('admin/mylist', $out);
|
||||
}
|
||||
public function addRefMember(){
|
||||
|
||||
$data['email'] = $_GET['email'];
|
||||
$data['firstname'] = $_GET['firstname'];
|
||||
$data['lastname'] = $_GET['lastname'];
|
||||
|
||||
$out=[];
|
||||
$out = $this->APIcall('POST', $this->wrenchAdminApiServer(). 'list',$data);
|
||||
var_dump( $out );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user