Commit c973617b authored by zhuwei's avatar zhuwei

bug

parent 37ecbfc1
......@@ -150,7 +150,7 @@ class User extends Basic
{
header('Access-Control-Allow-Origin:*');
$params = $this->params;
//$this->city='上海市';
$this->city='上海市';
/*$params = array(
"user_id" => 3,
"agent_id" => 9,
......@@ -187,10 +187,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);
......
......@@ -97,7 +97,7 @@ class Basic extends Controller
$this->timeStamp_ = $result->timeStamp_;
}
//获取默认城市
$this->getCity($this->agentId);
//$this->getCity($this->agentId);
$requestPath = $this->request->routeInfo()["rule"][0] . "/" . $this->request->routeInfo()["rule"][1];
//过滤掉不需要验证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