When I use the module controller method name to access it, it shows 404
大司命
大司命 2019-08-21 18:38:49
0
1
1261

<?php
namespace app\index\controller;
use app\index\controller\Base;

class User extends Base
{
//Login interface Rendering
public function login()
{
return $this->view->fetch();
}
//Login verification
public function checkLogin()
{
}
//Log out
public function logout()
{
}
}
Access address: http://www.65481.cn/ index/user/login

大司命
大司命

reply all(1)
林瑞程

Refer to the URL access chapter of the development manual. Route rewrite rules

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!