appsettings.json 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124
  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. },
  18. "ConnectionStrings": {
  19. "Hotline": "PORT=5432;DATABASE=hotline;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  20. "Redis": "110.188.24.182:50179,password=fengwo22@@",
  21. "MongoDB": "mongodb://192.168.100.121:27017",
  22. "Wex": "server=222.212.82.225;Port=4509;Database=fs_kft;Uid=root;Pwd=Wex@12345;"
  23. },
  24. "Cache": {
  25. "Host": "110.188.24.182",
  26. "Port": 50179,
  27. "Password": "fengwo22@@",
  28. "Database": 1
  29. },
  30. "Swagger": true,
  31. "Cors": {
  32. "Origins": [ "http://localhost:8888", "http://hotline.12345lm.cn", "http://110.188.24.28:50101", "http://110.188.24.28:50102", "http://localhost:8113", "http://bs.hotline.12345lm.cn" ]
  33. },
  34. "IdentityConfiguration": {
  35. "Password": {
  36. "RequiredLength": 8,
  37. "RequireNonAlphanumeric": true,
  38. "RequireLowercase": true,
  39. "RequireUppercase": true
  40. },
  41. "User": {
  42. "RequireUniqueEmail": false
  43. },
  44. "SignIn": {
  45. "RequireConfirmedAccount": false
  46. },
  47. "Lockout": {
  48. "MaxFailedAccessAttempts": 5,
  49. "DefaultLockoutTimeSpan": "00:01:00"
  50. },
  51. "Account": {
  52. "DefaultPassword": "Fwkj@789"
  53. },
  54. "Jwt": {
  55. "SecretKey": "e660d04ef1d3410798c953f5d7b8a4e1",
  56. "Issuer": "hotline_server",
  57. "Audience": "hotline",
  58. "Scope": "hotline_api",
  59. "Expired": 86400 //seceonds
  60. }
  61. },
  62. "DatabaseConfiguration": {
  63. "ApplyDbMigrations": false,
  64. "ApplySeed": false
  65. },
  66. "MqConfiguration": {
  67. "DbConnectionString": "PORT=5432;DATABASE=fwmq;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  68. "UseDashBoard": true,
  69. "RabbitMq": {
  70. "UserName": "dev",
  71. "Password": "123456",
  72. "HostName": "110.188.24.182",
  73. "VirtualHost": "fwt-master"
  74. }
  75. },
  76. "SmsAccountInfo": {
  77. "MessageServerUrl": "http://webservice.fway.com.cn:1432/FWebService.asmx/FWay_Service", //短信发送地址
  78. "AccountUser": "CS12345", //短信系统账号
  79. "AccountPwd": "9EE3899305A8FC97D6146CAC6B802E6F", //短信系统密码
  80. "ReturnAccountUser": "fwkj", //短信回传账号
  81. "ReturnAccountPwd": "fwkj12" //短信回传密码
  82. },
  83. "FwClient": {
  84. "ClientId": "hotline",
  85. "ClientSecret": "08db29cc-0da0-4adf-850c-1b2689bd535d"
  86. },
  87. "ConfigCenter": {
  88. "ServerAddresses": [ "http://110.188.24.28:8848" ],
  89. "Namespace": "f5017bc5-af0a-4f85-8e38-6718accc8f36", //dev
  90. "ServiceName": "hotline"
  91. },
  92. "Tr": {
  93. //"Address": "http://internal.ttf-cti.com:8080",
  94. //"Username": "yscs",
  95. //"Password": "123456"
  96. "Address": "http://222.213.23.229:29003/",
  97. "Username": "root",
  98. "Password": "12345678aa",
  99. "Ip": "222.213.23.229"
  100. },
  101. //智能质检
  102. "AiQuality": {
  103. "Url": "http://118.121.201.140:19072/"
  104. },
  105. //智能回访
  106. "AiVisit": {
  107. "Url": "http://118.121.201.140:19061",
  108. "Appkey": "MTAwMDAx",
  109. "ServiceVersion": "V1.0.0", //接口版本号
  110. "SceneUid": "MTAwMDAxM4yRrAE5SsihkQkKuyMwM", //场景ID
  111. "RuleUid": "MTAwMDAxSGdDJryoQUgoDeiKlsTEyc", //现有规则ID
  112. "VisitFromNameKey": "OC_SCENE_VAR_FIELD11", //来电名称 //开发环境 :OC_SCENE_VAR_FIELD11 //生产环境:OC_SCENE_VAR_FIELD12
  113. "VisitFromGenderKey": "OC_SCENE_VAR_FIELD14", //来电性别 //开发环境: OC_SCENE_VAR_FIELD14 //生产环境:OC_SCENE_VAR_FIELD14
  114. "VisitCreationTimeKey": "OC_SCENE_VAR_FIELD17", //来电时间 //开发环境:OC_SCENE_VAR_FIELD17 //生产环境:OC_SCENE_VAR_FIELD19
  115. "VisitOrderTitleKey": "OC_SCENE_VAR_FIELD18" //工单标题 //开发环境:OC_SCENE_VAR_FIELD18 //生产环境:OC_SCENE_VAR_FIELD20
  116. },
  117. //企业服务
  118. "Enterprise": {
  119. "AddressUrl": "http://10.12.185.227:8834/",
  120. "ClientId": "1462598736",
  121. "ClientSecret": "6nZtVK4rKfnsncGymUHB",
  122. "TenantId": "000000"
  123. }
  124. }