Commit 391ba383 by Tobin

dc

parent 0869a7ed
...@@ -581,6 +581,18 @@ class Webservice extends CI_Controller { ...@@ -581,6 +581,18 @@ class Webservice extends CI_Controller {
} }
} }
public function update_user_visibility(){
$data = (array) json_decode(file_get_contents('php://input'));
$data['auth_token'] = $this->auth_token;
$res = $this->Webservice_model->update_user_visibility($data);
if($res['status'] != 0){
$this->successResponse();
} else {
$this->errorResponse($res['code'],$res['message']);
}
}
public function get_hotel_city_list(){ public function get_hotel_city_list(){
$data = $_GET; $data = $_GET;
$data['auth_token'] = $this->auth_token; $data['auth_token'] = $this->auth_token;
......
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