application.properties 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129
  1. #Server
  2. app.name=sookaCms
  3. server.port = 80
  4. #spring session
  5. spring.session.store-type=hash_map
  6. #spring aop
  7. spring.aop.auto=true
  8. spring.aop.proxy-target-class=true
  9. #ehcache
  10. spring.cache.type=ehcache
  11. spring.cache.ehcache.config=classpath:ehcache.xml
  12. #devtools
  13. spring.devtools.restart.enabled=true
  14. #datasource
  15. spring.datasource.driver-class-name=com.mysql.jdbc.Driver
  16. spring.datasource.url=jdbc:mysql://192.168.1.7:3306/bcrc?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false
  17. spring.datasource.username=root
  18. spring.datasource.password=123456
  19. #spring.datasource.url=jdbc:mysql://121.37.83.100:53306/bcrc?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=true
  20. #spring.datasource.username=bcrc
  21. #spring.datasource.password=bcrc123456
  22. #spring.datasource.url=jdbc:mysql://127.0.0.1:3306/bcrc?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&useSSL=false
  23. #spring.datasource.username=root
  24. #spring.datasource.password=root
  25. #druid
  26. spring.datasource.druid.initial-size= 1
  27. spring.datasource.druid.max-active=20
  28. spring.datasource.druid.max-wait= 60000
  29. spring.datasource.druid.min-idle= 1
  30. spring.datasource.druid.time-between-eviction-runs-millis= 60000
  31. spring.datasource.druid.min-evictable-idle-time-millis=300000
  32. spring.datasource.druid.validation-query=select 'x'
  33. spring.datasource.druid.test-while-idle= true
  34. spring.datasource.druid.test-on-borrow= false
  35. spring.datasource.druid.test-on-return= false
  36. spring.datasource.druid.pool-prepared-statements= true
  37. spring.datasource.druid.max-open-prepared-statements=20
  38. spring.datasource.druid.filters= stat,wall,log4j
  39. spring.datasource.druid.filter.stat.enabled=true
  40. spring.datasource.druid.filter.stat.slow-sql-millis=10000
  41. spring.datasource.druid.filter.stat.log-slow-sql=true
  42. spring.datasource.druid.filter.config.enabled=true
  43. spring.datasource.druid.filter.encoding.enabled=true
  44. spring.datasource.druid.filter.wall.enabled=true
  45. spring.datasource.druid.stat-view-servlet.enabled=true
  46. spring.datasource.druid.stat-view-servlet.url-pattern=/system/druid/*
  47. spring.datasource.druid.aop-patterns=com.sooka.module.web.cms.service.*,com.sooka.module.web.system.service.*
  48. #Kcaptcha验证码
  49. kcaptcha.img.width = 130
  50. kcaptcha.img.hight = 45
  51. kcaptcha.font.size = 30
  52. kcaptcha.font.color = black
  53. kcaptcha.char.length = 4
  54. #mail
  55. #JavaMailSender 邮件发送的配置
  56. spring.mail.host=smtp.163.com
  57. spring.mail.username=bcsrczx@163.com
  58. #QQ/126/163邮箱的授权码
  59. spring.mail.password=NZQWGAOZMXWQCPMG
  60. spring.mail.properties.mail.smtp.auth=true
  61. spring.mail.properties.mail.smtp.starttls.enable=true
  62. spring.mail.properties.mail.smtp.starttls.required=true
  63. spring.mail.default-encoding=UTF-8
  64. #email方法名称
  65. com.sooka.module.web.system.vo.EmailVo=system/reception/MethodName
  66. #system.dev.model false or true
  67. system.dev.model = true
  68. #后台登陆路径
  69. system.login.path = admin
  70. #开启用户踢出
  71. system.login.enabled-kickout = true
  72. #用户登陆最大会话
  73. system.login.max-session = 1
  74. system.http.protocol=http
  75. system.http.host=www.bccj.com.cn
  76. #system.http.host=127.0.0.1
  77. system.site.name=sookaCms
  78. system.site.prefix=syrc
  79. system.site.subfix=.html
  80. system.site.static=true
  81. #系统默认分页大小
  82. system.site.page.size=10
  83. system.member.allow.register=false
  84. #如果启用七牛云存储,此处设置将无效
  85. enable.virtual.path=true
  86. #file upload path windows
  87. windows.file.upload.path=D:/upload_file_root
  88. #file upload path linux
  89. linux.file.upload.path=/home/bcrc/data/upload_file_root/cms
  90. #七牛云存储
  91. qiniu.upload.on = false
  92. qiniu.access.key =
  93. qiniu.secret.key =
  94. qiniu.bucketname =
  95. qiniu.cdn.domain =
  96. #QQ
  97. oauthQQ.openid =
  98. oauthQQ.openkey =
  99. oauthQQ.redirect =
  100. #weibo
  101. oauthSina.openid =
  102. oauthSina.openkey =
  103. oauthSina.redirect =