session fix

This commit is contained in:
CHIEFSOFT\ameye
2024-11-17 08:39:03 -05:00
parent dd041e3a87
commit 879fc68bb3
6 changed files with 231 additions and 30 deletions
+10 -11
View File
@@ -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 );