From 0234fb3d95bbc79cb66a0839ed82b7fe83cba2a9 Mon Sep 17 00:00:00 2001 From: molong Date: Fri, 9 Sep 2016 11:40:53 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A7=A3=E5=86=B3bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/common/controller/Base.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/common/controller/Base.php b/application/common/controller/Base.php index 99acd3ec..e6790ce8 100644 --- a/application/common/controller/Base.php +++ b/application/common/controller/Base.php @@ -145,7 +145,7 @@ class Base extends \think\Controller { defined('ACTION_NAME') or define('ACTION_NAME', $this->request->action()); defined('IS_POST') or define('IS_POST', $this->request->isPost()); defined('IS_GET') or define('IS_GET', $this->request->isGet()); - $this->url = $this->request->module() . '/' . $this->request->controller() . '/' . $this->request->action(); + $this->url = strtolower($this->request->module() . '/' . $this->request->controller() . '/' . $this->request->action()); $this->assign('request', $this->request); $this->assign('param', $this->param); }