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); }