appsettings.Development.json 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133
  1. {
  2. "AllowedHosts": "*",
  3. "AppConfiguration": {
  4. "AppScope": "YiBin",
  5. "YiBin": {
  6. "AreaCode": "511500",
  7. "CallCenterType": "TianRun", //XunShi、WeiErXin、TianRun、XingTang
  8. //智能回访
  9. "AiVisit": {
  10. "Url": "http://118.122.73.80:19061",
  11. "Appkey": "MTAwMDAx",
  12. "ServiceVersion": "V1.0.0" //接口版本号
  13. },
  14. //智能质检
  15. "AiQuality": {
  16. "Url": "http://118.122.73.80:19072/" // 正式
  17. //"Url": "http://118.122.73.80:19072/", // 测试
  18. },
  19. //企业服务
  20. "Enterprise": {
  21. "AddressUrl": "http://10.12.185.227:8834/",
  22. "ClientId": "1462598736",
  23. "ClientSecret": "6nZtVK4rKfnsncGymUHB",
  24. "TenantId": "000000"
  25. }
  26. },
  27. "ZiGong": {
  28. //智能质检
  29. "AiQuality": {
  30. "Url": "http://175.10.86.234:10095" // 测试
  31. //"Url": "http://10.56.131.13:10095/", // 正式
  32. },
  33. "AreaCode": "510300",
  34. "CallCenterType": "XingTang"
  35. },
  36. "LuZhou": {
  37. "AreaCode": "510500",
  38. "CallCenterType": "XingTang"
  39. }
  40. },
  41. "CallCenterConfiguration": {
  42. //"CallCenterType": "TianRun", //XunShi、WeiErXin、TianRun、XingTang
  43. "NewRock": {
  44. "Address": "http://192.168.100.100/xml",
  45. "Authorize": true,
  46. "ReceiveKey": "E1BBD1BB-A269-44",
  47. "SendKey": "2A-BA92-160A3B1D",
  48. "Expired": 86300 //认证过期时间(秒)
  49. },
  50. "Wex": {
  51. "Address": "http://222.212.82.225:8083",
  52. "Username": "admin",
  53. "Password": "Wex@12345"
  54. },
  55. "TianRun": {
  56. //"Address": "http://internal.ttf-cti.com:8080",
  57. //"Username": "yscs",
  58. //"Password": "123456",
  59. "Address": "http://222.213.23.229:29003/",
  60. "Username": "root",
  61. "Password": "12345678aa",
  62. "Ip": "222.213.23.229"
  63. },
  64. "XingTang": {
  65. //"DbConnectionString": "server=123.56.10.71;Database=callcenter_db;Uid=root;Pwd=Lhw1981!(*!"
  66. //"DbConnectionString": "server=110.188.24.182;Database=callcenter_xingtang;Uid=dev;Pwd=fengwo11!!"
  67. "DbConnectionString": "PORT=50143;server=110.188.24.182;Database=callcenter_db;Uid=dev;Pwd=fengwo123!@#;"
  68. }
  69. },
  70. "ConnectionStrings": {
  71. "Hotline": "PORT=5432;DATABASE=hotline_dev;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;"
  72. },
  73. "Cache": {
  74. "Host": "110.188.24.182",
  75. "Port": 50179,
  76. "Password": "fengwo123!$!$",
  77. "Database": 5 //hl:3, dev:5, test:2, demo:4
  78. },
  79. "Swagger": true,
  80. "AccLog": false,
  81. "Cors": {
  82. "Origins": [ "http://localhost:8888", "http://admin.hotline.fw.com", "http://localhost:80", "http://localhost:8113" ]
  83. },
  84. "IdentityConfiguration": {
  85. "Password": {
  86. "RequiredLength": 8,
  87. "RequireNonAlphanumeric": true,
  88. "RequireLowercase": true,
  89. "RequireUppercase": true
  90. },
  91. "User": {
  92. "RequireUniqueEmail": false
  93. },
  94. "SignIn": {
  95. "RequireConfirmedAccount": false
  96. },
  97. "Lockout": {
  98. "MaxFailedAccessAttempts": 5,
  99. "DefaultLockoutTimeSpan": "00:10:00"
  100. },
  101. "Account": {
  102. "DefaultPassword": "Fwkj@789"
  103. },
  104. "Jwt": {
  105. "SecretKey": "e660d04ef1d3410798c953f5d7b8a4e1",
  106. "Issuer": "hotline_server",
  107. "Audience": "hotline",
  108. "Scope": "hotline_api",
  109. "Expired": 86400 //seceonds
  110. }
  111. },
  112. "DatabaseConfiguration": {
  113. "ApplyDbMigrations": false,
  114. "ApplySeed": false
  115. },
  116. "MqConfiguration": {
  117. "DbConnectionString": "PORT=5432;DATABASE=fwmq;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  118. "UseDashBoard": true,
  119. "FailedRetryCount": 5,
  120. "RabbitMq": {
  121. "UserName": "dev",
  122. "Password": "123456",
  123. "HostName": "110.188.24.182",
  124. "VirtualHost": "fwt-dev"
  125. // "VirtualHost": "fwt-unittest"
  126. }
  127. },
  128. "FwClient": {
  129. "ClientId": "hotline",
  130. "ClientSecret": "08db29cc-0da0-4adf-850c-1b2689bd535d"
  131. }
  132. }