application-dev.properties 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. server.port=21008
  2. spring.application.name=traced-web
  3. spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
  4. spring.jackson.time-zone=GMT+8
  5. ## upload files setting
  6. spring.http.multipart.maxFileSize=10Mb
  7. spring.http.multipart.maxRequestSize=10Mb
  8. img.location=G:/mt/upload/
  9. spring.mvc.static-path-pattern=/**
  10. spring.resources.static-locations=classpath:/META-INF/resources/,classpath:/resources/,classpath:/static/,file:${img.location}
  11. #zuul timeout setting
  12. zuul.host.connect-timeout-millis=10000
  13. zuul.host.socket-timeout-millis=10000
  14. #hystix timeout setting
  15. feign.hystrix.enabled=true
  16. #feign调用默认是1000毫秒=1秒 应该设置成更长时间1000 * 60 * 5 = 5分钟 add by six-vision
  17. hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=300000
  18. hystrix.command.default.circuitBreaker.sleepWindowInMilliseconds=300000
  19. hystrix.command.default.circuitBreaker.forceClosed=true
  20. #hystrix.command.default.execution.timeout.enabled=false
  21. #请求处理的超时时间 add by six-vision
  22. ribbon.ReadTimeout=300000
  23. ribbon.SocketTimeout=300000
  24. #请求连接的超时时间 add by six-vision
  25. ribbon.ConnectTimeout=30000
  26. # eureka setting
  27. eureka.instance.hostname=localhost
  28. eureka.client.service-url.defaultZone=http://127.0.0.1:8761/eureka/
  29. ###redis配置#########
  30. spring.redis.database=0
  31. spring.redis.host=127.0.0.1
  32. spring.redis.port=6379
  33. spring.redis.pool.max-idle=8
  34. spring.redis.pool.min-idle=0
  35. spring.redis.pool.max-active=10
  36. spring.redis.pool.max-wait=-1
  37. spring.redis.timeout=5000
  38. #wechat setting
  39. #(一个公众号的appid)
  40. #wx.mp.appId=wx04d471b59982c6ad
  41. wx.mp.appId=wx98b14fca082bc468
  42. #(公众号的appsecret)
  43. #wx.mp.secret=bd9279851f63af0c67e8bc1ef7e27257
  44. wx.mp.secret=a06d52b0416ff98ab57eba53ebd44c72
  45. #(接口配置里的Token值)
  46. wx.mp.token=123
  47. #(接口配置里的EncodingAESKey值)
  48. wx.mp.aesKey=123
  49. #(获取code的认证回调接口)
  50. #wx.auth.redirecturl=http://th.jscssui.cn/wxlogin/wap/wechat/doLogin
  51. #wx.auth.redirecturl=http://wx.h.gyhywa.com/mtsy/wap/wechat/doLogin
  52. wx.auth.redirecturl=http://wx.z.gyhywa.com/mtsy/wap/wechat/doLogin
  53. #(认证成功后的跳转地址)
  54. wx.auth.forwardurl=http://www.hywa.com/index.html?userId=
  55. #export excel file
  56. #export.file.excel.path=C:/nginx-1.15.2/html/excelMode/
  57. export.file.excel.path=G:/mt/excelMode/
  58. #wlw.address=http://172.16.90.10:81
  59. wlw.address=http://47.111.224.169:8085