Commit 47efc73e authored by hujun's avatar hujun

处理财务路由

(cherry picked from commit d4f8ec6e)
parent 82c9886d
...@@ -72,7 +72,12 @@ class Basic extends Controller ...@@ -72,7 +72,12 @@ class Basic extends Controller
$this->params = $this->request->param() != null ? $this->request->param() : null; $this->params = $this->request->param() != null ? $this->request->param() : null;
} }
$requestPath = $this->request->routeInfo()["rule"][0] . "/" . $this->request->routeInfo()["rule"][1]; // $requestPath = $this->request->routeInfo()["rule"][0] . "/" . $this->request->routeInfo()["rule"][1];
if (isset($this->request->routeInfo()["var"]["check_status"])) {
$requestPath = $this->request->routeInfo()["rule"][0] . "/" . $this->request->routeInfo()["rule"][1]. "/" . $this->request->routeInfo()["var"]["check_status"];
} else {
$requestPath = $this->request->routeInfo()["rule"][0] . "/" . $this->request->routeInfo()["rule"][1];
}
if (!in_array($requestPath, $this->filterVerify)) { if (!in_array($requestPath, $this->filterVerify)) {
$this->userVerify(); $this->userVerify();
......
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