颐和api

appsettings.Development_Base.json 2.1KB

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