using System; using System.Collections.Generic; using System.Text; namespace New_College.Model.ViewModels { public class AliyunSmsSenderConfig { public static string accessKeyId { get; set; } public static string accessKeySecret { get; set; } } /// /// 微信小程序配置 /// public class WeixinConfig { /// /// 绑定支付的APPID(必须配置) /// public static string Appid { get; set; } /// /// 公众账号secert /// public static string Secret { get; set; } /// /// 商户号(必填) /// public static string MCHID { get; set; } /// /// 商户支付密钥 /// public static string KEY { get; set; } /// /// 支付结果回调URL /// public static string NotifyUrl { get; set; } } /// /// /// public class WePayConfig { //=======【商户系统后台机器IP】===================================== /* 此参数可手动配置也可在程序中自动获取 */ public const string IP = "8.8.8.8"; //=======【代理服务器设置】=================================== /* 默认IP和端口号分别为0.0.0.0和0,此时不开启代理(如有需要才设置) */ public const string PROXY_URL = ""; //=======【上报信息配置】=================================== /* 测速上报等级,0.关闭上报; 1.仅错误时上报; 2.全量上报 */ public const int REPORT_LEVENL = 1; //=======【日志级别】=================================== /* 日志等级,0.不输出日志;1.只输出错误信息; 2.输出错误和正常信息; 3.输出错误信息、正常信息和调试信息 */ public const int LOG_LEVENL = 3; } }