批量更新租户规则
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
namespace app\admin\controller\OperationLog;
|
||||
|
||||
use think\facade\Request;
|
||||
use app\model\OperationLog;
|
||||
use app\model\System\OperationLog;
|
||||
use app\service\JwtService;
|
||||
|
||||
/**
|
||||
@@ -33,6 +33,7 @@ class OperationLogger
|
||||
$userId = $userInfo['id'] ?? 0;
|
||||
$userAccount = $userInfo['account'] ?? '';
|
||||
$userName = $userInfo['name'] ?? '';
|
||||
$tid = $userInfo['tid'] ?? ($userInfo['tid'] ?? 0);
|
||||
|
||||
if (empty($requestData)) {
|
||||
$requestData = Request::param();
|
||||
@@ -49,6 +50,7 @@ class OperationLogger
|
||||
'user_id' => $userId,
|
||||
'user_account' => $userAccount,
|
||||
'user_name' => $userName,
|
||||
'tid' => $tid,
|
||||
'module' => $module,
|
||||
'action' => $action,
|
||||
'method' => $method,
|
||||
|
||||
Reference in New Issue
Block a user