zmq 1 year ago
parent
commit
1b8edf727c

+ 1 - 1
src/platform/ZhonTai.Admin/Services/DiTuiAPI/KuaKe/KuaKeService.cs

@@ -62,7 +62,7 @@ namespace ZhonTai.Admin.Services.DiTuiAPI.KuaKe
         [HttpGet]
         public async Task<KuakeDetailOutput> Detail([Required]long ProjectId)
         {
-            var project = await _projectRepository.Select.Where(m => m.Id == ProjectId && m.ProjectType == 2).ToOneAsync();
+            var project = await _projectRepository.Select.DisableGlobalFilter(FilterNames.Tenant).Where(m => m.Id == ProjectId && m.ProjectType == 2).ToOneAsync();
             if (!(project?.Id > 0))
             {
                 throw ResultOutput.Exception("项目不存在");