config_prod.properties 4.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394
  1. #Driver
  2. jdbc.driverClassName=com.mysql.jdbc.Driver
  3. #本地
  4. jdbc.url=jdbc\:mysql\://localhost\:3306/aft_ow?useUnicode\=true&characterEncoding\=UTF-8&autoReconnect\=true&useSSL\=false
  5. jdbc.username=root
  6. jdbc.password=aft@2017!
  7. #测试
  8. #jdbc.url=jdbc:mysql://101.37.32.31:3306/aft20181217?useUnicode=true&characterEncoding=UTF-8&autoReconnect=true&useSSL=false
  9. #jdbc.username=root
  10. #jdbc.password=aftdev
  11. #\u68c0\u6d4b\u6570\u636e\u5e93\u94fe\u63a5\u662f\u5426\u6709\u6548\uff0c\u5fc5\u987b\u914d\u7f6e
  12. jdbc.validationQuery=SELECT 'x'
  13. #\u521d\u59cb\u8fde\u63a5\u6570
  14. jdbc.initialSize=3
  15. #\u6700\u5927\u8fde\u63a5\u6c60\u6570\u91cf
  16. jdbc.maxActive=20
  17. #\u53bb\u6389\uff0c\u914d\u7f6e\u6587\u4ef6\u5bf9\u5e94\u53bb\u6389
  18. #jdbc.maxIdle=20
  19. #\u914d\u7f6e0,\u5f53\u7ebf\u7a0b\u6c60\u6570\u91cf\u4e0d\u8db3\uff0c\u81ea\u52a8\u8865\u5145\u3002
  20. jdbc.minIdle=0
  21. #\u83b7\u53d6\u94fe\u63a5\u8d85\u65f6\u65f6\u95f4\u4e3a1\u5206\u949f\uff0c\u5355\u4f4d\u4e3a\u6beb\u79d2\u3002
  22. jdbc.maxWait=120000
  23. #\u83b7\u53d6\u94fe\u63a5\u7684\u65f6\u5019\uff0c\u4e0d\u6821\u9a8c\u662f\u5426\u53ef\u7528\uff0c\u5f00\u542f\u4f1a\u6709\u635f\u6027\u80fd\u3002
  24. jdbc.testOnBorrow=false
  25. #\u5f52\u8fd8\u94fe\u63a5\u5230\u8fde\u63a5\u6c60\u7684\u65f6\u5019\u6821\u9a8c\u94fe\u63a5\u662f\u5426\u53ef\u7528\u3002
  26. jdbc.testOnReturn=false
  27. #\u6b64\u9879\u914d\u7f6e\u4e3atrue\u5373\u53ef\uff0c\u4e0d\u5f71\u54cd\u6027\u80fd\uff0c\u5e76\u4e14\u4fdd\u8bc1\u5b89\u5168\u6027\u3002\u610f\u4e49\u4e3a\uff1a\u7533\u8bf7\u8fde\u63a5\u7684\u65f6\u5019\u68c0\u6d4b\uff0c\u5982\u679c\u7a7a\u95f2\u65f6\u95f4\u5927\u4e8etimeBetweenEvictionRunsMillis\uff0c\u6267\u884cvalidationQuery\u68c0\u6d4b\u8fde\u63a5\u662f\u5426\u6709\u6548\u3002
  28. jdbc.testWhileIdle=true
  29. #1.Destroy\u7ebf\u7a0b\u4f1a\u68c0\u6d4b\u8fde\u63a5\u7684\u95f4\u9694\u65f6\u95f4
  30. #2.testWhileIdle\u7684\u5224\u65ad\u4f9d\u636e
  31. jdbc.timeBetweenEvictionRunsMillis=60000
  32. #\u4e00\u4e2a\u94fe\u63a5\u751f\u5b58\u7684\u65f6\u95f4\uff08\u4e4b\u524d\u7684\u503c\uff1a25200000\uff0c\u8fd9\u4e2a\u65f6\u95f4\u6709\u70b9BT\uff0c\u8fd9\u4e2a\u7ed3\u679c\u4e0d\u77e5\u9053\u662f\u600e\u4e48\u6765\u7684\uff0c\u6362\u7b97\u540e\u7684\u7ed3\u679c\u662f\uff1a25200000/1000/60/60 = 7\u4e2a\u5c0f\u65f6\uff09
  33. jdbc.minEvictableIdleTimeMillis=300000
  34. #\u94fe\u63a5\u4f7f\u7528\u8d85\u8fc7\u65f6\u95f4\u9650\u5236\u662f\u5426\u56de\u6536
  35. jdbc.removeAbandoned=true
  36. #\u8d85\u8fc7\u65f6\u95f4\u9650\u5236\u65f6\u95f4\uff08\u5355\u4f4d\u79d2\uff09\uff0c\u76ee\u524d\u4e3a5\u5206\u949f\uff0c\u5982\u679c\u6709\u4e1a\u52a1\u5904\u7406\u65f6\u95f4\u8d85\u8fc75\u5206\u949f\uff0c\u53ef\u4ee5\u9002\u5f53\u8c03\u6574\u3002
  37. jdbc.removeAbandonedTimeout=300
  38. #\u94fe\u63a5\u56de\u6536\u7684\u65f6\u5019\u63a7\u5236\u53f0\u6253\u5370\u4fe1\u606f\uff0c\u6d4b\u8bd5\u73af\u5883\u53ef\u4ee5\u52a0\u4e0atrue\uff0c\u7ebf\u4e0a\u73af\u5883false\u3002\u4f1a\u5f71\u54cd\u6027\u80fd\u3002
  39. jdbc.logAbandoned=true
  40. #\u7edf\u8ba1\u76d1\u63a7
  41. jdbc.filters=stat
  42. logging.level.com.kede=DEBUG
  43. jedis.host=localhost
  44. jedis.port=6379
  45. jedis.timeout=5000
  46. jedis.password=aft@2017!redis$
  47. jedis.dbIndex=1
  48. pwd.hash_algorithm_name=md5
  49. pwd.hash_iterations=2
  50. session.timeout=12000000
  51. session.validate.timespan=18000000
  52. app.name=AFT
  53. template.cacheable=false
  54. #连接开ï¿
  55. portal.host=//kedejs.jishutao.com/portal/1.0.09
  56. static.host=//kedejs.jishutao.com/client/1.0.1
  57. avatar.host=//kedejs.jishutao.com
  58. avatar.upload.host=//kedejs.jishutao.com/upload
  59. #连生产
  60. #avatar.host=//static.kedexinxi.com
  61. #static.host=//s.kedexinxi.com/1.1.06
  62. upload.path=/data/kede/public/upload
  63. upload.private.path=/data/kede/private/upload
  64. accessKey=LTAIqTgQLLwz252Z
  65. accessSecret=ICGuiUnqzaar7urw4zecVcJrJ1MHg9
  66. aesSecretKey=aft1234567890123
  67. mobileCodeTemplate=SMS_37845022
  68. mobileRemindCodeTemplate=SMS_137421952
  69. patentTemplate=SMS_72005286
  70. easemob.client.url=https://a1.easemob.com/1117170814115609/jitao
  71. easemob.client.id=YXA6RUDGkIDSEeemq9_4PWzcNA
  72. easemob.client.secret=YXA61NHE0renI5N8gEgizoI5ivM9SYE
  73. jiguang.appKey=dbcea43366e038073452a04e
  74. jiguang.masterSecret=59792298288e4f635c737def
  75. jiguang.pushUrl=https://api.jpush.cn/v3/push