批量更新租户规则
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
namespace app\admin\controller\OperationLog;
|
||||
|
||||
use app\model\OperationLog;
|
||||
use app\model\System\OperationLog;
|
||||
use think\facade\Request;
|
||||
use think\facade\Session;
|
||||
|
||||
@@ -37,6 +37,7 @@ class OperationLogHelper
|
||||
$userId = $userInfo['id'] ?? 0;
|
||||
$userAccount = $userInfo['account'] ?? '';
|
||||
$userName = $userInfo['name'] ?? '';
|
||||
$tid = $userInfo['tid'] ?? ($userInfo['tid'] ?? 0);
|
||||
|
||||
// 获取请求信息
|
||||
$method = Request::method();
|
||||
@@ -52,6 +53,7 @@ class OperationLogHelper
|
||||
'user_id' => $userId,
|
||||
'user_account' => $userAccount,
|
||||
'user_name' => $userName,
|
||||
'tid' => $tid,
|
||||
'module' => $module,
|
||||
'action' => $action,
|
||||
'method' => $method,
|
||||
|
||||
Reference in New Issue
Block a user