前端:
1、完善创建群聊逻辑 后端: 1、完善群聊相关接口
This commit is contained in:
@@ -513,6 +513,8 @@ namespace IM_API.Migrations
|
||||
b.HasKey("Id")
|
||||
.HasName("PRIMARY");
|
||||
|
||||
b.HasIndex("UserId");
|
||||
|
||||
b.HasIndex(new[] { "GroupId" }, "GroupId")
|
||||
.HasDatabaseName("GroupId1");
|
||||
|
||||
@@ -985,15 +987,15 @@ namespace IM_API.Migrations
|
||||
.IsRequired()
|
||||
.HasConstraintName("group_request_ibfk_1");
|
||||
|
||||
b.HasOne("IM_API.Models.User", "GroupNavigation")
|
||||
b.HasOne("IM_API.Models.User", "User")
|
||||
.WithMany("GroupRequests")
|
||||
.HasForeignKey("GroupId")
|
||||
.HasForeignKey("UserId")
|
||||
.IsRequired()
|
||||
.HasConstraintName("group_request_ibfk_2");
|
||||
|
||||
b.Navigation("Group");
|
||||
|
||||
b.Navigation("GroupNavigation");
|
||||
b.Navigation("User");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("IM_API.Models.LoginLog", b =>
|
||||
|
||||
Reference in New Issue
Block a user