😎升级Furion v4.9.6.19

This commit is contained in:
zuohuaijun 2024-12-26 23:35:33 +08:00
parent 7b8b9b7af2
commit 36c6adc05b
4 changed files with 7 additions and 28 deletions

View File

@ -1,17 +0,0 @@
// Admin.NET 项目的版权、商标、专利和其他相关权利均受相应法律法规的保护。使用本项目应遵守相关法律法规和许可证的要求。
//
// 本项目主要遵循 MIT 许可证和 Apache 许可证(版本 2.0)进行分发和使用。许可证位于源代码树根目录中的 LICENSE-MIT 和 LICENSE-APACHE 文件。
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!
using Microsoft.AspNetCore.Localization;
namespace Admin.NET.Application.Service.Test;
public class CookieNameCultureProvider : CookieRequestCultureProvider
{
public CookieNameCultureProvider()
{
CookieName = "zuohuaijun";
}
}

View File

@ -18,9 +18,9 @@
<PackageReference Include="AspectCore.Extensions.Reflection" Version="2.4.0" />
<PackageReference Include="AspNetCoreRateLimit" Version="5.0.0" />
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.16.3" />
<PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.6.18" />
<PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.6.18" />
<PackageReference Include="Furion.Pure" Version="4.9.6.18" />
<PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.6.19" />
<PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.6.19" />
<PackageReference Include="Furion.Pure" Version="4.9.6.19" />
<PackageReference Include="Hardware.Info" Version="101.0.0" />
<PackageReference Include="Hashids.net" Version="1.7.0" />
<PackageReference Include="IPTools.China" Version="1.6.0" />

View File

@ -4,7 +4,6 @@
//
// 不得利用本项目从事危害国家安全、扰乱社会秩序、侵犯他人合法权益等法律法规禁止的活动!任何基于本项目二次开发而产生的一切法律纠纷和责任,我们不承担任何责任!
using Admin.NET.Application.Service.Test;
using Admin.NET.Core;
using Admin.NET.Core.Service;
using AspNetCoreRateLimit;
@ -326,10 +325,7 @@ public class Startup : AppStartup
app.UseUnifyResultStatusCodes();
// 启用多语言,必须在 UseRouting 之前
app.UseAppLocalization(option =>
{
option.AddInitialRequestCultureProvider(new CookieNameCultureProvider());
});
app.UseAppLocalization();
// 路由注册
app.UseRouting();

View File

@ -22,7 +22,7 @@
"@logicflow/extension": "^2.0.14",
"@microsoft/signalr": "^8.0.7",
"@vue-office/docx": "^1.6.2",
"@vue-office/excel": "^1.7.11",
"@vue-office/excel": "^1.7.14",
"@vue-office/pdf": "^2.0.9",
"@vueuse/core": "^12.0.0",
"@wangeditor/editor": "^5.1.23",
@ -68,13 +68,13 @@
"vue-demi": "0.14.10",
"vue-draggable-plus": "^0.6.0",
"vue-grid-layout": "3.0.0-beta1",
"vue-i18n": "^11.0.0",
"vue-i18n": "^11.0.1",
"vue-json-pretty": "^2.4.0",
"vue-plugin-hiprint": "^0.0.58-fix",
"vue-router": "^4.5.0",
"vue-signature-pad": "^3.0.2",
"vue3-tree-org": "^4.2.2",
"vxe-pc-ui": "^4.3.44",
"vxe-pc-ui": "^4.3.45",
"vxe-table": "^4.8.10",
"vxe-table-plugin-element": "^4.0.4",
"vxe-table-plugin-export-xlsx": "^4.0.7",