feat(work): bump version to v2.16.0

This commit is contained in:
Fu Diwei 2023-03-09 20:05:02 +08:00
parent 31735b1c21
commit 38eb4f971f
7 changed files with 13 additions and 8 deletions

View File

@ -792,6 +792,10 @@
<summary>[展开查看]</summary>
- Release 2.16.0
- **新增**:实现会话内容存档导出聊天记录相关功能。
- Release 2.15.0
- **新增**:新增文档表格相关接口。

View File

@ -10,7 +10,8 @@
- 基于企业微信 API 封装。
- 支持企业内部开发、第三方应用开发、服务商代开发、智慧硬件开发四种模式。
- 提供了企业微信 API 所需的 AES、SHA-1 等算法工具类。
- 提供了企业微信 API 所需的 AES、RSA、SHA-1 等算法工具类。
- 提供了企业微信会话内容存档 SDK 的相关功能封装。
- 提供了 JS-SDK 签名、解析回调通知事件等扩展方法。
---

View File

@ -20,7 +20,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.SDK.Finance.InteropServices
public static extern int GetMediaData(IntPtr sdk, string indexBuf, string fileId, string proxy, string passwd, long timeout, IntPtr mediaData);
[DllImport(DLL_NAME, SetLastError = true, CallingConvention = CallingConvention.Cdecl)]
public static extern int DecryptData(IntPtr sdk, string encryptKey, string encryptMsg, IntPtr msgData);
public static extern int DecryptData(string encryptKey, string encryptMsg, IntPtr msgData);
[DllImport(DLL_NAME, SetLastError = true, CallingConvention = CallingConvention.Cdecl)]
public static extern void DestroySdk(IntPtr sdk);

View File

@ -26,7 +26,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.SDK.Finance.InteropServices
[DllImport(DLL_NAME, SetLastError = true, CallingConvention = CallingConvention.Cdecl)]
[SuppressUnmanagedCodeSecurity]
public static extern int DecryptData(IntPtr sdk, string encryptKey, string encryptMsg, IntPtr msgData);
public static extern int DecryptData(string encryptKey, string encryptMsg, IntPtr msgData);
[DllImport(DLL_NAME, SetLastError = true, CallingConvention = CallingConvention.Cdecl)]
[SuppressUnmanagedCodeSecurity]

View File

@ -24,7 +24,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.SDK.Finance.Models
public string? NextBufferIndex { get; set; }
/// <summary>
/// 获取或设置是否完成
/// 获取或设置是否已是最后一个分片
/// </summary>
[Newtonsoft.Json.JsonIgnore]
[System.Text.Json.Serialization.JsonIgnore]

View File

@ -211,8 +211,8 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.SDK.Finance
try
{
int ret = /* 解密聊天记录数据 */
IsRunOnWindows() ? FinanceDllWindowsPInvoker.DecryptData(_sdkPtr, encryptKey, request.EncryptedChatMessage, dataPtr) :
IsRunOnLinux() ? FinanceDllLinuxPInvoker.DecryptData(_sdkPtr, encryptKey, request.EncryptedChatMessage, dataPtr) :
IsRunOnWindows() ? FinanceDllWindowsPInvoker.DecryptData(encryptKey, request.EncryptedChatMessage, dataPtr) :
IsRunOnLinux() ? FinanceDllLinuxPInvoker.DecryptData(encryptKey, request.EncryptedChatMessage, dataPtr) :
throw new PlatformNotSupportedException();
if (ret == 0)
{

View File

@ -14,8 +14,8 @@
<PackageLicenseExpression>MIT</PackageLicenseExpression>
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
<PackageTags>Flurl.Http Wechat Weixin MicroMessage WechatWork WeixinWork Wxwork 微信 企业微信 企业号 微信企业号</PackageTags>
<Version>2.15.0</Version>
<Description>基于 Flurl.Http 的企业微信 API 客户端,支持企业内部开发、第三方应用开发、服务商代开发、智慧硬件开发模式,支持基础服务、通讯录管理、身份验证、企业互联、上下游、消息推送、应用管理、素材管理、电子发票、客户联系、微信客服、企业支付、家校沟通、家校应用、政民沟通、邮件、文档、日程、会议、微盘、直播、公费电话、打卡、审批、汇报、会议室、紧急通知应用、硬件云端接入等功能。</Description>
<Version>2.16.0</Version>
<Description>基于 Flurl.Http 的企业微信 API 客户端,支持企业内部开发、第三方应用开发、服务商代开发、智慧硬件开发模式,支持基础服务、通讯录管理、身份验证、企业互联、上下游、消息推送、应用管理、素材管理、电子发票、客户联系、微信客服、企业支付、会话内容存档、家校沟通、家校应用、政民沟通、邮件、文档、日程、会议、微盘、直播、公费电话、打卡、审批、汇报、会议室、紧急通知应用、硬件云端接入等功能。</Description>
<Authors>Fu Diwei</Authors>
<RepositoryType>git</RepositoryType>
<RepositoryUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git</RepositoryUrl>