| | |
| | | type: redis |
| | | # Redis |
| | | redis: |
| | | host: 127.0.0.1 |
| | | host: 42.193.1.25 |
| | | port: 6379 |
| | | # password: lilishop |
| | | password: ycl2018 |
| | | database: 12 |
| | | lettuce: |
| | | pool: |
| | | # 连接池最大连接数(使用负值表示没有限制) 默认 8 |
| | |
| | | default-datasource: |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://127.0.0.1:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai |
| | | url: jdbc:mysql://42.193.1.25:3306/lilishop?useUnicode=true&characterEncoding=utf-8&useSSL=false&rewriteBatchedStatements=true&allowPublicKeyRetrieval=true&serverTimezone=Asia/Shanghai |
| | | username: root |
| | | password: 123456 |
| | | password: 321$YcYl@1970! |
| | | maxActive: 50 |
| | | initialSize: 20 |
| | | maxWait: 60000 |
| | |
| | | #图形验证码有效时间 秒 包含滑块验证码有效时间, 以及验证通过之后,缓存中存储的验证结果有效时间 |
| | | effectiveTime: 300 |
| | | #水印 |
| | | watermark: LILI-SHOP |
| | | watermark: 绿满筐 |
| | | #干扰项数量 最大2 默认0 |
| | | interfereNum: 1 |
| | | #允许误差像素 |
| | |
| | | # jwt 细节设定 |
| | | jwt-setting: |
| | | # token过期时间(分钟) |
| | | tokenExpireTime: 30 |
| | | tokenExpireTime: 360 |
| | | |
| | | # 使用Spring @Cacheable注解失效时间 |
| | | cache: |