添加缩略图同步功能

This commit is contained in:
橙子
2022-10-17 01:10:31 +08:00
parent 50d43a2fc5
commit 16d25fb60d
23 changed files with 568 additions and 136 deletions

View File

@@ -18,7 +18,7 @@ namespace Yi.Framework.WebCore.MiddlewareExtend
if (Appsettings.appBool("Redis_Enabled"))
{
services.Configure<RedisConnOptions>(Appsettings.appConfiguration("RedisConnOptions"));
services.AddSingleton<CacheClientDB>();
services.AddSingleton<CacheInvoker>();
}
return services;
}

View File

@@ -20,7 +20,7 @@ namespace Yi.Framework.WebCore.MiddlewareExtend
if (Appsettings.appBool("RedisSeed_Enabled"))
{
var _cacheClientDB = app.ApplicationServices.GetService<CacheClientDB>();
var _cacheClientDB = app.ApplicationServices.GetService<CacheInvoker>();
try
{