appsettings.json 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. {
  2. "Logging": {
  3. "IncludeScopes": false,
  4. "LogLevel": {
  5. "Default": "Warning",
  6. "Pivotal": "Debug",
  7. "Steeltoe": "Debug"
  8. }
  9. },
  10. //??
  11. "AppID": "",
  12. "AppSecret": "",
  13. "EncodingAESKey": "", //43位
  14. "Token": "",
  15. "MessageMode": 2, //安全模式
  16. "ConnectionStrings": {
  17. //"MyConnectionString": "Data Source =192.168.50.30; Initial Catalog = LJHYBZK; Persist Security Info = True; User ID = sa; Password = xq!@#2014;",
  18. //"MyConnectionString": "Data Source =192.168.20.122; Initial Catalog =MemberData; Persist Security Info = True; User ID =ljhyPortal2016; Password =testliangjian@#!)2016",
  19. //"MyConnectionString": "Data Source =192.168.50.32; Initial Catalog =MemberData; Persist Security Info = True; User ID =sa; Password =saljhy123!@#",
  20. "MyConnectionString": "Data Source =192.168.50.32; Initial Catalog =MemberData; Persist Security Info = True; User ID =caixukun; Password =360lj.com#2020@#$;Pooling=true;MAX Pool Size=50;Min Pool Size=10;Connection Lifetime=30;Integrated Security=false",
  21. "AllowedHosts": "*"
  22. },
  23. "EsUrl": "http://192.168.50.41:9200/",
  24. // begin - spring cloud eureka settings
  25. "spring": {
  26. "application": {
  27. "name": "client-member-service"
  28. }
  29. },
  30. "eureka": {
  31. "client": {
  32. "serviceUrl": "http://127.0.0.1:8761/eureka/",
  33. "validateCertificates": false
  34. },
  35. "instance": {
  36. "port": 8004,
  37. "preferIpAddress": true,
  38. "instanceId": "client-member-service-container:57254"
  39. }
  40. },
  41. // end - spring cloud eureka settings
  42. "AllowedHosts": "*"
  43. }