😎升级依赖

This commit is contained in:
zuohuaijun 2024-09-09 01:12:51 +08:00
parent 7d1434b948
commit a00d38f1d3
3 changed files with 20 additions and 12 deletions

View File

@ -18,20 +18,21 @@
<PackageReference Include="AspectCore.Extensions.Reflection" Version="2.4.0" />
<PackageReference Include="AspNetCoreRateLimit" Version="5.0.0" />
<PackageReference Include="Elastic.Clients.Elasticsearch" Version="8.15.6" />
<PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.5.6" />
<PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.5.6" />
<PackageReference Include="Furion.Pure" Version="4.9.5.6" />
<PackageReference Include="Furion.Extras.Authentication.JwtBearer" Version="4.9.5.7" />
<PackageReference Include="Furion.Extras.ObjectMapper.Mapster" Version="4.9.5.7" />
<PackageReference Include="Furion.Pure" Version="4.9.5.7" />
<PackageReference Include="Hardware.Info" Version="100.1.1" />
<PackageReference Include="Hashids.net" Version="1.7.0" />
<PackageReference Include="IPTools.China" Version="1.6.0" />
<PackageReference Include="IPTools.International" Version="1.6.0" />
<PackageReference Include="Magicodes.IE.Excel" Version="2.7.5.1" />
<PackageReference Include="Magicodes.IE.Pdf" Version="2.7.5.1" />
<PackageReference Include="Magicodes.IE.Word" Version="2.7.5.1" />
<PackageReference Include="Magicodes.IE.Excel" Version="2.7.5.2" />
<PackageReference Include="Magicodes.IE.Pdf" Version="2.7.5.2" />
<PackageReference Include="Magicodes.IE.Word" Version="2.7.5.2" />
<PackageReference Include="MailKit" Version="4.7.1.1" />
<PackageReference Include="MySqlBackup.NET.MySqlConnector" Version="2.3.8" />
<PackageReference Include="NewLife.Redis" Version="5.7.2024.801" />
<PackageReference Include="Novell.Directory.Ldap.NETStandard" Version="3.6.0" />
<PackageReference Include="PluginCore.AspNetCore" Version="1.4.3" />
<PackageReference Include="QRCoder" Version="1.6.0" />
<PackageReference Include="RabbitMQ.Client" Version="6.8.1" />
<PackageReference Include="SixLabors.ImageSharp.Web" Version="3.1.2" />

View File

@ -22,6 +22,7 @@ using Microsoft.Extensions.DependencyInjection;
using Microsoft.Extensions.Hosting;
using Newtonsoft.Json;
using OnceMi.AspNetCore.OSS;
using PluginCore.AspNetCore.Extensions;
using SixLabors.ImageSharp.Web.DependencyInjection;
using System;
using System.Threading.Tasks;
@ -100,6 +101,9 @@ public class Startup : AppStartup
// 三方授权登录OAuth
services.AddOAuth();
// 插件 PluginCore
services.AddPluginCore();
// ElasticSearch
services.AddElasticSearch();
@ -255,6 +259,9 @@ public class Startup : AppStartup
// 启用跨域,必须在 UseRouting 和 UseAuthentication 之间注册
app.UseCorsAccessor();
// 插件 PluginCore
app.UsePluginCore();
// 启用鉴权授权
app.UseAuthentication();
app.UseAuthorization();

View File

@ -2,7 +2,7 @@
"name": "admin.net.pro",
"type": "module",
"version": "2.4.33",
"lastBuildTime": "2024.09.06",
"lastBuildTime": "2024.09.09",
"description": "Admin.NET 站在巨人肩膀上的 .NET 通用权限开发框架",
"author": "zuohuaijun",
"license": "MIT",
@ -32,7 +32,7 @@
"echarts": "^5.5.1",
"echarts-gl": "^2.0.9",
"echarts-wordcloud": "^2.1.0",
"element-plus": "^2.8.1",
"element-plus": "^2.8.2",
"exceljs": "^4.4.0",
"ezuikit": "^1.0.0",
"ezuikit-js": "^8.0.11",
@ -67,11 +67,11 @@
"vue-grid-layout": "3.0.0-beta1",
"vue-i18n": "^9.14.0",
"vue-json-pretty": "^2.4.0",
"vue-plugin-hiprint": "0.0.57-beta29",
"vue-plugin-hiprint": "0.0.57-beta30",
"vue-router": "^4.4.3",
"vue-signature-pad": "^3.0.2",
"vue3-tree-org": "^4.2.2",
"vxe-pc-ui": "^4.1.17",
"vxe-pc-ui": "^4.1.20",
"vxe-table": "^4.7.59",
"vxe-table-plugin-element": "^4.0.4",
"vxe-table-plugin-export-xlsx": "^4.0.5",
@ -91,7 +91,7 @@
"@vitejs/plugin-vue-jsx": "^4.0.1",
"@vue/compiler-sfc": "^3.5.3",
"code-inspector-plugin": "^0.16.1",
"eslint": "^9.9.1",
"eslint": "^9.10.0",
"eslint-plugin-vue": "^9.28.0",
"globals": "^15.8.0",
"less": "^4.2.0",
@ -102,7 +102,7 @@
"typescript": "^5.5.4",
"vite": "^5.4.3",
"vite-plugin-cdn-import": "^1.0.1",
"vite-plugin-compression2": "^1.2.0",
"vite-plugin-compression2": "^1.3.0",
"vite-plugin-vue-setup-extend": "^0.4.0",
"vue-eslint-parser": "^9.4.3"
},