mirror of
https://gitee.com/ulthon/ulthon_admin.git
synced 2026-07-05 17:42:49 +08:00
16 lines
295 B
PHP
16 lines
295 B
PHP
<?php
|
|
|
|
namespace app\common\event\AdminLoginSuccess;
|
|
|
|
use app\admin\model\SystemAdmin;
|
|
use think\facade\Log;
|
|
|
|
class LogEvent
|
|
{
|
|
public function handle(SystemAdmin $system_admin)
|
|
{
|
|
// 事件监听处理
|
|
Log::report("admin login success,{$system_admin->username}");
|
|
}
|
|
}
|