添加项目文件。

This commit is contained in:
2023-03-13 15:00:34 +08:00
parent 42bf06ca3e
commit 1d73df3235
1205 changed files with 185078 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
namespace JNPF.Message.Interfaces;
/// <summary>
/// 业务抽象:消息会话.
/// </summary>
public interface IImReplyService
{
/// <summary>
/// 强制下线.
/// </summary>
/// <param name="connectionId"></param>
void ForcedOffline(string connectionId);
}

View File

@@ -0,0 +1,19 @@
namespace JNPF.Message.Interfaces.Message;
/// <summary>
/// 系统消息
/// 版 本V3.2
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 日 期2021-06-01.
/// </summary>
public interface IMessageService
{
/// <summary>
/// 消息发送.
/// </summary>
/// <param name="toUserIds"></param>
/// <param name="title"></param>
/// <param name="bodyText"></param>
/// <returns></returns>
Task SentMessage(List<string> toUserIds, string title, string bodyText = null, Dictionary<string, object> bodyDic = null);
}

View File

@@ -0,0 +1,10 @@
using JNPF.Common.Dtos.Message;
namespace JNPF.Message.Interfaces.Message;
public interface ISendMessageService
{
Task<string> SendMessage(MessageSendModel messageSendModel, Dictionary<string, object> bodyDic);
Task SendMessageDefult(string enCode, List<string> toUser, string taskName, Dictionary<string, object> bodyDic);
}

View File

@@ -0,0 +1,16 @@
using JNPF.Message.Entitys.Entity;
namespace JNPF.Message.Interfaces.Message;
/// <summary>
/// 系统消息
/// 版 本V3.2
/// 版 权拓通智联科技有限公司http://www.tuotong-tech.com
/// 日 期2021-06-01.
/// </summary>
public interface IShortLinkService
{
Task<MessageShortLinkEntity> Create(string userId, string bodyText);
string CreateToken(string userId);
}

View File

@@ -0,0 +1,15 @@
<Project Sdk="Microsoft.NET.Sdk">
<Import Project="$(SolutionDir)\common.props" />
<PropertyGroup>
<TargetFramework>net6.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<GenerateDocumentationFile>False</GenerateDocumentationFile>
</PropertyGroup>
<ItemGroup>
<ProjectReference Include="..\Tnb.Message.Entitys\Tnb.Message.Entitys.csproj" />
</ItemGroup>
</Project>