mirror of
https://github.com/oshima-studios/OshimaGameModule.git
synced 2026-01-19 14:08:23 +00:00
2
This commit is contained in:
parent
bb8977eea7
commit
1693a48f8c
@ -1,6 +1,5 @@
|
||||
using System.Text;
|
||||
using System.Text.RegularExpressions;
|
||||
using System.Xml.Linq;
|
||||
using Microsoft.AspNetCore.Authorization;
|
||||
using Microsoft.AspNetCore.Mvc;
|
||||
using Microsoft.Extensions.Logging;
|
||||
|
||||
@ -237,7 +237,7 @@ namespace Oshima.FunGame.WebAPI
|
||||
if (objs.Length > 0 && objs[0] is WebApplication app)
|
||||
{
|
||||
_serviceScopeFactory = app.Services.GetRequiredService<IServiceScopeFactory>();
|
||||
Controller.WriteLine("获取到:IServiceScopeFactory");
|
||||
if (_serviceScopeFactory != null) Controller.WriteLine("获取到:IServiceScopeFactory");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user