{
  "urls": "http://*:5000",
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "SystemConfig": {
    "Demo": false, // 是否是演示模式 账号admin 密码0000
    "LoginMultiple": false, // 是否允许一个账户在多处登录
    "AllowCorsSite": "http://localhost:5000", // 允许的其他站点访问Api
    "DBProvider": "MySql", //SqlServer //Oracle
    "DBConnectionString": "server=192.168.31.37;user id=root;password=zhuyunyu;database=water",
    "DBCommandTimeout": 180, // 数据库超时时间，单位秒
    "IsInitDb": false, //是否初始化数据库
    "IsSeedData": false, //是否初始化数据库数据
    "CacheProvider": "Redis", // 缓存使用方式 Redis/Memory
    "RedisConnectionString": "192.168.31.37:6379,password=zhuyunyu", //docker部署 172.17.0.1
    "TokenName": "WC-Token", //api Token名称
    "LoginExpire": 1, //登录缓存过期时间(小时)
    "HomePage": "../Home/Default", //登录主页地址
    "MainDbNumber": "0", //主程序数据库
    "LocalLAN": false, //是否局域网
    "OpenQuartz": true, //定时任务开启
    "SqlMode": "MoreSql", //数据库模式多租户或者多库  "MoreSql"
    "ProjectPrefix": "watercloud", //项目中的前缀
    "ReviseSystem": false, //是否重置密码
    "LoginErrorCount": 4, //登录错误次数
    "IsCluster": false, //集群参数 开启时需要去quartz下载响应数据库
    "NeedClear": false, //是否删除定时调度任务
    "SqlConfig": [
      //{
      //  "DBNumber": "1",
      //  "DBProvider": "SqlServer", //MySql //Oracle
      //  "DBConnectionString": "Data Source = .;Initial Catalog = WaterCloudNetDb;User ID=sa;Password=12345678;MultipleActiveResultSets=true;" //Data Source = 192.168.1.252;Initial Catalog = WaterCloudNetDb;User ID=sa;Password=admin@12345;MultipleActiveResultSets=true;
      //}
    ],
    "RabbitMq": {
      "Enabled": false,
      "HostName": "localhost",
      "UserName": "root", //默认guest
      "Password": "root", //默认guest
      "Port": 5672,
      "VirtualHost": "/"
    },
    "DocumentSettings": {
      "DocumentTitle": "WaterCloud API",
      "GroupOpenApiInfos": [
        {
          "Group": "Default",
          "Title": "WaterCloud API",
          "Description": "WaterCloud .NET敏捷开发框架<br/>项目地址:<a href='https://gitee.com/qian_wei_hong/WaterCloud'>https://gitee.com/qian_wei_hong/WaterCloud</a>",
          "Version": "1.0.0"
        },
        {
          "Group": "V2",
          "Title": "V2",
          "Description": "WaterCloud .NET敏捷开发框架<br/>项目地址:<a href='https://gitee.com/qian_wei_hong/WaterCloud'>https://gitee.com/qian_wei_hong/WaterCloud</a>",
          "Version": "1.0.0"
        }
      ]
    }
  },
  "AllowedHosts": "*"
}