颐和api

appsettings.Development.json 2.2KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  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. "downurl": {
  18. // "oldurls": "http://172.16.3.72:28270",
  19. "oldurls": "http://192.168.5.46:2827",
  20. "newurls": "http://117.160.143.199:1333/"
  21. },
  22. "MongoConnection": {
  23. //"ConnectionString": "mongodb://root:123456@192.168.5.44:27017",
  24. //"Database": "madrunfabricdb"
  25. "ConnectionString": "mongodb://root:123456@192.168.5.44:27017", //本机
  26. "Database": "yh"
  27. },
  28. "Redis": {
  29. "HostName": "192.168.5.44",
  30. "Port": "6379",
  31. "Password": "",
  32. "Defaultdatabase": "5",
  33. "InstanceName": "test"
  34. },
  35. "allprojectrole": "YWFJL|YWJL|YWZJ|CJGL|XTWH", //查看所有项目
  36. "spring": {
  37. "application": {
  38. "name": "messageapi"
  39. }
  40. },
  41. "eureka": {
  42. "client": {
  43. "serviceUrl": "http://192.168.5.46: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": 15,
  52. //服务刷新时间配置,每隔这个时间会主动心跳一次
  53. //默认30s 客户端需要发送心跳的频率,默认值= 30s
  54. "leaseRenewalIntervalInSeconds": 5,
  55. "statusPageUrlPath": "/api/info",
  56. "port": 28250
  57. // Remove comments to enable SSL requests
  58. // More changes in Program.cs are required if using direct C2C communications
  59. //,"securePortEnabled": true
  60. }
  61. },
  62. "PushMessage": {
  63. "DelayPushTime": -5, //新工单推迟多久后,还未处理需推送消息(分钟)
  64. "MessageNoReadNum": 50 //消息提醒,已读工单显示前多少条
  65. }
  66. }