123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657 |
- spring:
- # datasource:
- # type: com.zaxxer.hikari.HikariDataSource
- # driver-class-name: com.mysql.cj.jdbc.Driver
- # url: jdbc:mysql://106.53.222.208:3306/foster?serverTimezone=GMT%2B8&characterEncoding=utf-8
- # username: foster
- # password: tKLGm42dSzaaNJPK
- datasource:
- type: com.alibaba.druid.pool.DruidDataSource
- driver-class-name: com.mysql.cj.jdbc.Driver
- url: jdbc:mysql://106.53.222.208:3306/foster?serverTimezone=GMT%2B8&characterEncoding=utf-8
- username: foster
- password: tKLGm42dSzaaNJPK
- druid:
- initial-size: 5
- min-idle: 5
- max-active: 20
- max-wait: 30000
- time-between-eviction-runs-millis: 60000
- min-evictable-idle-time-millis: 300000
- validation-query: SELECT 1 FROM DUAL
- test-while-idle: true
- test-on-borrow: false
- test-on-return: false
- pool-prepared-statements: true
- max-pool-prepared-statement-per-connection-size: 20
- redis:
- database: 1
- host: 106.53.222.208
- lettuce:
- pool:
- max-active: 20
- max-wait: -1
- password: flyer_foster
- mybatis-plus:
- configuration:
- log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
- sa-token:
- # token 名称(同时也是 cookie 名称)
- token-name: token
- # token 有效期(单位:秒) 默认30天,-1 代表永久有效
- timeout: 2592000
- # token 最低活跃频率(单位:秒),如果 token 超过此时间没有访问系统就会被冻结,默认-1 代表不限制,永不冻结
- active-timeout: -1
- # 是否允许同一账号多地同时登录 (为 true 时允许一起登录, 为 false 时新登录挤掉旧登录)
- is-concurrent: true
- # 在多人登录同一账号时,是否共用一个 token (为 true 时所有登录共用一个 token, 为 false 时每次登录新建一个 token)
- is-share: true
- # token 风格(默认可取值:uuid、simple-uuid、random-32、random-64、random-128、tik)
- token-style: uuid
- # 是否输出操作日志
- is-log: true
- use-local-private-key: true
- rsa-private-key: MIICdgIBADANBgkqhkiG9w0BAQEFAASCAmAwggJcAgEAAoGBAIbvJIya52tj9POUUqqBPXQLuRXlkD+6afWC6ZX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