Commit c973617b authored by zhuwei's avatar zhuwei

bug

parent 37ecbfc1
...@@ -150,7 +150,7 @@ class User extends Basic ...@@ -150,7 +150,7 @@ class User extends Basic
{ {
header('Access-Control-Allow-Origin:*'); header('Access-Control-Allow-Origin:*');
$params = $this->params; $params = $this->params;
//$this->city='上海市'; $this->city='上海市';
/*$params = array( /*$params = array(
"user_id" => 3, "user_id" => 3,
"agent_id" => 9, "agent_id" => 9,
...@@ -187,10 +187,10 @@ class User extends Basic ...@@ -187,10 +187,10 @@ class User extends Basic
} }
//todo 判断 //todo 判断
$clientService = new ClientService(); // $clientService = new ClientService();
if(!$clientService->dialTotal($params['user_id'])){ // if(!$clientService->dialTotal($params['user_id'])){
return $this->response("200", "不符合条件2", []); // return $this->response("200", "不符合条件2", []);
} // }
$where = []; $where = [];
$where['city'] = trim($this->city); $where['city'] = trim($this->city);
......
...@@ -97,7 +97,7 @@ class Basic extends Controller ...@@ -97,7 +97,7 @@ class Basic extends Controller
$this->timeStamp_ = $result->timeStamp_; $this->timeStamp_ = $result->timeStamp_;
} }
//获取默认城市 //获取默认城市
$this->getCity($this->agentId); //$this->getCity($this->agentId);
$requestPath = $this->request->routeInfo()["rule"][0] . "/" . $this->request->routeInfo()["rule"][1]; $requestPath = $this->request->routeInfo()["rule"][0] . "/" . $this->request->routeInfo()["rule"][1];
//过滤掉不需要验证token的接口 //过滤掉不需要验证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