mirror of
https://gitee.com/fudiwei/DotNetCore.SKIT.FlurlHttpClient.Wechat.git
synced 2025-12-29 18:04:42 +08:00
docs: 完善文档
This commit is contained in:
@@ -31,9 +31,9 @@ request.TBEPEncryption = new WechatTenpayBusinessRequestTBEPEncryption()
|
||||
此外,本库还封装了直接加密请求中敏感信息字段的扩展方法。下面给出一个手动调用的示例:
|
||||
|
||||
```csharp
|
||||
var request = new Models.CreateMSEPayProductApplicationRequest()
|
||||
var request = new CreateMSEPayProductApplicationRequest()
|
||||
{
|
||||
BusinessLicense = new Models.CreateMSEPayProductApplicationRequest.Types.BusinessLicense()
|
||||
BusinessLicense = new CreateMSEPayProductApplicationRequest.Types.BusinessLicense()
|
||||
{
|
||||
BusinessRegisterType = "TYPE",
|
||||
MerchantName = "商户",
|
||||
|
||||
@@ -23,7 +23,7 @@ string plainText = SM4Utility.DecryptWithCBC(sm4Key, sm4IV, cipherText);
|
||||
此外,本库还封装了直接解密响应中敏感信息字段的扩展方法,下面给出一个示例代码:
|
||||
|
||||
```csharp
|
||||
var request = new Models.GetMSEPayPaymentByPaymentIdRequest();
|
||||
var request = new GetMSEPayPaymentByPaymentIdRequest();
|
||||
var response = await client.ExecuteGetMSEPayPaymentByPaymentIdAsync(request);
|
||||
|
||||
Console.WriteLine("before: {0}", response.Payee.EnterpriseName); // 此时仍是密文
|
||||
|
||||
Reference in New Issue
Block a user