增加缓存AOP切面

This commit is contained in:
JINBO
2023-01-06 16:32:43 +08:00
parent 1ed37897d5
commit 898be6c733
11 changed files with 332 additions and 3 deletions

View File

@@ -35,7 +35,7 @@
"DbConn": {
"WriteUrl": "DataSource=yi-sqlsugar-dev.db",
"ReadUrl": [
"DataSource=[xxxx]",//sqlite
"DataSource=[xxxx]", //sqlite
"server=[xxxx];port=3306;database=[xxxx];user id=[xxxx];password=[xxxx]", //mysql
"Data Source=[xxxx];Initial Catalog=[xxxx];User ID=[xxxx];password=[xxxx]" //sqlserver
]
@@ -47,6 +47,12 @@
"CacheList": [ "Redis", "MemoryCache" ],
//选择缓存
"CacheSelect": "MemoryCache",
//RedisCacheAOP
"RedisCacheAOP_Enabled": false,
//MemoryCacheAOP
"MemoryCacheAOP_Enabled": false,
//缓存种子数据是否开启
"CacheSeed_Enabled": false,