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.
42 lines
1.1 KiB
C#
42 lines
1.1 KiB
C#
using Microsoft.Extensions.Configuration;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
using Common;
|
|
using Common.Entity;
|
|
using Common.Authentication;
|
|
using Common.Tools.UpLoad;
|
|
|
|
namespace Common
|
|
{
|
|
/// <summary>
|
|
/// 系统静态配置
|
|
/// </summary>
|
|
public class sysOptionConfig
|
|
{
|
|
public static IConfiguration _Configuration;
|
|
|
|
/// <summary>
|
|
/// 系统基础配置来于系统json配置文件
|
|
/// </summary>
|
|
public static WebConfig Webconfig { get; set; } = new WebConfig();
|
|
|
|
|
|
/// <summary>
|
|
/// 微信配置
|
|
/// </summary>
|
|
public static WeixinConfig WeixinConfig { get; set; } = new WeixinConfig();
|
|
|
|
/// <summary>
|
|
/// 七牛云存储配置
|
|
/// </summary>
|
|
public static QiniuConfig Qiniuconfig { get; set; } = new QiniuConfig();
|
|
/// <summary>
|
|
/// jwt身份认证发行者实体属性
|
|
/// </summary>
|
|
public static JwtTokenProviderOptions JwtTokenProviderOptions { get; set; } = new JwtTokenProviderOptions();
|
|
|
|
|
|
}
|
|
}
|