日志重写
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using JinYuan.DAL;
|
||||
using JinYuan.DAL.Enums;
|
||||
using JinYuan.DAL.Models;
|
||||
using NLog;
|
||||
using Org.BouncyCastle.Asn1;
|
||||
using SqlSugar;
|
||||
using System;
|
||||
@@ -18,6 +19,8 @@ namespace JinYuan.DAL
|
||||
|
||||
public class SQLSugarService : ISugarHepler
|
||||
{
|
||||
|
||||
|
||||
public void SetConnectionStr(string connectionStr, SqlSugar.DbType dbType= SqlSugar.DbType.SqlServer)
|
||||
{
|
||||
SQLSugarHelper.connString = connectionStr;
|
||||
@@ -856,7 +859,7 @@ namespace JinYuan.DAL
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
|
||||
LoggerHelp.WriteInfo("aaa");
|
||||
throw new Exception(ex.Message);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user