<?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
Refer to the URL access chapter of the development manual. Route rewrite rules