appsettings.Development.json 5.9 KB

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