lihao 4 年之前
父節點
當前提交
b1753deeab
共有 1 個文件被更改,包括 4 次插入4 次删除
  1. 4 4
      gx_api/GxPress/Service/GxPress.Service.Implement/Group/GroupService.cs

+ 4 - 4
gx_api/GxPress/Service/GxPress.Service.Implement/Group/GroupService.cs

@@ -156,10 +156,10 @@ namespace GxPress.Service.Implement.Group
                     SourceType = request.SourceType
                 };
                 await _adminVerifyService.InsertAsync(adminVerifyInsertRequest);
-                // if (request.SourceType == 2)
-                //     throw new BusinessException("等待用户同意同意");
-                // if (request.SourceType == 1)
-                //     throw new BusinessException("等待管理员同意");
+                if (request.SourceType == 2)
+                    throw new BusinessException("等待用户同意同意");
+                if (request.SourceType == 1)
+                    throw new BusinessException("等待管理员同意");
             }
 
             if (!group.IsAdmin && request.SourceType == 1)