mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-04-05 17:37:54 +08:00
style: format
This commit is contained in:
parent
9bf9d0c979
commit
f54ba4889b
@ -1,6 +1,4 @@
|
||||
using System;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayBusiness
|
||||
{
|
||||
@ -9,7 +7,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayBusiness
|
||||
/// <summary>
|
||||
/// <para>验证回调通知事件签名。</para>
|
||||
/// </summary>
|
||||
/// <typeparam name="TResponse"></typeparam>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="callbackAuthorization"></param>
|
||||
/// <param name="callbackBody"></param>
|
||||
@ -73,7 +70,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayBusiness
|
||||
/// <summary>
|
||||
/// <para>验证回调通知事件签名。</para>
|
||||
/// </summary>
|
||||
/// <typeparam name="TResponse"></typeparam>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="callbackTimestamp"></param>
|
||||
/// <param name="callbackNonce">。</param>
|
||||
@ -91,7 +87,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayBusiness
|
||||
/// <summary>
|
||||
/// <para>验证回调通知事件签名。</para>
|
||||
/// </summary>
|
||||
/// <typeparam name="TResponse"></typeparam>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="callbackTimestamp"></param>
|
||||
/// <param name="callbackNonce">。</param>
|
||||
|
@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using System.Text;
|
||||
|
||||
@ -75,7 +74,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayBusiness
|
||||
/// <summary>
|
||||
/// <para>验证响应签名。</para>
|
||||
/// </summary>
|
||||
/// <typeparam name="TResponse"></typeparam>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="responseTimestamp"></param>
|
||||
/// <param name="responseNonce">。</param>
|
||||
@ -92,7 +90,6 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayBusiness
|
||||
/// <summary>
|
||||
/// <para>验证响应签名。</para>
|
||||
/// </summary>
|
||||
/// <typeparam name="TResponse"></typeparam>
|
||||
/// <param name="client"></param>
|
||||
/// <param name="responseTimestamp"></param>
|
||||
/// <param name="responseNonce">。</param>
|
||||
|
@ -39,7 +39,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayBusiness.Models
|
||||
[System.Text.Json.Serialization.JsonPropertyName("bank_account_number_last4")]
|
||||
public string? BankAccountNumberLast4String { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class FailedReason
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -32,7 +32,7 @@
|
||||
|
||||
<ItemGroup>
|
||||
<None Include="../../LOGO.png" Pack="true" PackagePath="/" />
|
||||
<None Include="README.md" />
|
||||
<None Include="README.md" Pack="true" PackagePath="/" />
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
@ -45,4 +45,4 @@
|
||||
<PackageReference Include="SKIT.FlurlHttpClient.Common" Version="2.5.0" />
|
||||
</ItemGroup>
|
||||
|
||||
</Project>
|
||||
</Project>
|
||||
|
@ -98,7 +98,7 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayBusiness.Utilities
|
||||
{
|
||||
InnerReplacePropertyStringValue(ref element, replacement);
|
||||
//if (!array.IsReadOnly)
|
||||
//{
|
||||
//{
|
||||
// array.SetValue(element, i);
|
||||
//}
|
||||
}
|
||||
|
@ -1,12 +1,9 @@
|
||||
using System;
|
||||
using System.IO;
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using Org.BouncyCastle.Crypto;
|
||||
using Org.BouncyCastle.Crypto.Parameters;
|
||||
using Org.BouncyCastle.OpenSsl;
|
||||
using Org.BouncyCastle.Security;
|
||||
using Org.BouncyCastle.X509;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayBusiness.Utilities
|
||||
{
|
||||
|
@ -1,5 +1,3 @@
|
||||
using System;
|
||||
|
||||
namespace SKIT.FlurlHttpClient.Wechat.TenpayBusiness
|
||||
{
|
||||
/// <summary>
|
||||
|
@ -8,17 +8,17 @@ namespace SKIT.FlurlHttpClient.Wechat.TenpayBusiness
|
||||
public abstract class WechatTenpayBusinessResponse : ICommonResponse
|
||||
{
|
||||
/// <summary>
|
||||
///
|
||||
///
|
||||
/// </summary>
|
||||
int ICommonResponse.RawStatus { get; set; }
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
///
|
||||
/// </summary>
|
||||
IDictionary<string, string> ICommonResponse.RawHeaders { get; set; } = default!;
|
||||
|
||||
/// <summary>
|
||||
///
|
||||
///
|
||||
/// </summary>
|
||||
byte[] ICommonResponse.RawBytes { get; set; } = default!;
|
||||
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"file_id": ""
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"query_date": "2021-01-01"
|
||||
}
|
||||
}
|
||||
|
@ -2,4 +2,4 @@
|
||||
"download_url": "",
|
||||
"expire_time": "2021-06-08T10:34:56+08:00",
|
||||
"bill_status": ""
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"close_reason": ""
|
||||
}
|
||||
}
|
||||
|
@ -3,4 +3,4 @@
|
||||
"out_payment_id": "",
|
||||
"status": "",
|
||||
"close_time": "2021-06-08T10:34:56+08:00"
|
||||
}
|
||||
}
|
||||
|
@ -30,4 +30,4 @@
|
||||
"notify_url": {
|
||||
"server_notify_url": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -11,4 +11,4 @@
|
||||
},
|
||||
"pay_status": "",
|
||||
"memo": ""
|
||||
}
|
||||
}
|
||||
|
@ -17,4 +17,4 @@
|
||||
"failed_detail": ""
|
||||
},
|
||||
"attachment": ""
|
||||
}
|
||||
}
|
||||
|
@ -3,4 +3,4 @@
|
||||
"url": "",
|
||||
"expire_time": "2020-01-01T01:02:03+08:00"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -39,4 +39,4 @@
|
||||
"web_success_url": "",
|
||||
"web_refresh_url": ""
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"request_no": "",
|
||||
"out_request_no": ""
|
||||
}
|
||||
}
|
||||
|
@ -14,4 +14,4 @@
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
@ -1,3 +1,3 @@
|
||||
{
|
||||
"id": ""
|
||||
}
|
||||
}
|
||||
|
@ -16,4 +16,4 @@
|
||||
"mp_username": "",
|
||||
"expire_time": "2020-01-01T01:02:03+08:00"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -8,4 +8,4 @@
|
||||
},
|
||||
"WorkDirectoryForSdk": "请输入当前 SDK 项目所在的目录完整路径,如 C:\\Project\\src\\SKIT.FlurlHttpClient.Wechat.TenpayBusiness\\",
|
||||
"WorkDirectoryForTest": "请输入当前测试项目所在的目录完整路径,如 C:\\Project\\test\\SKIT.FlurlHttpClient.Wechat.TenpayBusiness.UnitTests\\"
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user