appsettings.json 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. {
  2. "AllowedHosts": "*",
  3. "AppConfiguration": {
  4. "AppScope": "ZiGong",
  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. "FileUpload": {
  41. "Url": "http://110.188.24.28:50120/"
  42. }
  43. },
  44. "CallCenterConfiguration": {
  45. //"CallCenterType": "TianRun", //XunShi、WeiErXin、TianRun、XingTang
  46. "NewRock": {
  47. "Address": "http://192.168.100.100/xml",
  48. "Authorize": true,
  49. "ReceiveKey": "E1BBD1BB-A269-44",
  50. "SendKey": "2A-BA92-160A3B1D",
  51. "Expired": 86300 //认证过期时间(秒)
  52. },
  53. "Wex": {
  54. "Address": "http://222.212.82.225:8083",
  55. "Username": "admin",
  56. "Password": "Wex@12345"
  57. },
  58. "TianRun": {
  59. //"Address": "http://internal.ttf-cti.com:8080",
  60. //"Username": "yscs",
  61. //"Password": "123456",
  62. "Address": "http://222.213.23.229:29003/",
  63. "Username": "root",
  64. "Password": "12345678aa",
  65. "Ip": "222.213.23.229"
  66. },
  67. "XingTang": {
  68. //"DbConnectionString": "server=123.56.10.71;Database=callcenter_db;Uid=root;Pwd=Lhw1981!(*!"
  69. "DbConnectionString": "server=110.188.24.182;Database=callcenter_xingtang;Uid=dev;Pwd=fengwo11!!"
  70. //"DbConnectionString": "PORT=50143;server=110.188.24.182;Database=callcenter_db;Uid=dev;Pwd=fengwo123!@#;"
  71. }
  72. },
  73. "ConnectionStrings": {
  74. "Hotline": "PORT=5432;DATABASE=hotline;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  75. //"Hotline1": "PORT=5432;DATABASE=hotline_dev;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;"
  76. },
  77. "Cache": {
  78. "Host": "110.188.24.182",
  79. "Port": 50179,
  80. "Password": "fengwo123!$!$",
  81. "Database": 3 //hotline:3, dev:5, test:2, demo:4
  82. },
  83. "Swagger": true,
  84. "AccLog": false,
  85. "Cors": {
  86. "Origins": [ "http://localhost:8888", "http://admin.hotline.fw.com", "http://localhost:80", "http://localhost:8113" ]
  87. },
  88. "IdentityConfiguration": {
  89. "Password": {
  90. "RequiredLength": 8,
  91. "RequireNonAlphanumeric": true,
  92. "RequireLowercase": true,
  93. "RequireUppercase": true
  94. },
  95. "User": {
  96. "RequireUniqueEmail": false
  97. },
  98. "SignIn": {
  99. "RequireConfirmedAccount": false
  100. },
  101. "Lockout": {
  102. "MaxFailedAccessAttempts": 5,
  103. "DefaultLockoutTimeSpan": "00:10:00"
  104. },
  105. "Account": {
  106. "DefaultPassword": "Fwkj@789"
  107. },
  108. "Jwt": {
  109. "SecretKey": "e660d04ef1d3410798c953f5d7b8a4e1",
  110. "Issuer": "hotline_server",
  111. "Audience": "hotline",
  112. "Scope": "hotline_api",
  113. "Expired": 86400 //seceonds
  114. }
  115. },
  116. "DatabaseConfiguration": {
  117. "ApplyDbMigrations": false,
  118. "ApplySeed": false
  119. },
  120. "MqConfiguration": {
  121. "DbConnectionString": "PORT=5432;DATABASE=fwmq;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  122. "UseDashBoard": true,
  123. "RabbitMq": {
  124. "UserName": "dev",
  125. "Password": "123456",
  126. "HostName": "110.188.24.182",
  127. "VirtualHost": "fwt-master"
  128. }
  129. },
  130. "FwClient": {
  131. "ClientId": "hotline",
  132. "ClientSecret": "08db29cc-0da0-4adf-850c-1b2689bd535d"
  133. }
  134. }