移动系统liao
2024-12-26 b80a3aa37ac5bed12dd6c49e9e731d5f375f80d9
DocumentServiceAPI.Web.Entry/appsettings.json
@@ -12,8 +12,16 @@
    {
      "ConfigId": "default", //多库配置ID
      //"ConnectionString": "Server=.;Database=doc_new;User ID=sa;Password=123456;",
      "ConnectionString": "Server=localhost\\SQLEXPRESS;Database=CY_DocumentSystemOnline;User ID=sa;Password=123456;",
      "DbType": "SqlServer",
      "IsAutoCloseConnection": true
    },
    {
      "ConfigId": "zhengcaioa", //多库配置ID
      "ConnectionString": "Server=localhost\\SQLEXPRESS;Database=zhengcaioa55;User ID=sa;Password=123456;",
      "DbType": "SqlServer",
      "IsAutoCloseConnection": true
@@ -45,9 +53,13 @@
    "ValidateAudience": true, // 是否验证签收方,bool 类型,默认true
    "ValidAudience": "www.51zhengcai.com", // 签收方,string 类型
    "ValidateLifetime": true, // 是否验证过期时间,bool 类型,默认true,建议true
    "ExpiredTime": 20, // 过期时间,long 类型,单位分钟,默认20分钟
    "ExpiredTime": 1440, // 过期时间,long 类型,单位分钟,默认20分钟
    "ClockSkew": 5, // 过期时间容错值,long 类型,单位秒,默认 5秒
    "Algorithm": "HS256" // 加密算法,string 类型,默认 HS256
  },
  "AppSettings": {
    "InjectSpecificationDocument": false //关闭sw文档
  }
}