批量更新租户规则

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 -2
View File
@@ -45,10 +45,10 @@ class DomainParse
if ($tenantDomain) {
// 将租户ID写入请求对象,供后续控制器使用
$request->tenantId = $tenantDomain['tenant_id'];
$request->tenantId = $tenantDomain['tid'];
// 同时写入header,方便前端获取
$request->header['X-Tenant-Id', $tenantDomain['tenant_id']);
$request->header['X-Tenant-Id', $tenantDomain['tid']);
}
return $next($request);