appsettings.json 618 B

12345678910111213141516171819202122
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Debug"
  5. }
  6. },
  7. "ConnectionStrings": {
  8. "DataContext": "Server=mes.saierdt.com;Database=LSProduct;User ID=vxRead;Password=123123;MultipleActiveResultSets=true;"
  9. },
  10. "AllowedHosts": "*",
  11. "JwtSettings": {
  12. "Audience": "ordersystem",
  13. "Issuer": "ordersystem",
  14. "Secret": "D2EB4BDC-8085-4C87-9EB7-22C3DD9307FC", //秘钥可以构建服务器认可的token;签名秘钥长度最少16
  15. "AccessTokenExpiresHour": 24 //过期时间 小时
  16. },
  17. "Web": {
  18. "Cros": {
  19. "Domain": "http://localhost:8100, http://localhost:8101"
  20. }
  21. }
  22. }