日志服务注入类型调整成单例
This commit is contained in:
parent
63f3c8bcc7
commit
09daad6ae6
|
|
@ -9,7 +9,7 @@ using System.Text;
|
||||||
|
|
||||||
namespace LY.App.Service
|
namespace LY.App.Service
|
||||||
{
|
{
|
||||||
[ServiceInjection(InjectionType.Transient)]
|
[ServiceInjection(InjectionType.Singleton)]
|
||||||
public class LogService
|
public class LogService
|
||||||
{
|
{
|
||||||
private readonly SqlSugarClient _db;
|
private readonly SqlSugarClient _db;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue