mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
删除事件代码
This commit is contained in:
@@ -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增加事件',
|
||||
'删除事件代码',
|
||||
'发布新版本',
|
||||
];
|
||||
|
||||
|
||||
@@ -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'),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user