颐和api

appsettings.Production.json 2.3KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  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. "Expiration": "7"
  17. },
  18. "MongoConnection": {
  19. //"ConnectionString": "mongodb://root:hykj800100@10.125.7.246:37017",
  20. //"Database": "madrunfabricdb"
  21. "ConnectionString": "mongodb://root:123456@192.168.5.44:27017", //本机
  22. "Database": "yh"
  23. },
  24. "Redis": {
  25. "HostName": "10.125.7.246",
  26. "Port": "6379",
  27. "Password": "hykj800100",
  28. "Defaultdatabase": "5",
  29. "InstanceName": "test"
  30. },
  31. "upload": {
  32. "url": "http://192.168.0.1:28000/fileserverapi/api/upload",
  33. "params": "uploadtype=excel",
  34. "mbname": "工号.xlsx",
  35. "mbkeys": "id,usercode,username,sex,mobile,remark,team_id,postlist,projectlist",
  36. "dbkeys": "id,usercode,username,sex,mobile,remark,team_id,postlist,projectlist"
  37. },
  38. "allprojectrole": "YWFJL|YWJL|YWZJ|CJGL|XTWH", //查看所有项目
  39. "spring": {
  40. "application": {
  41. "name": "signtokenapi"
  42. }
  43. },
  44. "eureka": {
  45. "client": {
  46. "serviceUrl": "http://10.125.3.223:28100/eureka/"
  47. //"shouldFetchRegistry": false
  48. },
  49. "instance": {
  50. "ipAddress": "10.125.3.223",
  51. "preferIpAddress": true,
  52. //服务过期时间配置,
  53. //超过这个时间没有接收到心跳EurekaServer就会将这个实例剔除 #注意,EurekaServer一定要设置eureka.server.eviction-interval-timer-in-ms否则这个配置无效,这个配置一般为服务刷新时间配置的三倍
  54. //默认90s 在删除实例之前,EurekaServer等待的时间,默认= 90秒
  55. "leaseExpirationDurationInSeconds": 15,
  56. //服务刷新时间配置,每隔这个时间会主动心跳一次
  57. //默认30s 客户端需要发送心跳的频率,默认值= 30s
  58. "leaseRenewalIntervalInSeconds": 5,
  59. //"homePageUrl": "http://${spring.name}/api/info",
  60. "statusPageUrlPath": "/api/info",
  61. //"hostName": "192.168.5.17",
  62. "port": 28210
  63. // Remove comments to enable SSL requests
  64. // More changes in Program.cs are required if using direct C2C communications
  65. //,"securePortEnabled": true
  66. }
  67. }
  68. }