|
|
@@ -10,18 +10,19 @@ spring:
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
# Redis 配置
|
|
|
- redis:
|
|
|
- host: server.kuaiyuman.cn
|
|
|
- port: 6379
|
|
|
- password: KtXA^Zx!TZmLEy(@JjB@2(TVG0kdy5)&
|
|
|
- database: 8
|
|
|
- timeout: 10000
|
|
|
- lettuce:
|
|
|
- pool:
|
|
|
- max-active: 8
|
|
|
- max-wait: -1
|
|
|
- max-idle: 8
|
|
|
- min-idle: 0
|
|
|
+ data:
|
|
|
+ redis:
|
|
|
+ host: server.kuaiyuman.cn
|
|
|
+ port: 6379
|
|
|
+ password: KtXA^Zx!TZmLEy(@JjB@2(TVG0kdy5)&
|
|
|
+ database: 8
|
|
|
+ timeout: 10000
|
|
|
+ lettuce:
|
|
|
+ pool:
|
|
|
+ max-active: 8
|
|
|
+ max-wait: -1
|
|
|
+ max-idle: 8
|
|
|
+ min-idle: 0
|
|
|
|
|
|
# 数据库初始化
|
|
|
sql:
|
|
|
@@ -78,12 +79,12 @@ haha:
|
|
|
api:
|
|
|
app-id: 2601051549145878
|
|
|
app-secret: 06e1be59332b00de0baad82002cdbcb5
|
|
|
- base-url: https://api.hahalingshou.com/v1
|
|
|
+ base-url: http://api.hahabianli.com/
|
|
|
|
|
|
# Sa-Token 配置
|
|
|
sa-token:
|
|
|
# token 名称(同时也是 cookie 名称)
|
|
|
- token-name: haha-token-KuaiyuMan
|
|
|
+ token-name: access_token
|
|
|
# token 有效期(单位:秒)- 7天
|
|
|
timeout: 604800
|
|
|
# token 临时有效期(单位:秒)
|