appsettings.json 2.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697
  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. "Wex": {
  13. "Address": "http://222.212.82.225:8083",
  14. "Username": "admin",
  15. "Password": "Wex@12345"
  16. },
  17. "Tr": {
  18. "Address": "http://internal.ttf-cti.com:8080",
  19. "Username": "yscs",
  20. "Password": "123456"
  21. }
  22. },
  23. "ConnectionStrings": {
  24. "Hotline": "PORT=5432;DATABASE=hotline;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  25. "Redis": "110.188.24.182:50179,password=fengwo22@@",
  26. "MongoDB": "mongodb://192.168.100.121:27017",
  27. "Wex": "server=222.212.82.225;Port=4509;Database=fs_kft;Uid=root;Pwd=Wex@12345;"
  28. },
  29. "Cache": {
  30. "Host": "110.188.24.182",
  31. "Port": 50179,
  32. "Password": "fengwo22@@",
  33. "Database": 1
  34. },
  35. "Swagger": true,
  36. "Cors": {
  37. "Origins": [ "http://localhost:8888", "http://hotline.12345lm.cn", "http://hotline.fw.com", "http://110.188.24.28:50101", "http://110.188.24.28:50102" ]
  38. },
  39. "IdentityConfiguration": {
  40. "Password": {
  41. "RequiredLength": 8,
  42. "RequireNonAlphanumeric": true,
  43. "RequireLowercase": true,
  44. "RequireUppercase": true
  45. },
  46. "User": {
  47. "RequireUniqueEmail": false
  48. },
  49. "SignIn": {
  50. "RequireConfirmedAccount": false
  51. },
  52. "Lockout": {
  53. "MaxFailedAccessAttempts": 5,
  54. "DefaultLockoutTimeSpan": "00:01:00"
  55. },
  56. "Account": {
  57. "DefaultPassword": "Fwkj@789"
  58. },
  59. "Jwt": {
  60. "SecretKey": "e660d04ef1d3410798c953f5d7b8a4e1",
  61. "Issuer": "hotline_server",
  62. "Audience": "hotline",
  63. "Scope": "hotline_api",
  64. "Expired": 86400 //seceonds
  65. }
  66. },
  67. "DatabaseConfiguration": {
  68. "ApplyDbMigrations": false,
  69. "ApplySeed": false
  70. },
  71. "MqConfiguration": {
  72. "DbConnectionString": "PORT=5432;DATABASE=fwmq;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  73. "UseDashBoard": true,
  74. "RabbitMq": {
  75. "UserName": "dev",
  76. "Password": "123456",
  77. "HostName": "110.188.24.182",
  78. "VirtualHost": "fwt-master"
  79. }
  80. },
  81. "SmsAccountInfo": {
  82. "MessageServerUrl": "http://webservice.fway.com.cn:1432/FWebService.asmx/FWay_Service", //短信发送地址
  83. "AccountUser": "CS12345", //短信系统账号
  84. "AccountPwd": "9EE3899305A8FC97D6146CAC6B802E6F", //短信系统密码
  85. "ReturnAccountUser": "fwkj", //短信回传账号
  86. "ReturnAccountPwd": "fwkj12" //短信回传密码
  87. },
  88. "FwClient": {
  89. "ClientId": "hotline",
  90. "ClientSecret": "08db29cc-0da0-4adf-850c-1b2689bd535d"
  91. },
  92. "ConfigCenter": {
  93. "ServerAddresses": [ "http://110.188.24.28:8848" ],
  94. "Namespace": "f5017bc5-af0a-4f85-8e38-6718accc8f36", //dev
  95. "ServiceName": "hotline"
  96. }
  97. }