application-dev.yml 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. spring:
  2. #数据源连接--start
  3. datasource:
  4. #driverClassName: com.mysql.jdbc.Driver
  5. url: jdbc:mysql://192.168.2.100:3306/caimei?characterEncoding=UTF8&serverTimezone=Asia/Shanghai
  6. username: developer
  7. password: 05bZ/OxTB:X+yd%1
  8. type: com.zaxxer.hikari.HikariDataSource
  9. hikari:
  10. minimum-idle: 5
  11. maximum-pool-size: 15
  12. auto-commit: true
  13. idle-timeout: 30000
  14. pool-name: DatebookHikariCP
  15. max-lifetime: 1800000
  16. connection-timeout: 30000
  17. connection-test-query: SELECT 1
  18. #数据源连接--end
  19. redis:
  20. host: 119.29.0.46
  21. port: 6380
  22. password: 6#xsI%b4o@5c3RoE
  23. #Redis数据库索引(默认为0)
  24. database: 0
  25. #连接池最大连接数(使用负值表示没有限制)
  26. jedis:
  27. pool:
  28. max-active: 50
  29. #连接池最大阻塞等待时间(使用负值表示没有限制)
  30. max-wait: -1
  31. #连接池中的最大空闲连接
  32. max-idle: 20
  33. #连接池中的最小空闲连接
  34. min-idle: 2
  35. #连接超时时间(毫秒)
  36. timeout: 5000
  37. #上传文件大小
  38. servlet:
  39. multipart:
  40. max-file-size: 10MB
  41. max-request-size: 100MB
  42. #日志配置
  43. logging:
  44. level:
  45. root: info
  46. com.caimei.mapper: debug
  47. com.caimei.module.product.dao: debug
  48. # swagger文档显示配置
  49. swagger:
  50. enabled: true
  51. #自定义配置
  52. wx:
  53. AppId: wxca7172d7a20bdf7a
  54. AppSecret: d7f853a64b73d01ef93f3829852a790e
  55. crmAppId: wxea43a0f9ebce9e66
  56. crmAppSecret: 1c3cd60908e72dd280840bee9e15f7f6
  57. # 新旧www服务域名
  58. caimei:
  59. oldapi: http://localhost:8100
  60. zplmapi: http://localhost:8012
  61. #支付异步回调地址
  62. notifyUrl: https://spi-b.caimei365.com/PayOrder/paymentCallback
  63. #支付链接重定向地址
  64. redirectLink: https://spi-b.caimei365.com/PayOrder/jumpPage
  65. #图片服务器
  66. imageDomain: https://img-b.caimei365.com
  67. #DFS配置
  68. fdfs:
  69. so-timeout: 5000 #上传的超时时间
  70. connect-timeout: 2000 #连接超时时间
  71. thumb-image: #缩略图生成参数
  72. width: 150
  73. height: 150
  74. tracker-list: #TrackerList参数,支持多个
  75. - 192.168.2.100:22122