application.yml 658 字节
Newer Older
1 2 3 4
server:
  port: 8000

spring:
5 6
  freemarker:
    check-template-location: false
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
  profiles:
    active: dev
  jackson:
    time-zone: GMT+8
  data:
    redis:
      repositories:
        enabled: false

  #配置 Jpa
  jpa:
    properties:
      hibernate:
        dialect: org.hibernate.dialect.MySQL5InnoDBDialect
    open-in-view: true

  redis:
    #数据库索引
    database: 0
    host: 127.0.0.1
    port: 6379
    password:
    #连接超时时间
    timeout: 5000

#七牛云
qiniu:
  # 文件大小 /M
35
  max-size: 15
36

37
#邮箱验证码有效时间/分钟
38
code:
39 40 41 42 43
  expiration: 5

#登录图形验证码有效时间/分钟
loginCode:
  expiration: 2