appsettings.Development.json 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125
  1. {
  2. "AllowedHosts": "*",
  3. "AppConfiguration": {
  4. "AppScope": "ZiGong",
  5. "YiBin": {
  6. "AreaCode": "511500",
  7. "CallCenterType": "TianRun", //XunShi、WeiErXin、TianRun、XingTang
  8. //智能回访
  9. "AiVisit": {
  10. "Url": "http://118.122.73.80:19061",
  11. "Appkey": "MTAwMDAx",
  12. "ServiceVersion": "V1.0.0" //接口版本号
  13. },
  14. //智能质检
  15. "AiQuality": {
  16. "Url": "http://118.122.73.80:19072/" // 正式
  17. //"Url": "http://118.122.73.80:19072/", // 测试
  18. },
  19. //企业服务
  20. "Enterprise": {
  21. "AddressUrl": "http://10.12.185.227:8834/",
  22. "ClientId": "1462598736",
  23. "ClientSecret": "6nZtVK4rKfnsncGymUHB",
  24. "TenantId": "000000"
  25. }
  26. },
  27. "ZiGong": {
  28. "AreaCode": "510300",
  29. "CallCenterType": "XingTang"
  30. },
  31. "LuZhou": {
  32. "AreaCode": "510500",
  33. "CallCenterType": "XingTang"
  34. }
  35. },
  36. "CallCenterConfiguration": {
  37. //"CallCenterType": "TianRun", //XunShi、WeiErXin、TianRun、XingTang
  38. "NewRock": {
  39. "Address": "http://192.168.100.100/xml",
  40. "Authorize": true,
  41. "ReceiveKey": "E1BBD1BB-A269-44",
  42. "SendKey": "2A-BA92-160A3B1D",
  43. "Expired": 86300 //认证过期时间(秒)
  44. },
  45. "Wex": {
  46. "Address": "http://222.212.82.225:8083",
  47. "Username": "admin",
  48. "Password": "Wex@12345"
  49. },
  50. "TianRun": {
  51. //"Address": "http://internal.ttf-cti.com:8080",
  52. //"Username": "yscs",
  53. //"Password": "123456",
  54. "Address": "http://222.213.23.229:29003/",
  55. "Username": "root",
  56. "Password": "12345678aa",
  57. "Ip": "222.213.23.229"
  58. },
  59. "XingTang": {
  60. //"DbConnectionString": "server=123.56.10.71;Database=callcenter_db;Uid=root;Pwd=Lhw1981!(*!"
  61. "DbConnectionString": "server=110.188.24.182;Database=callcenter_xingtang;Uid=dev;Pwd=fengwo11!!"
  62. }
  63. },
  64. "ConnectionStrings": {
  65. "Hotline": "PORT=5432;DATABASE=hotline_dev;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;"
  66. },
  67. "Cache": {
  68. "Host": "110.188.24.182",
  69. "Port": 50179,
  70. "Password": "fengwo123!$!$",
  71. "Database": 5 //test:3, dev:5
  72. },
  73. "Swagger": true,
  74. "AccLog": false,
  75. "Cors": {
  76. "Origins": [ "http://localhost:8888", "http://admin.hotline.fw.com", "http://localhost:80", "http://localhost:8113" ]
  77. },
  78. "IdentityConfiguration": {
  79. "Password": {
  80. "RequiredLength": 8,
  81. "RequireNonAlphanumeric": true,
  82. "RequireLowercase": true,
  83. "RequireUppercase": true
  84. },
  85. "User": {
  86. "RequireUniqueEmail": false
  87. },
  88. "SignIn": {
  89. "RequireConfirmedAccount": false
  90. },
  91. "Lockout": {
  92. "MaxFailedAccessAttempts": 5,
  93. "DefaultLockoutTimeSpan": "00:10:00"
  94. },
  95. "Account": {
  96. "DefaultPassword": "Fwkj@789"
  97. },
  98. "Jwt": {
  99. "SecretKey": "e660d04ef1d3410798c953f5d7b8a4e1",
  100. "Issuer": "hotline_server",
  101. "Audience": "hotline",
  102. "Scope": "hotline_api",
  103. "Expired": 86400 //seceonds
  104. }
  105. },
  106. "DatabaseConfiguration": {
  107. "ApplyDbMigrations": false,
  108. "ApplySeed": false
  109. },
  110. "MqConfiguration": {
  111. "DbConnectionString": "PORT=5432;DATABASE=fwmq;HOST=110.188.24.182;PASSWORD=fengwo11!!;USER ID=dev;",
  112. "UseDashBoard": true,
  113. "RabbitMq": {
  114. "UserName": "dev",
  115. "Password": "123456",
  116. "HostName": "110.188.24.182",
  117. "VirtualHost": "fwt-master"
  118. }
  119. },
  120. "FwClient": {
  121. "ClientId": "hotline",
  122. "ClientSecret": "08db29cc-0da0-4adf-850c-1b2689bd535d"
  123. }
  124. }