#JavaMailSender 邮箱的发送
spring:
  freemarker:
    allow-request-override:
        false
    cache:
        true
    check-template-location:
        true
    charset:
        UTF-8
    content-type:
        text/html
    expose-request-attributes:
        false
    expose-session-attributes:
        false
    expose-spring-macro-helpers:
        false
    suffix:
        .ftl
    template-loader-path:
       file:/usr/local/project/resources/templates/ #comma-separated list
  resources:
    static-locations: file:/usr/local/project/resources/static
  mail:
    host: smtp.qq.com
    username: xxxxxx@qq.com
    password: 
    port: 587
    properties:
      mail:
        smtp:
          auth: true
          starttls:
            enable: true
            required: true
  datasource:
    name: test
    url: jdbc:mysql://localhost:3306?useUnicode=true&characterEncoding=UTF-8&zeroDateTimeBehavior=convertToNull&allowMultiQueries=true
    username: root
    password: 
    # 使用druid数据源
    type: com.alibaba.druid.pool.DruidDataSource
    driver-class-name: com.mysql.jdbc.Driver
    filters: stat
    maxActive: 20
    initialSize: 1
    maxWait: 60000
    minIdle: 1
    timeBetweenEvictionRunsMillis: 60000
    minEvictableIdleTimeMillis: 300000
    validationQuery: select 'x'
    testWhileIdle: true
    testOnBorrow: false
    testOnReturn: false
    poolPreparedStatements: true
    maxOpenPreparedStatements: 20
mybatis:
  mapper-locations: classpath*:mybatis/mapper/*.xml
  type-aliases-package: com.pengzu.entity
  config-location: classpath:mybatis/mybatis-config.xml
file:
  root: /usr/local/file/
email:
    username: xxxxxxxxx@qq.com
