Преглед на файлове

项目详情-推广码 判断用户租户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>
             主键