mirror of
https://gitee.com/ccnetcore/Yi
synced 2026-04-22 09:26:36 +08:00
修复问题
This commit is contained in:
@@ -84,7 +84,7 @@ namespace Yi.Framework.ApiMicroservice
|
||||
#endregion
|
||||
|
||||
// This method gets called by the runtime. Use this method to configure the HTTP request pipeline.
|
||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env,IDbContextFactory _DbFactory)
|
||||
public void Configure(IApplicationBuilder app, IWebHostEnvironment env,IDbContextFactory _DbFactory, CacheClientDB _cacheClientDB)
|
||||
{
|
||||
//if (env.IsDevelopment())
|
||||
{
|
||||
@@ -142,7 +142,11 @@ namespace Yi.Framework.ApiMicroservice
|
||||
//数据库种子注入
|
||||
#endregion
|
||||
app.UseDbSeedInitService(_DbFactory);
|
||||
//app.UseRedisInitService(_cacheClientDB);
|
||||
|
||||
#region
|
||||
//redis种子注入
|
||||
#endregion
|
||||
app.UseRedisSeedInitService(_cacheClientDB);
|
||||
#region
|
||||
//Endpoints注入
|
||||
#endregion
|
||||
|
||||
Reference in New Issue
Block a user