feat: 添加认证、日志、响应等基础中间件与服务
This commit is contained in:
1 parent
16a9f64109
commit
329a22f0b1
30 files changed
+1835
-12
No files matched your search
+7
-1
@@ -28,4 +28,10 @@ jwt:
|
||||
access_secret: "django-insecure-pfgn+96(rq74los_7d#n8#b07+$23vnxy*#y^y=eu9&_1eqk$7"
|
||||
refresh_secret: "3676f2d0e99f294aab75997e16340370"
|
||||
access_expire: 2 # 小时
|
||||
refresh_expire: 168 # 小时(7天)
|
||||
refresh_expire: 168 # 小时(7天)
|
||||
|
||||
# Redis 缓存配置
|
||||
redis:
|
||||
addr: "127.0.0.1:6379" # Redis 连接地址
|
||||
password: "wangchan5" # Redis 密码 (没有则为空)
|
||||
db: 0 # 数据库编号
|
||||
Reference in new issue
Block a user