appsettings.json 844 B

123456789101112131415161718192021222324252627
  1. {
  2. "isIIS": true,
  3. "virtualPath": "/wycore",
  4. "kunshanUrl": "https://www.s-p-c.com.cn/scc2/user/?route=communityActivity/sendWXMsg", //昆山提供的短信接口地址
  5. "Logging": {
  6. "IncludeScopes": false,
  7. "Debug": {
  8. "LogLevel": {
  9. "Default": "Warning",
  10. "Microsoft": "Warning",
  11. "Microsoft.Hosting.Lifetime": "Information"
  12. }
  13. }
  14. },
  15. "AllowedHosts": "*",
  16. "AppSettings": {
  17. "ConnectionString": "server=(local);uid=sa;pwd=sa;database=PM;",
  18. "NlogConfigFile": "nlog.config"
  19. },
  20. "JWTConfig": {
  21. "IssuerSigningKey": "needalongbase64encodedkey", //秘钥可以构建服务器认可的token;签名秘钥长度大于16
  22. "Issuer": "lutao", //Token颁发者
  23. "AccessTokenExpiresMinutes": "600", //过期时间,分钟
  24. "Audience": "propertyMs" //Token接受者
  25. }
  26. }