Browse Source

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

lifa 1 năm trước cách đây
mục cha
commit
57a5cb55f5

+ 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>
             主键