批量更新租户规则
This commit is contained in:
1 parent
e09b4c639c
commit
e27cc8f457
45 files changed
+579
-314
No files matched your search
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user