登录验证

This commit is contained in:
巴掌 committed 2018-12-06 16:29:09 +08:00
1 parent ee93125283
commit 2740a308a2
11 files changed
+116 -47

No files matched your search

+13 -4
View File
@@ -2,10 +2,19 @@
namespace app\login\controller;
// 引用空控制器基类
use app\common\controller\BaseError;
// 引用控制器类
use think\Controller;
class Error extends BaseError
class Error extends Controller
{
//
public function index()
{
// 跳转页面
$this->error('不好意思,您访问的页面不存在~');
}
public function _empty()
{
$this->error('不好意思,您访问的页面不存在~');
}
}