appsettings.json 1.0 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Information",
  5. "Microsoft": "Warning",
  6. "Microsoft.Hosting.Lifetime": "Information"
  7. }
  8. },
  9. "AllowedHosts": "*",
  10. "ConnectionSetting": {
  11. "MySqlConnection": "server=117.78.26.193;user id=root;password=Xhrz@2018;port=8635;persistsecurityinfo=True;database=SH_FFP_Test;sslMode=None"
  12. },
  13. "WX": {
  14. "Token": "qwertyuiop",
  15. "AppId": "wxa75c65d6672168a8",
  16. "Secret": "7b7e98f8ea51f2b2826a507751a99785",
  17. "Code2Session": "https://api.weixin.qq.com/sns/jscode2session?appid={0}&secret={1}&js_code={2}&grant_type=authorization_code"
  18. },
  19. "JWT": {
  20. "Issuer": "yandaniu",
  21. "Audience": "TestAudience",
  22. "IssuerSigningKey": "yandaniu1234567890",
  23. "AccessTokenExpiresMinutes": "60",
  24. "ValidAudience": "yandaniu",
  25. "RefreshTokenAudience": "RefreshTokenAudience",
  26. "RefreshTokenExpiresMinutes": "10080" //60*24*7
  27. },
  28. "Middleware": {
  29. "QuartzNetJob": {
  30. "Enabled": false
  31. },
  32. "Consul": {
  33. "Enabled": false
  34. }
  35. }
  36. }