Commit 72d342f3 authored by zw's avatar zw

验证autoken

parent 9a6c845e
...@@ -101,7 +101,6 @@ class Basic extends Controller ...@@ -101,7 +101,6 @@ class Basic extends Controller
} }
//获取默认城市 //获取默认城市
$this->getCity($this->agentId); $this->getCity($this->agentId);
//$this->city = "上海市";
$requestPath = $this->request->routeInfo()["rule"][0] . "/" . $this->request->routeInfo()["rule"][1]; $requestPath = $this->request->routeInfo()["rule"][0] . "/" . $this->request->routeInfo()["rule"][1];
//过滤掉不需要验证token的接口 //过滤掉不需要验证token的接口
if (!in_array(trim($requestPath), $this->filterVerify)) { if (!in_array(trim($requestPath), $this->filterVerify)) {
......
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