application.properties 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. ######################### server ###################
  2. server.servlet.context-path=/smart-admin-api
  3. server.port=10001
  4. spring.profiles.active=dev
  5. ######################### 微信相关 ###################
  6. wechat.cp.corpId=ww11059576ea43b07c
  7. wechat.cp.appConfigs[0].agentId=1000002
  8. wechat.cp.appConfigs[0].secret=jIhtTOuT5C3KRZZYPJKRt2HnK9EbUTrW4qjTgFDwzxk
  9. wechat.cp.appConfigs[0].token=IqIaiHNvU1wdH
  10. wechat.cp.appConfigs[0].aesKey=Vv89gz2mxGfk2bowjngq0UG0kq2jW6GjUdSK03DaN6k
  11. ######################### tomcat ###################
  12. server.tomcat.basedir=logs/smart-admin/tomcat-logs
  13. server.tomcat.accesslog.enabled=true
  14. server.tomcat.accesslog.pattern=%t %{X-Forwarded-For}i %a "%r" %s %D (%D ms)
  15. ######################### generator 前端代码生成目录##################
  16. generator.webPath = D:/green/lvye-admin-web
  17. ######################### jackson #########################
  18. spring.jackson.serialization.write-enums-using-to-string=true
  19. spring.jackson.deserialization.read-enums-using-to-string=true
  20. spring.jackson.deserialization.fail-on-unknown-properties=false
  21. spring.jackson.default-property-inclusion=always
  22. spring.jackson.date-format=yyyy-MM-dd HH:mm:ss
  23. spring.jackson.time-zone=GMT+8
  24. spring.jackson.serialization.write-dates-as-timestamps=false
  25. ######################### http file #########################
  26. spring.servlet.multipart.max-file-size=30MB
  27. spring.servlet.multipart.max-request-size=30MB
  28. file-upload-service.path=D:/home/upload/
  29. #spring.devtools.restart.enabled=true
  30. ######################### database #########################
  31. spring.datasource.dynamic.primary=master
  32. spring.datasource.dynamic.datasource.master.url=jdbc:p6spy:mysql://rm-m5epnfxx5x78yc15kdo.mysql.rds.aliyuncs.com:3306/ll?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&&serverTimezone=Asia/Shanghai
  33. spring.datasource.dynamic.datasource.master.db-name=ll
  34. spring.datasource.dynamic.datasource.master.username=zjsd
  35. spring.datasource.dynamic.datasource.master.password=zjsd_2018
  36. spring.datasource.dynamic.datasource.master.driver-class-name=com.p6spy.engine.spy.P6SpyDriver
  37. spring.datasource.dynamic.datasource.db3.url=jdbc:p6spy:mysql://rm-m5epnfxx5x78yc15kdo.mysql.rds.aliyuncs.com:3306/ll_bak?autoReconnect=true&useServerPreparedStmts=false&rewriteBatchedStatements=true&characterEncoding=UTF-8&useSSL=false&allowMultiQueries=true&&serverTimezone=Asia/Shanghai
  38. spring.datasource.dynamic.datasource.db3.db-name=ll_bak
  39. spring.datasource.dynamic.datasource.db3.username=zjsd
  40. spring.datasource.dynamic.datasource.db3.password=zjsd_2018
  41. spring.datasource.dynamic.datasource.db3.driver-class-name=com.p6spy.engine.spy.P6SpyDriver
  42. spring.datasource.dynamic.datasource.db2.url=jdbc:p6spy:sqlserver://123.56.247.193:1433;DataBaseName=UFDATA_997_2017
  43. spring.datasource.dynamic.datasource.db2.db-name=UFDATA_997_2017
  44. spring.datasource.dynamic.datasource.db2.username=sa
  45. spring.datasource.dynamic.datasource.db2.password=*gs$GhqIwho046oq
  46. spring.datasource.dynamic.datasource.db2.driver-class-name=com.p6spy.engine.spy.P6SpyDriver
  47. spring.autoconfigure.exclude=com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure
  48. spring.datasource.initial-size=2
  49. spring.datasource.min-idle=1
  50. spring.datasource.max-active=10
  51. spring.datasource.max-wait=60000
  52. spring.datasource.time-between-eviction-runs-millis=60000
  53. spring.datasource.min-evictable-idle-time-millis=300000
  54. #配置,druid的wallFilter不识别p6spy,去除wall
  55. spring.datasource.dynamic.druid.filters=stat
  56. spring.datasource.druid.username=druid
  57. spring.datasource.druid.password=123456
  58. spring.datasource.druid.login.enabled=false
  59. ######################### redis #######################################
  60. spring.redis.database=1
  61. spring.redis.host=127.0.0.1
  62. spring.redis.port=7771
  63. spring.redis.timeout=10000ms
  64. spring.redis.password=haining_2020
  65. spring.redis.lettuce.pool.max-active=100
  66. spring.redis.lettuce.pool.min-idle=5
  67. spring.redis.lettuce.pool.max-idle=10
  68. spring.redis.lettuce.pool.max-wait=30000ms
  69. ########################## rest http pool #########################
  70. #\u6700\u5927\u8FDE\u63A5\u6570
  71. http.pool.max-total=10
  72. #\u5355\u8DEF\u7531\u6700\u5927\u8FDE\u63A5\u6570zhijian
  73. http.pool.default-max-per-route=5
  74. #\u670D\u52A1\u5668\u8FD4\u56DE\u6570\u636E(response)\u7684\u65F6\u95F4
  75. http.pool.socket-timeout=8000
  76. #\u8FDE\u63A5\u4E0A\u670D\u52A1\u5668(\u63E1\u624B\u6210\u529F)\u7684\u65F6\u95F4
  77. http.pool.connect-timeout=8000
  78. #\u4ECE\u8FDE\u63A5\u6C60\u4E2D\u83B7\u53D6\u8FDE\u63A5\u7684\u8D85\u65F6\u65F6\u95F4
  79. http.pool.connection-request-timeout=8000
  80. ######################### mybatis\u914D\u7F6E #########################
  81. mybatis.configuration.log-impl=org.apache.ibatis.logging.stdout.StdOutImpl
  82. # mybatis-plus \u5B57\u6BB5\u9A7C\u5CF0\u81EA\u52A8\u8F6C\u6362
  83. mybatis-plus.configuration.map-underscore-to-camel-case=true
  84. mybatis-plus.mapper-locations=classpath:/mapper/**/*.xml
  85. mybatis-plus.typeAliasesPackage=net.lab1024.smartadmin.*.*.domain.entity
  86. mybatis-plus.global-config.refresh-mapper=true
  87. mybatis-plus.global-config.db-column-underline=true
  88. ######################### swagger #########################
  89. swagger.apiGroupName=smartAdmin
  90. swagger.title=smartAdmin
  91. swagger.description=smartAdmin
  92. swagger.version=1.0
  93. swagger.serviceUrl=http://localhost:10086/smart-admin-api
  94. swagger.packAge=net.lab1024.smartadmin.module
  95. ######################### jwt #########################
  96. jwt.key=smart-admin-jwt-key
  97. ########################## smart reload #########################
  98. smart-reload.thread-count=1
  99. smart-reload.time-interval=300
  100. ######################### cros #########################
  101. access-control-allow-origin=*
  102. ######################### heart beat #########################
  103. heart-beat.delayHandlerTime=60000
  104. heart-beat.intervalTime=300000
  105. ######################### quartz #############################
  106. #\u8C03\u5EA6\u6807\u8BC6\u540D \u96C6\u7FA4\u4E2D\u6BCF\u4E00\u4E2A\u5B9E\u4F8B\u90FD\u5FC5\u987B\u4F7F\u7528\u76F8\u540C\u7684\u540D\u79F0
  107. spring.quartz.properties.org.quartz.scheduler.instanceName=devClusteredScheduler
  108. spring.quartz.properties.org.quartz.scheduler.instanceId=AUTO
  109. #\u8FDC\u7A0B\u7BA1\u7406\u76F8\u5173\u7684\u914D\u7F6E,\u5168\u90E8\u5173\u95ED
  110. spring.quartz.properties.org.quartz.scheduler.rmi.export=false
  111. spring.quartz.properties.org.quartz.scheduler.rmi.proxy=false
  112. #\u8DF3\u8FC7quartz\u7248\u672C\u68C0\u67E5
  113. spring.quartz.properties.org.quartz.scheduler.skipUpdateCheck=true
  114. #\u6570\u636E\u4FDD\u5B58\u65B9\u5F0F\u4E3A\u6301\u4E45\u5316
  115. spring.quartz.properties.org.quartz.jobStore.class=org.quartz.impl.jdbcjobstore.JobStoreTX
  116. spring.quartz.properties.org.quartz.jobStore.driverDelegateClass=org.quartz.impl.jdbcjobstore.StdJDBCDelegate
  117. spring.quartz.properties.org.quartz.jobStore.tablePrefix=QRTZ_
  118. spring.quartz.properties.org.quartz.jobStore.isClustered=true
  119. #\u8C03\u5EA6\u5B9E\u4F8B\u5931\u6548\u7684\u68C0\u67E5\u65F6\u95F4\u95F4\u9694, \u5F00\u53D1\u73AF\u5883\u6539\u4E3A\u4E8660\u79D2
  120. spring.quartz.properties.org.quartz.jobStore.clusterCheckinInterval=60000
  121. spring.quartz.properties.org.quartz.jobStore.useProperties=false
  122. #\u8C03\u5EA6\u7EBF\u7A0B
  123. spring.quartz.properties.org.quartz.threadPool.class=org.quartz.simpl.SimpleThreadPool
  124. spring.quartz.properties.org.quartz.threadPool.threadCount=2
  125. spring.quartz.properties.org.quartz.threadPool.threadPriority=5
  126. spring.quartz.properties.org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread=true
  127. spring.quartz.properties.org.quartz.threadPool.threadNamePrefix=quartz
  128. spring.quartz.job-store-type=jdbc
  129. #ALWAYS,EMBEDDED,NEVER
  130. spring.quartz.jdbc.initialize-schema=NEVER
  131. spring.quartz.jdbc.schema=classpath:sql/quartz_mysql_2.3.0.sql
  132. #\u81EA\u52A8\u626B\u63CF\u4EFB\u52A1\u5355\u5E76\u53D1\u73B0\u6539\u52A8\u7684\u65F6\u95F4\u95F4\u9694,\u5355\u4F4D\u4E3A\u79D2
  133. org.quartz.plugin.jobInitializer.scanInterval = 300