qwj
2023-08-28 f99c1becb0bbde82796e15d27e11ac4965c56468
DocumentServiceAPI.Web.Entry/appsettings.json
@@ -12,29 +12,28 @@
    {
      "ConfigId": "default", //多库配置ID
      "ConnectionString": "Server=localhost\\SQLEXPRESS;Database=DocApi;User ID=sa;Password=123456;",
      //"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
    }
  ],
  //swags 名称配置 默认分组
  "[openapi:Default]": {
    "Title": "标书管理系统服务",
    "Order": 0,
    "Description": "这个一个很好用标书管理系统服务软件",
    "Version": "1.0.0",
    "TermsOfService": "http://www.51zhengcai.com",
    "Contact": {
      "Name": "政采咨询有限公司",
      "Url": "http://www.51zhengcai.com"
  "isCodeFirst": true, //是否执行codefirst 注意这个在迁徙完成后应该设置为false 防止更改数据库
  //请保持redis为正常可用
  "RedisConfig": {
    // 如果采用容器化部署Service 要写成redis的服务名,否则写地址
    "ConnectionString": "127.0.0.1:6379,password=,connectTimeout=30000,responseTimeout=30000,abortConnect=false,connectRetry=1,syncTimeout=10000,DefaultDatabase=10" //redis数据库连接字符串
    },
    "License": {
      "Name": "政采咨询有限公司",
      "Url": "http://www.51zhengcai.com"
    }
  },
  //消息队列配置 为了独立部署,这里单独配置
  "InitQRedisConfig": {
    // 如果采用容器化部署Service 要写成redis的服务名,否则写地址
    "ConnectionString": "127.0.0.1:6379,password=,connectTimeout=30000,responseTimeout=30000,abortConnect=false,connectRetry=1,syncTimeout=10000,DefaultDatabase=7" //redis数据库连接字符串
  },
@@ -50,6 +49,5 @@
    "ClockSkew": 5, // 过期时间容错值,long 类型,单位秒,默认 5秒
    "Algorithm": "HS256" // 加密算法,string 类型,默认 HS256
  }
}