appsettings.json 2.3 KB

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