前端:

1、完善创建群聊逻辑
后端:
1、完善群聊相关接口
This commit is contained in:
2026-02-11 22:44:28 +08:00
parent dc6ecf224d
commit 77db20dc38
55 changed files with 1986 additions and 95 deletions
+1 -1
View File
@@ -37,5 +37,5 @@ public partial class GroupRequest
public virtual Group Group { get; set; } = null!;
public virtual User GroupNavigation { get; set; } = null!;
public virtual User User { get; set; } = null!;
}
+2 -2
View File
@@ -475,8 +475,8 @@ public partial class ImContext : DbContext
.OnDelete(DeleteBehavior.ClientSetNull)
.HasConstraintName("group_request_ibfk_1");
entity.HasOne(d => d.GroupNavigation).WithMany(p => p.GroupRequests)
.HasForeignKey(d => d.GroupId)
entity.HasOne(d => d.User).WithMany(p => p.GroupRequests)
.HasForeignKey(d => d.UserId)
.OnDelete(DeleteBehavior.ClientSetNull)
.HasConstraintName("group_request_ibfk_2");
});