删除事件代码

This commit is contained in:
2023-09-23 14:53:05 +08:00
parent 68f92e9cf2
commit ea9b8b0e71
2 changed files with 2 additions and 20 deletions

View File

@@ -14,13 +14,12 @@ use think\facade\App;
class Version extends Command
{
public const VERSION = 'v2.0.39';
public const VERSION = 'v2.0.40';
public const LAYUI_VERSION = '2.8.16';
public const COMMENT = [
'增加response的事件机制',
'为login增加事件',
'删除事件代码',
'发布新版本',
];

View File

@@ -1,17 +0,0 @@
<?php
namespace app\common\event\AdminLoginIndex;
class Index
{
public function handle($params)
{
$controller = $params['controller'];
$controller->assign('captcha',1);
return [
'response' => $controller->fetch('login/ext/index'),
];
}
}