Commit c4933dc6 authored by clone's avatar clone

bug

parent 7e881b84
......@@ -61,7 +61,7 @@ class User extends Basic
public function searchUser()
{
$params = $this->params;
/* $params = array(
/* $params = array(
"user_status" => 0,//客户状态(0:求租;1:已租;-1:无效)
"yetai" => "休闲娱乐",
"area_start" => 1,//面积起始范围 room_area2
......@@ -164,7 +164,7 @@ class User extends Basic
}
$vip_services = new VipService();
// $data['examine_vip'] = $vip_services->vip($this->agentId);
$data['examine_vip'] = $vip_services->vip($this->agentId);
$data['user_date'] = $list;
return $this->response("200", 'request success', $data);
}
......@@ -179,7 +179,7 @@ class User extends Basic
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
$this->city = '上海市';
/*$params = array(
"user_id" => 3,
"agent_id" => 9,
......@@ -216,10 +216,10 @@ class User extends Basic
}
//todo 判断
// $clientService = new ClientService();
// if(!$clientService->dialTotal($params['user_id'])){
// return $this->response("200", "不符合条件2", []);
// }
$clientService = new ClientService();
if (!$clientService->dialTotal($params['user_id'])) {
return $this->response("200", "不符合条件2", []);
}
$where = [];
$where['city'] = trim($this->city);
......
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