appsettings.Development.json 3.9 KB

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