feat: 完善聊天模块

This commit is contained in:
橙子
2024-04-06 18:28:32 +08:00
parent 43b4032bbb
commit 6aedff75f1
17 changed files with 507 additions and 110 deletions

View File

@@ -0,0 +1,16 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace Yi.Framework.ChatHub.Application.Contracts.Dtos
{
public class GroupMessageInputDto
{
/// <summary>
/// 消息内容
/// </summary>
public string Content { get; set; }
}
}

View File

@@ -6,7 +6,7 @@ using System.Threading.Tasks;
namespace Yi.Framework.ChatHub.Application.Contracts.Dtos
{
public class ChatUserGetListOutputDto
public class PersonalMessageInputDto
{
/// <summary>
/// 用户id
@@ -14,13 +14,8 @@ namespace Yi.Framework.ChatHub.Application.Contracts.Dtos
public Guid UserId { get; set; }
/// <summary>
/// 用户名称
/// 消息内容
/// </summary>
public string UserName { get; set; }
/// <summary>
/// 用户头像
/// </summary>
public string UserIcon { get; set; }
public string Content { get; set; }
}
}

View File

@@ -1,4 +1,4 @@
<Project Sdk="Microsoft.NET.Sdk">
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="..\..\..\common.props" />