appsettings.Development.json 5.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. {
  2. "AllowedHosts": "*",
  3. "AppConfiguration": {
  4. "AppScope": "ZiGong",
  5. "YiBin": {
  6. "CallCenterType": "TianRun", //XunShi、WeiErXin、TianRun、XingTang
  7. //智能回访
  8. "AiVisit": {
  9. "Url": "http://118.122.73.80:19061",
  10. "Appkey": "MTAwMDAx",
  11. "ServiceVersion": "V1.0.0" //接口版本号
  12. },
  13. //智能质检
  14. "AiQuality": {
  15. "Url": "http://118.122.73.80:19072/" // 正式
  16. //"Url": "http://118.122.73.80:19072/", // 测试
  17. },
  18. //企业服务
  19. "Enterprise": {
  20. "AddressUrl": "http://10.12.185.227:8834/",
  21. "ClientId": "1462598736",
  22. "ClientSecret": "6nZtVK4rKfnsncGymUHB",
  23. "TenantId": "000000"
  24. }
  25. },
  26. "ZiGong": {
  27. "CallCenterType": "XingTang"
  28. },
  29. "LuZhou": {
  30. "CallCenterType": "XingTang"
  31. }
  32. },
  33. "CallCenterConfiguration": {
  34. //"CallCenterType": "TianRun", //XunShi、WeiErXin、TianRun、XingTang
  35. "NewRock": {
  36. "Address": "http://192.168.100.100/xml",
  37. "Authorize": true,
  38. "ReceiveKey": "E1BBD1BB-A269-44",
  39. "SendKey": "2A-BA92-160A3B1D",
  40. "Expired": 86300 //认证过期时间(秒)
  41. },
  42. "Wex": {
  43. "Address": "http://222.212.82.225:8083",
  44. "Username": "admin",
  45. "Password": "Wex@12345"
  46. },
  47. "TianRun": {
  48. //"Address": "http://internal.ttf-cti.com:8080",
  49. //"Username": "yscs",
  50. //"Password": "123456",
  51. "Address": "http://222.213.23.229:29003/",
  52. "Username": "root",
  53. "Password": "12345678aa",
  54. "Ip": "222.213.23.229"
  55. },
  56. "XingTang": {
  57. //"DbConnectionString": "server=123.56.10.71;Database=callcenter_db;Uid=root;Pwd=Lhw1981!(*!"
  58. "DbConnectionString": "server=110.188.24.182;Database=callcenter_xingtang;Uid=dev;Pwd=fengwo11!!"
  59. }
  60. },
  61. "ConnectionStrings": {
  62. "Hotline": "PORT=5432;DATABASE=hotline_dev;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;"
  63. },
  64. "Cache": {
  65. "Host": "110.188.24.182",
  66. "Port": 50179,
  67. "Password": "fengwo123!$!$",
  68. "Database": 5 //release:3, dev:5
  69. },
  70. "Swagger": true,
  71. "Cors": {
  72. "Origins": [ "http://localhost:8888", "http://admin.hotline.fw.com", "http://localhost:80", "http://localhost:8113" ]
  73. },
  74. "IdentityConfiguration": {
  75. "Password": {
  76. "RequiredLength": 8,
  77. "RequireNonAlphanumeric": true,
  78. "RequireLowercase": true,
  79. "RequireUppercase": true
  80. },
  81. "User": {
  82. "RequireUniqueEmail": false
  83. },
  84. "SignIn": {
  85. "RequireConfirmedAccount": false
  86. },
  87. "Lockout": {
  88. "MaxFailedAccessAttempts": 5,
  89. "DefaultLockoutTimeSpan": "00:10:00"
  90. },
  91. "Account": {
  92. "DefaultPassword": "Fwkj@789"
  93. },
  94. "Jwt": {
  95. "SecretKey": "e660d04ef1d3410798c953f5d7b8a4e1",
  96. "Issuer": "hotline_server",
  97. "Audience": "hotline",
  98. "Scope": "hotline_api",
  99. "Expired": 86400 //seceonds
  100. }
  101. },
  102. "DatabaseConfiguration": {
  103. "ApplyDbMigrations": false,
  104. "ApplySeed": false
  105. },
  106. "MqConfiguration": {
  107. "DbConnectionString": "PORT=5432;DATABASE=fwmq;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  108. "UseDashBoard": true,
  109. "RabbitMq": {
  110. "UserName": "dev",
  111. "Password": "123456",
  112. "HostName": "110.188.24.182",
  113. "VirtualHost": "fwt-unit-test"
  114. }
  115. },
  116. //"SmsAccountInfo": {
  117. // "MessageServerUrl": "http://webservice.fway.com.cn:1432/FWebService.asmx/FWay_Service", //短信发送地址
  118. // "AccountUser": "CS12345", //短信系统账号
  119. // "AccountPwd": "9EE3899305A8FC97D6146CAC6B802E6F", //短信系统密码
  120. // "ReturnAccountUser": "fwkj", //短信回传账号
  121. // "ReturnAccountPwd": "fwkj12" //短信回传密码
  122. //},
  123. "FwClient": {
  124. "ClientId": "hotline",
  125. "ClientSecret": "08db29cc-0da0-4adf-850c-1b2689bd535d"
  126. }
  127. //"ConfigCenter": {
  128. // "ServerAddresses": [ "http://110.188.24.28:8848" ],
  129. // "Namespace": "17503980-9b0d-4d3e-8e35-c842c41fb888", //debug
  130. // "ServiceName": "hotline"
  131. //},
  132. //"Tr": {
  133. // //"Address": "http://internal.ttf-cti.com:8080",
  134. // //"Username": "yscs",
  135. // //"Password": "123456",
  136. // "Address": "http://222.213.23.229:29003/",
  137. // "Username": "root",
  138. // "Password": "12345678aa",
  139. // "Ip": "222.213.23.229"
  140. //},
  141. ////智能回访
  142. //"AiVisit": {
  143. // "Url": "http://118.122.73.80:19061",
  144. // "Appkey": "MTAwMDAx",
  145. // "ServiceVersion": "V1.0.0" //接口版本号
  146. //},
  147. ////智能质检
  148. //"AiQuality": {
  149. // "Url": "http://118.122.73.80:19072/" // 正式
  150. // //"Url": "http://118.122.73.80:19072/", // 测试
  151. //},
  152. ////企业服务
  153. //"Enterprise": {
  154. // "AddressUrl": "http://10.12.185.227:8834/",
  155. // "ClientId": "1462598736",
  156. // "ClientSecret": "6nZtVK4rKfnsncGymUHB",
  157. // "TenantId": "000000"
  158. //},
  159. //"SendSms": {
  160. // "Url": "http://localhost:50108/api/v1/PushMessage/addwaitmsg"
  161. //}
  162. }