SJA工艺
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.

44 lines
733 B

3 years ago
  1. package conf
  2. const DriverName = "mssql"
  3. type DbConf struct {
  4. Host string
  5. Port int
  6. User string
  7. Pwd string
  8. DbName string
  9. }
  10. var MongDbConfig DbConf = DbConf{
  11. Host: "127.0.0.1",
  12. Port: 27017,
  13. DbName: "logDb",
  14. }
  15. //SJA生产服务器配置
  16. var MasterDbConfig DbConf = DbConf{
  17. Host: "localhost",
  18. Port: 1433,
  19. User: "lapp",
  20. Pwd: "123fis",
  21. DbName: "SJA_APS",
  22. }
  23. //线上测试服务器配置
  24. //var MasterDbConfig DbConf = DbConf{
  25. // Host: "127.0.0.1",
  26. // Port: 1433,
  27. // User: "sa",
  28. // Pwd: "Leit2020",
  29. // DbName: "SJA_APS",
  30. //}
  31. //本地服务器配置
  32. //var MasterDbConfig DbConf = DbConf{
  33. // Host: "127.0.0.1",
  34. // Port: 1433,
  35. // User: "sa",
  36. // Pwd: "123456",
  37. // DbName: "SJA_APS",
  38. //}