mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2026-03-10 00:13:36 +08:00
feat(work): bump version to v2.16.0
This commit is contained in:
@@ -792,6 +792,10 @@
|
|||||||
|
|
||||||
<summary>[展开查看]</summary>
|
<summary>[展开查看]</summary>
|
||||||
|
|
||||||
|
- Release 2.16.0
|
||||||
|
|
||||||
|
- **新增**:实现会话内容存档导出聊天记录相关功能。
|
||||||
|
|
||||||
- Release 2.15.0
|
- Release 2.15.0
|
||||||
|
|
||||||
- **新增**:新增文档表格相关接口。
|
- **新增**:新增文档表格相关接口。
|
||||||
|
|||||||
@@ -10,7 +10,8 @@
|
|||||||
|
|
||||||
- 基于企业微信 API 封装。
|
- 基于企业微信 API 封装。
|
||||||
- 支持企业内部开发、第三方应用开发、服务商代开发、智慧硬件开发四种模式。
|
- 支持企业内部开发、第三方应用开发、服务商代开发、智慧硬件开发四种模式。
|
||||||
- 提供了企业微信 API 所需的 AES、SHA-1 等算法工具类。
|
- 提供了企业微信 API 所需的 AES、RSA、SHA-1 等算法工具类。
|
||||||
|
- 提供了企业微信会话内容存档 SDK 的相关功能封装。
|
||||||
- 提供了 JS-SDK 签名、解析回调通知事件等扩展方法。
|
- 提供了 JS-SDK 签名、解析回调通知事件等扩展方法。
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|||||||
@@ -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);
|
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)]
|
[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)]
|
[DllImport(DLL_NAME, SetLastError = true, CallingConvention = CallingConvention.Cdecl)]
|
||||||
public static extern void DestroySdk(IntPtr sdk);
|
public static extern void DestroySdk(IntPtr sdk);
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.SDK.Finance.InteropServices
|
|||||||
|
|
||||||
[DllImport(DLL_NAME, SetLastError = true, CallingConvention = CallingConvention.Cdecl)]
|
[DllImport(DLL_NAME, SetLastError = true, CallingConvention = CallingConvention.Cdecl)]
|
||||||
[SuppressUnmanagedCodeSecurity]
|
[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)]
|
[DllImport(DLL_NAME, SetLastError = true, CallingConvention = CallingConvention.Cdecl)]
|
||||||
[SuppressUnmanagedCodeSecurity]
|
[SuppressUnmanagedCodeSecurity]
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.SDK.Finance.Models
|
|||||||
public string? NextBufferIndex { get; set; }
|
public string? NextBufferIndex { get; set; }
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 获取或设置是否完成。
|
/// 获取或设置是否已是最后一个分片。
|
||||||
/// </summary>
|
/// </summary>
|
||||||
[Newtonsoft.Json.JsonIgnore]
|
[Newtonsoft.Json.JsonIgnore]
|
||||||
[System.Text.Json.Serialization.JsonIgnore]
|
[System.Text.Json.Serialization.JsonIgnore]
|
||||||
|
|||||||
@@ -211,8 +211,8 @@ namespace SKIT.FlurlHttpClient.Wechat.Work.SDK.Finance
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
int ret = /* 解密聊天记录数据 */
|
int ret = /* 解密聊天记录数据 */
|
||||||
IsRunOnWindows() ? FinanceDllWindowsPInvoker.DecryptData(_sdkPtr, encryptKey, request.EncryptedChatMessage, dataPtr) :
|
IsRunOnWindows() ? FinanceDllWindowsPInvoker.DecryptData(encryptKey, request.EncryptedChatMessage, dataPtr) :
|
||||||
IsRunOnLinux() ? FinanceDllLinuxPInvoker.DecryptData(_sdkPtr, encryptKey, request.EncryptedChatMessage, dataPtr) :
|
IsRunOnLinux() ? FinanceDllLinuxPInvoker.DecryptData(encryptKey, request.EncryptedChatMessage, dataPtr) :
|
||||||
throw new PlatformNotSupportedException();
|
throw new PlatformNotSupportedException();
|
||||||
if (ret == 0)
|
if (ret == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -14,8 +14,8 @@
|
|||||||
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
<PackageLicenseExpression>MIT</PackageLicenseExpression>
|
||||||
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
|
<PackageProjectUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat</PackageProjectUrl>
|
||||||
<PackageTags>Flurl.Http Wechat Weixin MicroMessage WechatWork WeixinWork Wxwork 微信 企业微信 企业号 微信企业号</PackageTags>
|
<PackageTags>Flurl.Http Wechat Weixin MicroMessage WechatWork WeixinWork Wxwork 微信 企业微信 企业号 微信企业号</PackageTags>
|
||||||
<Version>2.15.0</Version>
|
<Version>2.16.0</Version>
|
||||||
<Description>基于 Flurl.Http 的企业微信 API 客户端,支持企业内部开发、第三方应用开发、服务商代开发、智慧硬件开发模式,支持基础服务、通讯录管理、身份验证、企业互联、上下游、消息推送、应用管理、素材管理、电子发票、客户联系、微信客服、企业支付、家校沟通、家校应用、政民沟通、邮件、文档、日程、会议、微盘、直播、公费电话、打卡、审批、汇报、会议室、紧急通知应用、硬件云端接入等功能。</Description>
|
<Description>基于 Flurl.Http 的企业微信 API 客户端,支持企业内部开发、第三方应用开发、服务商代开发、智慧硬件开发模式,支持基础服务、通讯录管理、身份验证、企业互联、上下游、消息推送、应用管理、素材管理、电子发票、客户联系、微信客服、企业支付、会话内容存档、家校沟通、家校应用、政民沟通、邮件、文档、日程、会议、微盘、直播、公费电话、打卡、审批、汇报、会议室、紧急通知应用、硬件云端接入等功能。</Description>
|
||||||
<Authors>Fu Diwei</Authors>
|
<Authors>Fu Diwei</Authors>
|
||||||
<RepositoryType>git</RepositoryType>
|
<RepositoryType>git</RepositoryType>
|
||||||
<RepositoryUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git</RepositoryUrl>
|
<RepositoryUrl>https://github.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git</RepositoryUrl>
|
||||||
|
|||||||
Reference in New Issue
Block a user