feat: 添加freeredis缓存模块

This commit is contained in:
陈淳
2024-02-17 16:59:57 +08:00
parent 3f1f76b2e8
commit c72a990162
5 changed files with 80 additions and 1 deletions

View File

@@ -23,7 +23,7 @@
"EnabledSqlLog": true,
"EnabledDbSeed": true,
//SAAS多租户
"EnabledSaasMultiTenancy":false
"EnabledSaasMultiTenancy": false
//读写分离地址
//"ReadUrl": [
// "DataSource=[xxxx]", //Sqlite
@@ -32,6 +32,12 @@
//]
},
//redis使用freeesql参数在“FreeSqlOptions的ConnectionStringBuilder中”
"Redis": {
"IsEnabled": false,
"Configuration": "127.0.0.1:6379,password=123,defaultDatabase=13"
},
//鉴权
"JwtOptions": {
"Issuer": "https://ccnetcore.com",
@@ -47,6 +53,7 @@
"ExpiresMinuteTime": 172800
},
//第三方登录
"OAuth": {
//QQ