修复若干bug

This commit is contained in:
2026-03-10 22:24:06 +08:00
parent 7cdb591f69
commit 98156991c1
16 changed files with 1021 additions and 892 deletions
+2 -1
View File
@@ -34,7 +34,8 @@ class Index extends BaseController
// 兼容:从header获取
if ($tid == 0) {
$tid = (int)$request->header('X-Tenant-Id', 0);
$headerTid = $request->header('X-Tenant-Id');
$tid = $headerTid ? (int)$headerTid : 0;
}
// 调试:检查tid