lihao 4 years ago
parent
commit
2dba36a892

+ 0 - 4
gx_api/GxPress/Model/GxPress.Request/App/Group/GroupUpRequest.cs

@@ -1,7 +1,3 @@
-using System;
-using System.Collections.Generic;
-using System.Text;
-
 namespace GxPress.Request.App.Group
 {
     /// <summary>

+ 1 - 1
gx_api/GxPress/Repository/GxPress.Repository.Implement/GroupRepository.cs

@@ -280,7 +280,7 @@ namespace GxPress.Repository.Implement
             //获取当前用户的权限
             groupDetailResult.GroupUserRoleId = groupUser != null ? groupUser.GroupUserRoleId : 0;
             groupDetailResult.IsUDisturb = groupUser != null ? groupUser.IsUDisturb : false;
-            groupDetailResult.IsAdmin = groupDetail != null && groupUser != null ? groupDetail.UserId == groupUser.UserId : false;
+            //groupDetailResult.IsAdmin = groupDetail != null && groupUser != null ? groupDetail.UserId == groupUser.UserId : false;
             groupDetailResult.IsUser = groupUser != null ? groupUser.UserId == request.UserId : false;
             groupDetailResult.CreatedDate = groupDetail.CreatedDate;
             groupDetailResult.QRCoder = StringUtils.AddDomain(groupDetailResult.QRCoder);