소스 검색

项目详情-推广码 判断用户租户ID

lifa 1 년 전
부모
커밋
57a5cb55f5
2개의 변경된 파일6개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/platform/ZhonTai.Admin/Services/DiTuiAPI/ProjectsService.cs
  2. 5 0
      src/platform/ZhonTai.Admin/ZhonTai.Admin.xml

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

@@ -320,7 +320,7 @@ namespace ZhonTai.Admin.Services.DiTuiAPI
                 .WhereIf(ProjectId.HasValue && ProjectId.Value > 0, a => a.ProjectId == ProjectId)
                 .WhereIf(Salesman.NotNull(), a => a.Salesman.Contains(Salesman))
                 .WhereIf(SalesmanPhone.NotNull(), a => a.SalesmanPhone.Contains(SalesmanPhone))
-                .Where(a=> a.IsUse == 1)
+                .Where(a=> a.IsUse == 1 && a.TenantId == User.TenantId)
                 .OrderByDescending(a => a.UseTime)
             .Count(out var total)
             .Page(input.CurrentPage, input.PageSize)

+ 5 - 0
src/platform/ZhonTai.Admin/ZhonTai.Admin.xml

@@ -9158,6 +9158,11 @@
             创建时间
             </summary>
         </member>
+        <member name="P:ZhonTai.Admin.Services.Tenant.Dto.TenantListOutput.H5WebSite">
+            <summary>
+            H5域名
+            </summary>
+        </member>
         <member name="P:ZhonTai.Admin.Services.Tenant.Dto.TenantSelectListOutput.Id">
             <summary>
             主键