平安校园
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
 
 
 
 
 
 

36 rader
1.6 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": "Data Source=./SafeCampus.db", //连接字符串
  16. // "DbType": "Sqlite", //数据库类型
  17. // "IsAutoCloseConnection": true, //是否自动释放
  18. // "IsUnderLine": false //是否驼峰转下划线
  19. //}
  20. // {
  21. // "ConfigId": "SafeCampus", //租户ID
  22. // "ConnectionString": "server=192.168.1.3;Database=SafeCampus;Uid=root;Pwd=123456;CharSet=utf8mb4;", //连接字符串
  23. // "DbType": "MySql", //数据库类型
  24. // "IsAutoCloseConnection": true, //是否自动释放
  25. // "IsUnderLine": false //是否驼峰转下划线
  26. // },
  27. // {
  28. // "ConfigId": "SafeCampus", //租户ID
  29. // "ConnectionString": "Server=192.168.1.16;Database=SafeCampus;User=sa;Password=123456;MultipleActiveResultSets=True;", //连接字符串
  30. // "DbType": "SqlServer", //数据库类型
  31. // "IsAutoCloseConnection": true, //是否自动释放
  32. // "IsUnderLine": false //是否驼峰转下划线
  33. // }
  34. ]
  35. }
  36. }