tr: satoken: enable: true ignoreUrls: /test/** server: shutdown: graceful port: 8083 #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 spring: datasource: type: com.alibaba.druid.pool.DruidDataSource driverClassName: com.mysql.cj.jdbc.Driver url: jdbc:mysql://192.168.100.32:3306/tdms?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&serverTimezone=GMT%2B8&autoReconnect=true username: root password: 123456 redis: # 地址 host: 192.168.100.32 # 端口,默认为6379 port: 9736 # 数据库索引 database: 8 # 密码 password: 6E6985E1F7CB40F24A\. # 连接超时时间 timeout: 30s lettuce: pool: # 连接池中的最小空闲连接 min-idle: 16 # 连接池中的最大空闲连接 max-idle: 16 # 连接池的最大数据库连接数 max-active: 16 # #连接池最大阻塞等待时间(使用负值表示没有限制) max-wait: -1ms cache: type: caffeine profiles: include: doc sa-token: is-read-header: true # token名称 (同时也是cookie名称) token-name: Authorization # token临时有效期 (指定时间内无操作就视为token过期) 单位: 秒 一天 activity-timeout: 86400 # token有效期,单位s 默认30天, -1代表永不过期 timeout: -1 # 是否允许同一账号并发登录 (为true时允许一起登录, 为false时新登录挤掉旧登录) is-concurrent: true # 在多人登录同一账号时,是否共用一个token (为true时所有登录共用一个token, 为false时每次登录新建一个token) is-share: true # 是否打开续签 auto-renew: true # 是否输出操作日志 is-log: false # 同一账号登录数量不做限制 max-login-count: -1