批量更新租户规则

This commit is contained in:
2026-03-09 23:00:20 +08:00
parent e09b4c639c
commit e27cc8f457
45 changed files with 579 additions and 314 deletions
@@ -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,