<?php
namespace app\admin\controller;
use app\admin\common\Base;
use think\Request;
class Login extends Base
{
public function index()
//Remember that when rendering the page file, you do not need to add a suffix so that it can be loaded normally Page file
{
Return $this->fetch('login');
}
//Verify user identity
public function check()
{
}
}
//Log out
public Function Save (Request $ Request)
{
} }
Open debug to see what errors are reported, and then copy the errors to see
Have you turned on debug mode
What error is reported?