appsettings.Development.json 1.7 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. {
  2. "AllowedHosts": "*",
  3. "CallCenterConfiguration": {
  4. "CallCenterType": "WeiErXin", //XunShi、WeiErXin
  5. "DeviceConfigs": {
  6. "Address": "http://192.168.100.100/xml",
  7. "Authorize": true,
  8. "ReceiveKey": "E1BBD1BB-A269-44",
  9. "SendKey": "2A-BA92-160A3B1D",
  10. "Expired": 86300 //认证过期时间(秒)
  11. }
  12. },
  13. "ConnectionStrings": {
  14. "Hotline": "PORT=5432;DATABASE=hotline;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  15. "Redis": "110.188.24.182",
  16. "MongoDB": "mongodb://192.168.100.121:27017"
  17. },
  18. "Swagger": true,
  19. "Cors": {
  20. "Origins": [ "http://localhost:8888", "http://admin.hotline.fw.com", "http://hotline.fw.com" ]
  21. },
  22. "IdentityConfiguration": {
  23. "Password": {
  24. "RequiredLength": 8,
  25. "RequireNonAlphanumeric": true,
  26. "RequireLowercase": true,
  27. "RequireUppercase": true
  28. },
  29. "User": {
  30. "RequireUniqueEmail": false
  31. },
  32. "SignIn": {
  33. "RequireConfirmedAccount": false
  34. },
  35. "Lockout": {
  36. "MaxFailedAccessAttempts": 5,
  37. "DefaultLockoutTimeSpan": "00:10:00"
  38. },
  39. "Account": {
  40. "DefaultPassword": "Fwkj@789"
  41. },
  42. "Jwt": {
  43. "SecretKey": "e660d04ef1d3410798c953f5d7b8a4e1",
  44. "Issuer": "hotline_server",
  45. "Audience": "hotline",
  46. "Scope": "hotline_api",
  47. "Expired": 86400 //seceonds
  48. }
  49. },
  50. "DatabaseConfiguration": {
  51. "ApplyDbMigrations": false,
  52. "ApplySeed": false
  53. },
  54. "MqConfiguration": {
  55. "DbConnectionString": "PORT=5432;DATABASE=fwmq;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  56. "UseDashBoard": true,
  57. "RabbitMq": {
  58. "UserName": "dev",
  59. "Password": "123456",
  60. "HostName": "110.188.24.182",
  61. "VirtualHost": "fwt-master"
  62. }
  63. }
  64. }