appsettings.json 1.0 KB

123456789101112131415161718192021222324252627282930313233
  1. {
  2. "Data": {
  3. "DefaultConnection": {
  4. //"ConnectionString": "Data Source=127.0.0.1;User ID=sa;Password=zlgtest;initial catalog=Winsoft.GOV.XF.WebApi.ManagerCore;",
  5. "ConnectionString": "Data Source=127.0.0.1;User ID=root;Password=root;initial catalog=WXCore;"
  6. // "ConnectionString": "Server=(localdb)\\MSSQLLocalDB;Database=Winsoft.GOV.XF.WebApi.ManagerCore;Trusted_Connection=True;MultipleActiveResultSets=true"
  7. }
  8. },
  9. // LogLevel Severity: "Trace", "Debug", "Information", "Warning", "Error", "Critical", "None"
  10. "Logging": {
  11. "PathFormat": "Logs/log-{Date}.log",
  12. "IncludeScopes": false,
  13. "LogLevel": {
  14. "Default": "Debug",
  15. "System": "Information",
  16. "Microsoft": "Information"
  17. }
  18. },
  19. //"Logging": {
  20. // "IncludeScopes": false,
  21. // "LogLevel": {
  22. // "Default": "Warning"
  23. // }
  24. //},
  25. "SenparcWeixinSetting": {
  26. "Token": "lishui12345",
  27. "EncodingAESKey": "",
  28. "WeixinAppId": "wxe991cda999e69d44",
  29. "WeixinAppSecret": "fa0f4457bf55dcfe544d86ab6095f4ba"
  30. }
  31. }