| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354 |
- spring:
- application:
- name: coffee-service
- profiles:
- active: @profiles.active@
- server:
- port: 9090
- servlet:
- context-path: /api
- undertow:
- accesslog:
- enabled: true
- max-http-post-size: -1
- buffer-size: 512
- direct-buffers: true
- threads:
- io: 16
- worker: 256
- # Sa-Token配置
- sa-token:
- # token名称 (同时也是cookie名称)
- token-name: Authorization
- # token有效期,单位s 默认30天, -1代表永不过期
- timeout: 2592000
- # token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒
- activity-timeout: -1
- # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
- is-concurrent: true
- # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
- is-share: false
- # token风格
- token-style: simple-uuid
- # 是否输出操作日志
- is-log: true
- # 是否从cookie读取token
- is-read-cookie: false
- logging:
- level:
- com.coffee: @logging.level@
- org.springframework: warn
- config: classpath:logback.xml
- mybatis-plus:
- mapperPackage: com.coffee.**.mapper,com.coffee.framework.test.mapper
- mapperLocations: classpath*:mapper/**/*Mapper.xml
- checkConfigLocation: false
- global-config:
- banner: false
- enableSqlRunner: false
- dbConfig:
- idType: ASSIGN_ID
|