平安校园
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

27 lines
1.2 KiB

  1. {
  2. //sqlsugar设置
  3. "SqlSugarSettings": {
  4. //SqlSugar连接字符串配置
  5. "ConnectionStrings": [
  6. {
  7. "ConfigId": "SafeCampus", //租户ID
  8. "ConnectionString": "PORT=5432;DATABASE=SafeCampus;HOST=1.14.43.23;PASSWORD=wxh@9695;USER ID=postgres;", //连接字符串
  9. "DbType": "PostgreSQL", //数据库类型
  10. "IsAutoCloseConnection": true, //是否自动释放
  11. "IsUnderLine": false //是否驼峰转下划线
  12. }
  13. // {
  14. // "ConfigId": "SafeCampus", //租户ID
  15. // "ConnectionString": "server=192.168.1.3;Database=SafeCampus;Uid=root;Pwd=123456;CharSet=utf8mb4;", //连接字符串
  16. // "DbType": "MySql", //数据库类型
  17. // "IsAutoCloseConnection": true, //是否自动释放
  18. // },
  19. // {
  20. // "ConfigId": "SafeCampus", //租户ID
  21. // "ConnectionString": "Server=192.168.1.16;Database=SafeCampus;User=sa;Password=123456;MultipleActiveResultSets=True;", //连接字符串
  22. // "DbType": "SqlServer", //数据库类型
  23. // "IsAutoCloseConnection": true, //是否自动释放
  24. // }
  25. ]
  26. }
  27. }