Home > Article > Backend Development > Why does an error appear when accessing this controller?
This is how I accessed ithttp://localhost/a/shop/index.php/admin/goods/manager/login
This controller path is like this
is:
<code><?php namespace Admin\Controller; use Think\Controller; class ManagerController extends Controller { function login() { echo "aaa";; } } ?></code>
The error message is like this
This is how I accessed ithttp://localhost/a/shop/index.php/admin/goods/manager/login
This controller path is like this
is:
<code><?php namespace Admin\Controller; use Think\Controller; class ManagerController extends Controller { function login() { echo "aaa";; } } ?></code>
The error message is like this
http://localhost/a/shop/index.php/Admin/Manager/login