😎升级依赖
This commit is contained in:
parent
184022c58c
commit
ed1ce74b2c
@ -28,9 +28,9 @@
|
|||||||
<PackageReference Include="AspNetCoreRateLimit" Version="5.0.0" />
|
<PackageReference Include="AspNetCoreRateLimit" Version="5.0.0" />
|
||||||
<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.1" Aliases="BouncyCastleV2" />
|
<PackageReference Include="BouncyCastle.Cryptography" Version="2.6.1" Aliases="BouncyCastleV2" />
|
||||||
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="9.0.4" />
|
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="9.0.4" />
|
||||||
<PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.7.74" />
|
<PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.7.75" />
|
||||||
<PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.7.74" />
|
<PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.7.75" />
|
||||||
<PackageReference Include="Furion.Pure" Version="4.9.7.74" />
|
<PackageReference Include="Furion.Pure" Version="4.9.7.75" />
|
||||||
<PackageReference Include="Hardware.Info" Version="101.0.1" />
|
<PackageReference Include="Hardware.Info" Version="101.0.1" />
|
||||||
<PackageReference Include="Hashids.net" Version="1.7.0" />
|
<PackageReference Include="Hashids.net" Version="1.7.0" />
|
||||||
<PackageReference Include="IPTools.China" Version="1.6.0" />
|
<PackageReference Include="IPTools.China" Version="1.6.0" />
|
||||||
|
|||||||
@ -153,7 +153,6 @@ public static class SqlSugarSetup
|
|||||||
if (ex.Parametres == null) return;
|
if (ex.Parametres == null) return;
|
||||||
var log = $"【{DateTime.Now}——错误SQL】\r\n{UtilMethods.GetNativeSql(ex.Sql, (SugarParameter[])ex.Parametres)}\r\n";
|
var log = $"【{DateTime.Now}——错误SQL】\r\n{UtilMethods.GetNativeSql(ex.Sql, (SugarParameter[])ex.Parametres)}\r\n";
|
||||||
Log.Error(log, ex);
|
Log.Error(log, ex);
|
||||||
App.PrintToMiniProfiler("SqlSugar", "Error", log);
|
|
||||||
};
|
};
|
||||||
if (enableConsoleSql)
|
if (enableConsoleSql)
|
||||||
{
|
{
|
||||||
@ -177,7 +176,6 @@ public static class SqlSugarSetup
|
|||||||
Console.ForegroundColor = ConsoleColor.Red;
|
Console.ForegroundColor = ConsoleColor.Red;
|
||||||
Console.WriteLine(log);
|
Console.WriteLine(log);
|
||||||
Console.ForegroundColor = originColor;
|
Console.ForegroundColor = originColor;
|
||||||
App.PrintToMiniProfiler("SqlSugar", "Info", log);
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
dbProvider.Aop.OnLogExecuted = (sql, pars) =>
|
dbProvider.Aop.OnLogExecuted = (sql, pars) =>
|
||||||
@ -198,7 +196,6 @@ public static class SqlSugarSetup
|
|||||||
var firstMethodName = dbProvider.Ado.SqlStackTrace.FirstMethodName; // 方法名
|
var firstMethodName = dbProvider.Ado.SqlStackTrace.FirstMethodName; // 方法名
|
||||||
var log = $"【{DateTime.Now}——超时SQL】\r\n【所在文件名】:{fileName}\r\n【代码行数】:{fileLine}\r\n【方法名】:{firstMethodName}\r\n" + $"【SQL语句】:{UtilMethods.GetNativeSql(sql, pars)}";
|
var log = $"【{DateTime.Now}——超时SQL】\r\n【所在文件名】:{fileName}\r\n【代码行数】:{fileLine}\r\n【方法名】:{firstMethodName}\r\n" + $"【SQL语句】:{UtilMethods.GetNativeSql(sql, pars)}";
|
||||||
Log.Warning(log);
|
Log.Warning(log);
|
||||||
App.PrintToMiniProfiler("SqlSugar", "Slow", log);
|
|
||||||
};
|
};
|
||||||
|
|
||||||
// 数据审计
|
// 数据审计
|
||||||
|
|||||||
@ -100,7 +100,7 @@
|
|||||||
"code-inspector-plugin": "^0.20.10",
|
"code-inspector-plugin": "^0.20.10",
|
||||||
"eslint": "^9.27.0",
|
"eslint": "^9.27.0",
|
||||||
"eslint-plugin-vue": "^10.1.0",
|
"eslint-plugin-vue": "^10.1.0",
|
||||||
"globals": "^16.1.0",
|
"globals": "^16.2.0",
|
||||||
"less": "^4.3.0",
|
"less": "^4.3.0",
|
||||||
"openapi-ts-request": "^1.5.0",
|
"openapi-ts-request": "^1.5.0",
|
||||||
"prettier": "^3.5.3",
|
"prettier": "^3.5.3",
|
||||||
@ -119,6 +119,14 @@
|
|||||||
"@vue-office/docx",
|
"@vue-office/docx",
|
||||||
"@vue-office/excel",
|
"@vue-office/excel",
|
||||||
"@vue-office/pdf"
|
"@vue-office/pdf"
|
||||||
|
],
|
||||||
|
"ignoredBuiltDependencies": [
|
||||||
|
"@parcel/watcher",
|
||||||
|
"core-js",
|
||||||
|
"es5-ext",
|
||||||
|
"esbuild",
|
||||||
|
"json-editor-vue",
|
||||||
|
"vue-demi"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"browserslist": [
|
"browserslist": [
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user