appsettings.Development.json 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Information",
  5. "Microsoft.AspNetCore": "Warning"
  6. }
  7. },
  8. "SmsAccountInfo": {
  9. "MessageServerUrl": "http://webservice.fway.com.cn:1432/FWebService.asmx/FWay_Service", //短信发送地址
  10. "AccountUser": "CS12345", //短信系统账号
  11. "AccountPwd": "9EE3899305A8FC97D6146CAC6B802E6F", //短信系统密码
  12. "ReturnAccountUser": "fwkj", //短信回传账号
  13. "ReturnAccountPwd": "fwkj12" //短信回传密码
  14. },
  15. "AllowedHosts": "*",
  16. "ConnectionStrings": {
  17. "Push": "PORT=5432;DATABASE=push;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  18. "Redis": "110.188.24.182:50179",
  19. "MongoDB": "mongodb://192.168.100.121:27017"
  20. },
  21. "Cache": {
  22. "Host": "110.188.24.182",
  23. "Port": 50179,
  24. //"Password": "fengwo22@@",
  25. "Database": 4
  26. },
  27. "Swagger": true,
  28. "Cors": {
  29. "Origins": [ "http://localhost:8888", "http://admin.hotline.fw.com", "http://hotline.fw.com" ]
  30. },
  31. "IdentityConfiguration": {
  32. "Password": {
  33. "RequiredLength": 8,
  34. "RequireNonAlphanumeric": true,
  35. "RequireLowercase": true,
  36. "RequireUppercase": true
  37. },
  38. "User": {
  39. "RequireUniqueEmail": false
  40. },
  41. "SignIn": {
  42. "RequireConfirmedAccount": false
  43. },
  44. "Lockout": {
  45. "MaxFailedAccessAttempts": 5,
  46. "DefaultLockoutTimeSpan": "00:10:00"
  47. },
  48. "Account": {
  49. "DefaultPassword": "Fwkj@789"
  50. },
  51. "Jwt": {
  52. "SecretKey": "e660d04ef1d3410798c953f5d7b8a4e1",
  53. "Issuer": "hotline_server",
  54. "Audience": "hotline",
  55. "Scope": "hotline_api",
  56. "Expired": 86400 //seceonds
  57. }
  58. },
  59. "DatabaseConfiguration": {
  60. "ApplyDbMigrations": false,
  61. "ApplySeed": false
  62. },
  63. "MqConfiguration": {
  64. "DbConnectionString": "PORT=5432;DATABASE=fwmq;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  65. "UseDashBoard": true,
  66. "RabbitMq": {
  67. "UserName": "dev",
  68. "Password": "123456",
  69. "HostName": "110.188.24.182",
  70. "VirtualHost": "fwt-master"
  71. }
  72. },
  73. "FwClient": {
  74. "ClientId": "hotline",
  75. "ClientSecret": "08db29cc-0da0-4adf-850c-1b2689bd535d"
  76. },
  77. "ConfigCenter": {
  78. "ServerAddresses": [ "http://110.188.24.28:8848" ],
  79. "Namespace": "17503980-9b0d-4d3e-8e35-c842c41fb888", //debug
  80. "ServiceName": "hotline"
  81. }
  82. }