😎1、增加七牛文件上传管理 2、升级依赖(增加前端图片压缩组件)
This commit is contained in:
parent
a4de8aade2
commit
417a0a19d2
@ -75,6 +75,11 @@ public class OSSFileProvider : ICustomFileProvider, ITransient
|
||||
customHost = _OSSProviderOptions.Endpoint;
|
||||
sysFile.Url = $"{(_OSSProviderOptions.IsEnableHttps ? "https" : "http")}://{customHost}/{sysFile.BucketName}/{filePath}";
|
||||
break;
|
||||
|
||||
case OSSProvider.Qiniu:
|
||||
// 获取七牛文件的下载或者预览地址
|
||||
sysFile.Url = $"{(_OSSProviderOptions.IsEnableHttps ? "https" : "http")}://{_OSSProviderOptions.CustomHost}/{filePath}";
|
||||
break;
|
||||
}
|
||||
return sysFile;
|
||||
}
|
||||
|
||||
@ -2,7 +2,7 @@
|
||||
"name": "admin.net.pro",
|
||||
"type": "module",
|
||||
"version": "2.4.33",
|
||||
"lastBuildTime": "2025.08.17",
|
||||
"lastBuildTime": "2025.08.18",
|
||||
"description": "Admin.NET 站在巨人肩膀上的 .NET 通用权限开发框架",
|
||||
"author": "zuohuaijun",
|
||||
"license": "MIT",
|
||||
@ -33,6 +33,7 @@
|
||||
"animate.css": "^4.1.1",
|
||||
"async-validator": "^4.2.5",
|
||||
"axios": "^1.11.0",
|
||||
"compressorjs": "^1.2.1",
|
||||
"countup.js": "^2.9.0",
|
||||
"cropperjs": "^1.6.2",
|
||||
"crypto-js": "^4.2.0",
|
||||
@ -79,8 +80,8 @@
|
||||
"vue-router": "^4.5.1",
|
||||
"vue-signature-pad": "^3.0.2",
|
||||
"vue3-tree-org": "^4.2.2",
|
||||
"vxe-pc-ui": "^4.8.19",
|
||||
"vxe-table": "^4.15.8",
|
||||
"vxe-pc-ui": "^4.8.20",
|
||||
"vxe-table": "^4.15.9",
|
||||
"xe-utils": "^3.7.8",
|
||||
"xlsx-js-style": "^1.2.0"
|
||||
},
|
||||
@ -97,7 +98,7 @@
|
||||
"@vitejs/plugin-vue-jsx": "^5.0.1",
|
||||
"@vue/compiler-sfc": "^3.5.18",
|
||||
"cli-progress": "^3.12.0",
|
||||
"code-inspector-plugin": "^1.2.0",
|
||||
"code-inspector-plugin": "^1.2.1",
|
||||
"colors": "^1.4.0",
|
||||
"dotenv": "^17.2.1",
|
||||
"eslint": "^9.33.0",
|
||||
@ -110,7 +111,7 @@
|
||||
"terser": "^5.43.1",
|
||||
"typescript": "^5.9.2",
|
||||
"vite": "^7.1.2",
|
||||
"vite-auto-i18n-plugin": "^1.1.6",
|
||||
"vite-auto-i18n-plugin": "^1.1.7",
|
||||
"vite-plugin-cdn-import": "^1.0.1",
|
||||
"vite-plugin-compression2": "^2.2.0",
|
||||
"vite-plugin-vue-setup-extend": "^0.4.0",
|
||||
|
||||
Loading…
Reference in New Issue
Block a user