zmq 1 年之前
父节点
当前提交
1b8edf727c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/platform/ZhonTai.Admin/Services/DiTuiAPI/KuaKe/KuaKeService.cs

+ 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("项目不存在");