李昊 4 年 前
コミット
2d6e59c057

+ 5 - 2
gx_api/GxPress/Model/GxPress.Result/App/Group/GroupDetailResult.cs

@@ -1,7 +1,5 @@
 using System;
 using System.Collections.Generic;
-using System.Text;
-using GxPress.Entity;
 using GxPress.EnumConst;
 using GxPress.Result.App.GroupUser;
 
@@ -98,6 +96,11 @@ namespace GxPress.Result.App.Group
         /// 是否是群成员
         /// </summary>
         public bool IsUser { get; set; }
+        /// <summary>
+        /// 创建时间
+        /// </summary>
+        /// <value></value>
+        public DateTime? CreatedDate { get; set; }
     }
     /// <summary>
     /// 用户小组列表

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

@@ -251,6 +251,7 @@ namespace GxPress.Repository.Implement
             groupDetailResult.IsUDisturb = groupUser != null ? groupUser.IsUDisturb : false;
             groupDetailResult.IsAdmin = groupUser != null ? groupUser.UserId == groupDetailResult.UserId : false;
             groupDetailResult.IsUser = groupUser != null ? groupUser.UserId == request.UserId : false;
+            groupDetailResult.CreatedDate = groupDetail.CreatedDate;
             return groupDetailResult;
         }
         /// <summary>