This commit is contained in:
2025-03-27 14:45:54 +08:00
parent 0148b14764
commit f43ad61f57
5091 changed files with 976401 additions and 110 deletions

View File

@@ -0,0 +1,14 @@
<?php
namespace app\admin\behavior;
class AdminLog
{
public function run(&$response)
{
//只记录POST请求的日志
if (request()->isPost() && config('fastadmin.auto_record_log')) {
\app\admin\model\AdminLog::record();
}
}
}