审查视图

application/admin/behavior/AdminLog.php 197 字节
Karson authored
1 2 3 4 5 6 7 8
<?php

namespace app\admin\behavior;

class AdminLog
{
    public function run(&$params)
    {
9
        if (request()->isPost()) {
Karson authored
10 11 12 13
            \app\admin\model\AdminLog::record();
        }
    }
}