颐和api

appsettings.Production.json 2.0KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. {
  2. "Cors": "",
  3. "Logging": {
  4. "IncludeScopes": false,
  5. "LogLevel": {
  6. "Default": "Debug",
  7. "System": "Information",
  8. "Microsoft": "Information"
  9. }
  10. },
  11. "Jwt": {
  12. "Issuer": "HySignToken",
  13. "Audience": "HyCallCenterApi",
  14. "SecretKey": "HYBambooJIe256sdkDfjiTSkjienTGjnVcu85114udfhbudgdkfUh"
  15. },
  16. "MongoConnection": {
  17. "ConnectionString": "mongodb://root:123456@192.168.5.44:27017", //本机
  18. "Database": "yh"
  19. },
  20. "Redis": {
  21. "HostName": "10.125.7.246",
  22. "Port": "6379",
  23. "Password": "hykj800100",
  24. "Defaultdatabase": "1",
  25. "InstanceName": "device"
  26. },
  27. "spring": {
  28. "application": {
  29. "name": "plcautomationapi"
  30. }
  31. },
  32. "upload": {
  33. "url": "http://yunwei.nuodajituan.com:28000/fileserverapi/api/upload",
  34. "params": "uploadtype=excel",
  35. "acotmbname": "自动外呼号码导入模板.xlsx",
  36. "acotmbkeys": "姓名,电话,住址",
  37. "acotdbkeys": "cusname,phone,cusaddr"
  38. },
  39. "eureka": {
  40. "client": {
  41. "serviceUrl": "http://10.125.3.223:28100/eureka/"
  42. //"shouldFetchRegistry": false
  43. },
  44. "instance": {
  45. "preferIpAddress": true,
  46. //服务过期时间配置,
  47. //超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 #注意,EurekaServer一定要设置eureka.server.eviction-interval-timer-in-ms否则这个配置无效,这个配置一般为服务刷新时间配置的三倍
  48. //默认90s 在删除实例之前,EurekaServer等待的时间,默认= 90秒
  49. "leaseExpirationDurationInSeconds": 90,
  50. //服务刷新时间配置,每隔这个时间会主动心跳一次
  51. //默认30s 客户端需要发送心跳的频率,默认值= 30s
  52. "leaseRenewalIntervalInSeconds": 30,
  53. "statusPageUrlPath": "/api/info",
  54. //"hostName": "192.168.5.17",
  55. "port": 28290
  56. // Remove comments to enable SSL requests
  57. // More changes in Program.cs are required if using direct C2C communications
  58. //,"securePortEnabled": true
  59. }
  60. }
  61. }