初始提交

This commit is contained in:
wanyongkang
2020-10-07 20:25:03 +08:00
commit d318014316
3809 changed files with 263103 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Security.Cryptography;
using System.Text;
using System.Xml.Serialization;
using Hncore.Infrastructure.Common;
using XC.RSAUtil;
namespace Hncore.Pass.PaymentCenter.WeiFuTong
{
[XmlRoot("xml", Namespace = "")]
public class WeiFuTongDTOBase
{
/// <summary>
/// 随机字符串,不长于 32 位
/// </summary>
[XmlElement("nonce_str")]
public string NonceStr { get; set; } = Guid.NewGuid().ToString().Replace("-", "");
/// <summary>
/// 签名类型取值MD5默认MD5
/// </summary>
[XmlElement("sign_type")]
public string SignType { get; set; } = "MD5";
/// <summary>
/// MD5签名结果
/// </summary>
[XmlElement("sign")]
public string Sign { get; set; }
/// <summary>
/// 版本号version默认值是2.0
/// </summary>
[XmlElement("version")]
public string Version { get; set; } = "2.0";
}
}