| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- server:
- shutdown: graceful
- port: 8083
- servlet:
- context-path: /api
- #mybatis配置
- mybatis-plus:
- mapper-locations: classpath*:com/gitee/sunchenbin/mybatis/actable/mapping/*/*.xml,classpath*:mapper/*/*.xml
- configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- global-config:
- db-config:
- logic-delete-value: 1
- logic-delete-field: deleted
- spring:
- cache:
- type: redis
- redis:
- # 7天
- time-to-live: 604800000
- profiles:
- include: doc,sys,stream
- active: dev
- jackson:
- date-format: yyyy-MM-dd HH:mm:ss
- time-zone: GMT-8
- tr:
- oauth2:
- psw:
- client-id: 1234
- client-secret: 7896
- satoken:
- enable: true
- ignore-urls:
- - /actuator/**
- - /druid/**
- - /*.html
- - /**/*.html
- - /swagger-resources/**
- - /swagger-ui/**
- - /v2/api-docs/*
- - /v2/api-docs
- - /webjars/**
- - /oauth2/psw/**
- tenant:
- ignore-tables:
- - gen_config
- - gen_basic
- - sys_menu
- - sys_role_menu
- - sys_dict
- - sys_dict_item
- # 租户模块
- - sys_tenant
- - sys_tenant_package
- - sys_tenant_package_menu
- - sys_user_role
- - sys_portal_menu
- - sys_user_portal
- # 短信模块
- - sys_sms_temp
- - sys_sms_channel
- - sys_sms_log
- # 编号策略
- - sys_numbering_strategy
- sa-token:
- is-read-header: true
- # token名称 (同时也是cookie名称)
- token-name: Authorization
- # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录)
- is-concurrent: true
- # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token)
- is-share: true
- # 是否打开续签
- auto-renew: true
- # 是否输出操作日志
- is-log: false
- # 同一账号登录数量不做限制
- max-login-count: -1
- oauth2:
- is-password: true
- # 30天
- access-token-timeout: ${sa-token.timeout}
- # 1天
- refresh-token-timeout: 2592000
- timeout: 86400
|