appsettings.Development.json 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  1. {
  2. "SenparcWeixinSetting": {
  3. "IsDebug": true,
  4. //小程序
  5. "WxOpenAppId": "#{WxOpenAppId}#",
  6. "WxOpenAppSecret": "#{WxOpenAppSecret}#",
  7. "WxOpenToken": "#{WxOpenToken}#",
  8. "WxOpenEncodingAESKey": "#{WxOpenEncodingAESKey}#"
  9. },
  10. "AllowedHosts": "*",
  11. "AppConfiguration": {
  12. "AppScope": "ZiGong",
  13. "YiBin": {
  14. "CallCenterType": "TianRun", //XunShi、WeiErXin、TianRun、XingTang
  15. //智能回访
  16. "AiVisit": {
  17. "Url": "http://118.122.73.80:19061",
  18. "Appkey": "MTAwMDAx",
  19. "ServiceVersion": "V1.0.0" //接口版本号
  20. },
  21. //智能质检
  22. "AiQuality": {
  23. "Url": "http://118.122.73.80:19072/" // 正式
  24. //"Url": "http://118.122.73.80:19072/", // 测试
  25. },
  26. //企业服务
  27. "Enterprise": {
  28. "AddressUrl": "http://10.12.185.227:8834/",
  29. "ClientId": "1462598736",
  30. "ClientSecret": "6nZtVK4rKfnsncGymUHB",
  31. "TenantId": "000000"
  32. }
  33. },
  34. "ZiGong": {
  35. "CallCenterType": "XingTang"
  36. },
  37. "LuZhou": {
  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. }
  68. },
  69. "ConnectionStrings": {
  70. "Hotline": "PORT=5432;DATABASE=hotline_dev;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  71. "CAP": "PORT=5432;DATABASE=fwmq;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;Search Path=cap"
  72. },
  73. "Cache": {
  74. "Host": "110.188.24.182",
  75. "Port": 50179,
  76. "Password": "fengwo123!$!$",
  77. "Database": 5 //release:3, dev:5
  78. },
  79. "Swagger": true,
  80. "Cors": {
  81. "Origins": [ "http://localhost:8888", "http://admin.hotline.fw.com", "http://localhost:80", "http://localhost:8113" ]
  82. },
  83. "IdentityConfiguration": {
  84. "Password": {
  85. "RequiredLength": 8,
  86. "RequireNonAlphanumeric": true,
  87. "RequireLowercase": true,
  88. "RequireUppercase": true
  89. },
  90. "User": {
  91. "RequireUniqueEmail": false
  92. },
  93. "SignIn": {
  94. "RequireConfirmedAccount": false
  95. },
  96. "Lockout": {
  97. "MaxFailedAccessAttempts": 5,
  98. "DefaultLockoutTimeSpan": "00:10:00"
  99. },
  100. "Account": {
  101. "DefaultPassword": "Fwkj@789"
  102. },
  103. "Jwt": {
  104. "SecretKey": "e660d04ef1d3410798c953f5d7b8a4e1",
  105. "Issuer": "hotline_server",
  106. "Audience": "hotline",
  107. "Scope": "hotline_api",
  108. "Expired": 86400 //seceonds
  109. }
  110. },
  111. "DatabaseConfiguration": {
  112. "ApplyDbMigrations": false,
  113. "ApplySeed": false
  114. },
  115. "MqConfiguration": {
  116. "DbConnectionString": "PORT=5432;DATABASE=fwmq;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  117. "UseDashBoard": true,
  118. "RabbitMq": {
  119. "UserName": "dev",
  120. "Password": "123456",
  121. "HostName": "110.188.24.182",
  122. "VirtualHost": "fwt-dev"
  123. }
  124. },
  125. //"SmsAccountInfo": {
  126. // "MessageServerUrl": "http://webservice.fway.com.cn:1432/FWebService.asmx/FWay_Service", //短信发送地址
  127. // "AccountUser": "CS12345", //短信系统账号
  128. // "AccountPwd": "9EE3899305A8FC97D6146CAC6B802E6F", //短信系统密码
  129. // "ReturnAccountUser": "fwkj", //短信回传账号
  130. // "ReturnAccountPwd": "fwkj12" //短信回传密码
  131. //},
  132. "FwClient": {
  133. "ClientId": "hotline",
  134. "ClientSecret": "08db29cc-0da0-4adf-850c-1b2689bd535d"
  135. }
  136. //"ConfigCenter": {
  137. // "ServerAddresses": [ "http://110.188.24.28:8848" ],
  138. // "Namespace": "17503980-9b0d-4d3e-8e35-c842c41fb888", //debug
  139. // "ServiceName": "hotline"
  140. //},
  141. //"Tr": {
  142. // //"Address": "http://internal.ttf-cti.com:8080",
  143. // //"Username": "yscs",
  144. // //"Password": "123456",
  145. // "Address": "http://222.213.23.229:29003/",
  146. // "Username": "root",
  147. // "Password": "12345678aa",
  148. // "Ip": "222.213.23.229"
  149. //},
  150. ////智能回访
  151. //"AiVisit": {
  152. // "Url": "http://118.122.73.80:19061",
  153. // "Appkey": "MTAwMDAx",
  154. // "ServiceVersion": "V1.0.0" //接口版本号
  155. //},
  156. ////智能质检
  157. //"AiQuality": {
  158. // "Url": "http://118.122.73.80:19072/" // 正式
  159. // //"Url": "http://118.122.73.80:19072/", // 测试
  160. //},
  161. ////企业服务
  162. //"Enterprise": {
  163. // "AddressUrl": "http://10.12.185.227:8834/",
  164. // "ClientId": "1462598736",
  165. // "ClientSecret": "6nZtVK4rKfnsncGymUHB",
  166. // "TenantId": "000000"
  167. //},
  168. //"SendSms": {
  169. // "Url": "http://localhost:50108/api/v1/PushMessage/addwaitmsg"
  170. //}
  171. }