appsettings.json 1.1 KB

12345678910111213141516171819202122232425262728293031
  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. "WxConfig": {
  23. "AppId": "wx737c2a7879b897c1",
  24. "AppSecret": "0d37c99bf2edd9ef3d839869bfa724ad",
  25. "RedirectURI": "http://www.bowintek.com/order/h5"
  26. },
  27. "AppSettings": {
  28. "H5BasePath": "/", //h5页面路径,默认/ ,配置为子路径时如:/order/
  29. "H5Version": "v1" //h5版本号,解决缓存问题,需改配置:1、对应静态文件路径:wwwwroot/h5/版本号; 2:需同步修改index页面base href的值 如:/h5/v1/ 若有配置H5BasePath,则为/order/h5/v1/
  30. }
  31. }