郑州市第一人民医院

appsettings.Development.json 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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"
  20. "ConnectionString": "mongodb://root:123456@192.168.1.94:27017", //本机
  21. "Database": "madrunfabricdb_base"
  22. },
  23. "Redis": {
  24. "HostName": "192.168.5.44",
  25. "Port": "6379",
  26. "Password": "",
  27. "Defaultdatabase": "5",
  28. "InstanceName": "test"
  29. },
  30. "upload": {
  31. "url": "http://yunwei.nuodajituan.com:28000/fileserverapi/api/upload",
  32. "params": "uploadtype=excel",
  33. "mbname": "工号.xlsx",
  34. "mbkeys": "id,usercode,username,sex,mobile,remark,team_id,postlist,projectlist",
  35. "dbkeys": "id,usercode,username,sex,mobile,remark,team_id,postlist,projectlist"
  36. },
  37. "allprojectrole": "YWFJL|YWJL|YWZJ|CJGL|XTWH", //查看所有项目
  38. "spring": {
  39. "application": {
  40. "name": "distributionapi"
  41. }
  42. },
  43. "eureka": {
  44. "client": {
  45. //"serviceUrl": "http://localhost:4866/eureka/"
  46. "serviceUrl": "http://192.168.5.46: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": 28330
  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. }
  65. }