颐和api

appsettings.Development_Base.json 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. {
  2. "Cors": "",
  3. "Logging": {
  4. "IncludeScopes": false,
  5. "LogLevel": {
  6. "Default": "Debug",
  7. "System": "Error",
  8. "Microsoft": "Error",
  9. "Steeltoe": "Error"
  10. }
  11. },
  12. "Jwt": {
  13. "Issuer": "HySignToken",
  14. "Audience": "HyCallCenterApi",
  15. "SecretKey": "HYBambooJIe256sdkDfjiTSkjienTGjnVcu85114udfhbudgdkfUh"
  16. },
  17. "MongoConnection": {
  18. //"ConnectionString": "mongodb://root:123456@192.168.5.44:27017",
  19. //"Database": "madrunfabricdb_base"
  20. "ConnectionString": "mongodb://root:123456@192.168.5.44:27017", //本机
  21. "Database": "yh"
  22. },
  23. "Redis": {
  24. "HostName": "192.168.5.44",
  25. "Port": "6379",
  26. "Password": "",
  27. "Defaultdatabase": "5",
  28. "InstanceName": "base"
  29. },
  30. "allprojectrole": "YWFJL|YWJL|YWZJ|CJGL|XTWH", //查看所有项目
  31. "spring": {
  32. "application": {
  33. "name": "configurationapi"
  34. }
  35. // Remove comments to enable Container to Container (C2C)
  36. // requests on Cloud Foundry
  37. // ,"cloud" : {
  38. // "discovery" : {
  39. // "registrationMethod" : "direct"
  40. // }
  41. // }
  42. },
  43. "eureka": {
  44. "client": {
  45. //"serviceUrl": "http://localhost:4866/eureka/"
  46. "serviceUrl": "http://192.168.5.42:28100/eureka/"
  47. //"shouldFetchRegistry": false
  48. },
  49. "instance": {
  50. "preferIpAddress": true,
  51. //服务过期时间配置,
  52. //超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 #注意,EurekaServer一定要设置eureka.server.eviction-interval-timer-in-ms否则这个配置无效,这个配置一般为服务刷新时间配置的三倍
  53. //默认90s 在删除实例之前,EurekaServer等待的时间,默认= 90秒
  54. "leaseExpirationDurationInSeconds": 15,
  55. //服务刷新时间配置,每隔这个时间会主动心跳一次
  56. //默认30s 客户端需要发送心跳的频率,默认值= 30s
  57. "leaseRenewalIntervalInSeconds": 5,
  58. "statusPageUrlPath": "/api/info",
  59. "port": 28240
  60. // Remove comments to enable SSL requests
  61. // More changes in Program.cs are required if using direct C2C communications
  62. //,"securePortEnabled": true
  63. },
  64. "his": {
  65. "hisaddress": "192.168.1.8" //对接his系统的API IP地址和端口号
  66. //"Audience": "HyCallCenterApi"
  67. }
  68. }
  69. }