足力健后端,使用.netcore版本,合并1个项目使用

appsettings.json 1.4KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. {
  2. "Cors": "",
  3. "ConnectionStrings": {
  4. "DefaultConnection": "Data Source=192.168.8.3;User ID=sa;pwd=800100;Initial Catalog=TVCallCenter_ZLJ;"
  5. },
  6. "Jwt": {
  7. "Issuer": "HnjySignToken",
  8. "Audience": "HnjyCallCenterApi",
  9. "SecretKey": "HYBambooJIe256sdkDfjiTSkjienTGjnVcu85114udfhbudgdkfUh",
  10. "Expiration": "7"
  11. },
  12. "Redis": {
  13. "HostName": "192.168.8.13",
  14. "Port": "6379",
  15. "Password": "",
  16. "Defaultdatabase": "5",
  17. "InstanceName": "base"
  18. },
  19. "Logging": {
  20. "LogLevel": {
  21. "Default": "Warning"
  22. }
  23. },
  24. "eureka": {
  25. "client": {
  26. "serviceUrl": "http://192.168.5.60:28100/eureka/"
  27. },
  28. "instance": {
  29. "preferIpAddress": true,
  30. //服务过期时间配置,
  31. //超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 #注意,EurekaServer一定要设置eureka.server.eviction-interval-timer-in-ms否则这个配置无效,这个配置一般为服务刷新时间配置的三倍
  32. //默认90s 在删除实例之前,EurekaServer等待的时间,默认= 90秒
  33. "leaseExpirationDurationInSeconds": 15,
  34. //服务刷新时间配置,每隔这个时间会主动心跳一次
  35. //默认30s 客户端需要发送心跳的频率,默认值= 30s
  36. "leaseRenewalIntervalInSeconds": 5,
  37. "statusPageUrlPath": "/api/info",
  38. "port": 28210
  39. // Remove comments to enable SSL requests
  40. // More changes in Program.cs are required if using direct C2C communications
  41. //,"securePortEnabled": true
  42. }
  43. },
  44. "AllowedHosts": "*"
  45. }