mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-08 19:12:48 +08:00
删除事件代码
This commit is contained in:
@@ -14,13 +14,12 @@ use think\facade\App;
|
|||||||
|
|
||||||
class Version extends Command
|
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 LAYUI_VERSION = '2.8.16';
|
||||||
|
|
||||||
public const COMMENT = [
|
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