Commit 8f3d472a by Jansa Jose

add to cart

parent 2c8bfc9f
...@@ -2161,6 +2161,9 @@ ...@@ -2161,6 +2161,9 @@
echo json_encode($respArr);exit; echo json_encode($respArr);exit;
} }
$post = file_get_contents("php://input");
$postData = json_decode($post,true);
$authRes = $this->Webservice_model->get_customer_authtoken($headers['Auth']); $authRes = $this->Webservice_model->get_customer_authtoken($headers['Auth']);
if($authRes['status'] == 'error'){ if($authRes['status'] == 'error'){
echo json_encode($authRes);exit; echo json_encode($authRes);exit;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment