正在显示
1 个修改的文件
包含
1 行增加
和
1 行删除
@@ -116,7 +116,7 @@ class Api | @@ -116,7 +116,7 @@ class Api | ||
116 | $this->auth = Auth::instance(); | 116 | $this->auth = Auth::instance(); |
117 | 117 | ||
118 | $modulename = $this->request->module(); | 118 | $modulename = $this->request->module(); |
119 | - $controllername = strtolower($this->request->controller()); | 119 | + $controllername = Loader::parseName($this->request->controller()); |
120 | $actionname = strtolower($this->request->action()); | 120 | $actionname = strtolower($this->request->action()); |
121 | 121 | ||
122 | // token | 122 | // token |
-
请 注册 或 登录 后发表评论