颐和api

appsettings.Production.json 2.3KB

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:hykj800100@10.125.7.246:37017",
  24. //"Database": "madrunfabricdb"
  25. "ConnectionString": "mongodb://root:123456@192.168.5.44:27017", //本机
  26. "Database": "yh"
  27. },
  28. "Redis": {
  29. "HostName": "10.125.7.246",
  30. "Port": "6379",
  31. "Password": "hykj800100",
  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://10.125.3.223:28100/eureka/"
  44. //"shouldFetchRegistry": false
  45. },
  46. "instance": {
  47. "ipAddress": "yunwei.nuodajituan.com",
  48. "preferIpAddress": true,
  49. //服务过期时间配置,
  50. //超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 #注意,EurekaServer一定要设置eureka.server.eviction-interval-timer-in-ms否则这个配置无效,这个配置一般为服务刷新时间配置的三倍
  51. //默认90s 在删除实例之前,EurekaServer等待的时间,默认= 90秒
  52. "leaseExpirationDurationInSeconds": 15,
  53. //服务刷新时间配置,每隔这个时间会主动心跳一次
  54. //默认30s 客户端需要发送心跳的频率,默认值= 30s
  55. "leaseRenewalIntervalInSeconds": 5,
  56. "statusPageUrlPath": "/api/info",
  57. "port": 28250
  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. "PushMessage": {
  64. "DelayPushTime": -5, //新工单推迟多久后,还未处理需推送上级领导消息(分钟)
  65. "MessageNoReadNum": 50 //消息提醒,已读工单显示前多少条
  66. }
  67. }