颐和api

appsettings.Production.json 2.1KB

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