You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Text;
|
|
|
|
|
|
|
|
|
|
namespace Common.Entity
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 微信开发配置
|
|
|
|
|
/// </summary>
|
|
|
|
|
public class WeixinConfig
|
|
|
|
|
{
|
|
|
|
|
#region 公众号
|
|
|
|
|
public string Token { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公众号ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WeixinAppId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公众号密钥
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WeixinAppSecret { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 公众号授权操作后返回微信前端的URl
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WeixinWebGetUrl { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 开放平台
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 开放平台ID
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Component_Appid { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 开放平台密钥
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string Component_Secret { get; set; }
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 小程序
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 小程序Id
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string AppId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 小程序密钥
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string AppSecret { get; set; }
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region 微信支付
|
|
|
|
|
/// <summary>
|
|
|
|
|
///微信支付 商户编号
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WxPayPartnerId { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 微信支付Key
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WxPaySecret { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 证书地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WxPayCertUrl { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 证书密码
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WxPayCertPassword { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
///支付成功后回调跳转地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WxPayRetrunUrl { get; set; }
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// 微信退款的回调地址
|
|
|
|
|
/// </summary>
|
|
|
|
|
public string WxPayNotifyUrl { get; set; }
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|