移动系统liao
2024-12-26 b80a3aa37ac5bed12dd6c49e9e731d5f375f80d9
DocumentServiceAPI.Web.Entry/appsettings.json
@@ -12,7 +12,7 @@
    {
      "ConfigId": "default", //多库配置ID
      "ConnectionString": "Server=.;Database=CY_DocumentSystemOnline;User ID=sa;Password=123456;",
      "ConnectionString": "Server=localhost\\SQLEXPRESS;Database=CY_DocumentSystemOnline;User ID=sa;Password=123456;",
      "DbType": "SqlServer",
      "IsAutoCloseConnection": true
@@ -21,7 +21,7 @@
    {
      "ConfigId": "zhengcaioa", //多库配置ID
      "ConnectionString": "Server=.;Database=zhengcaioa55;User ID=sa;Password=123456;",
      "ConnectionString": "Server=localhost\\SQLEXPRESS;Database=zhengcaioa55;User ID=sa;Password=123456;",
      "DbType": "SqlServer",
      "IsAutoCloseConnection": true
@@ -29,7 +29,7 @@
    }
  ],
  "isCodeFirst": false, //是否执行codefirst 注意这个在迁徙完成后应该设置为false 防止更改数据库
  "isCodeFirst": true, //是否执行codefirst 注意这个在迁徙完成后应该设置为false 防止更改数据库
  //请保持redis为正常可用
  "RedisConfig": {
    // 如果采用容器化部署Service 要写成redis的服务名,否则写地址
@@ -56,6 +56,10 @@
    "ExpiredTime": 1440, // 过期时间,long 类型,单位分钟,默认20分钟
    "ClockSkew": 5, // 过期时间容错值,long 类型,单位秒,默认 5秒
    "Algorithm": "HS256" // 加密算法,string 类型,默认 HS256
  },
  "AppSettings": {
    "InjectSpecificationDocument": false //关闭sw文档
  }
}