NewGaoKaoApi/New_College.Model/ViewModels/AliyunSmsSenderConfig.cs

70 lines
2.0 KiB
C#
Raw Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

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; }
}
/// <summary>
/// 微信小程序配置
/// </summary>
public class WeixinConfig
{
/// <summary>
/// 绑定支付的APPID必须配置
/// </summary>
public static string Appid { get; set; }
/// <summary>
/// 公众账号secert
/// </summary>
public static string Secret { get; set; }
/// <summary>
/// 商户号(必填)
/// </summary>
public static string MCHID { get; set; }
/// <summary>
/// 商户支付密钥
/// </summary>
public static string KEY { get; set; }
/// <summary>
/// 支付结果回调URL
/// </summary>
public static string NotifyUrl { get; set; }
}
/// <summary>
///
/// </summary>
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;
}
}