zuohuaijun преди 1 година
родител
ревизия
6168a98cc9

+ 1 - 1
Admin.NET/Admin.NET.Core/Admin.NET.Core.csproj

@@ -37,7 +37,7 @@
     <PackageReference Include="SqlSugarCore" Version="5.1.4.162" />
     <PackageReference Include="SSH.NET" Version="2024.1.0" />
     <PackageReference Include="System.Linq.Dynamic.Core" Version="1.4.3" />
-    <PackageReference Include="TencentCloudSDK.Sms" Version="3.0.1045" />
+    <PackageReference Include="TencentCloudSDK.Sms" Version="3.0.1046" />
     <PackageReference Include="UAParser" Version="3.1.47" />
     <PackageReference Include="Yitter.IdGenerator" Version="1.0.14" />
   </ItemGroup>

+ 3 - 3
Admin.NET/Admin.NET.Core/Service/Cache/SysCacheService.cs

@@ -133,10 +133,10 @@ public class SysCacheService : IDynamicApiController, ISingleton
     [DisplayName("获取缓存值")]
     public object GetValue(string key)
     {
-        if (key.Contains('%'))
-        {
+        // 若Key经过URL编码则进行解码
+        if (Regex.IsMatch(key, @"%[0-9a-fA-F]{2}"))
             key = HttpUtility.UrlDecode(key);
-        }
+
         return _cacheProvider.Cache == Cache.Default
             ? _cacheProvider.Cache.Get<object>($"{_cacheOptions.Prefix}{key}")
             : _cacheProvider.Cache.Get<string>($"{_cacheOptions.Prefix}{key}");

+ 2 - 2
Web/package.json

@@ -31,7 +31,7 @@
 		"echarts": "^5.5.1",
 		"echarts-gl": "^2.0.9",
 		"echarts-wordcloud": "^2.1.0",
-		"element-plus": "^2.7.6",
+		"element-plus": "^2.7.7",
 		"ezuikit": "^1.0.0",
 		"ezuikit-js": "^8.0.5",
 		"js-cookie": "^3.0.5",
@@ -84,7 +84,7 @@
 		"less": "^4.2.0",
 		"prettier": "^3.3.2",
 		"rollup-plugin-visualizer": "^5.12.0",
-		"sass": "^1.77.7",
+		"sass": "^1.77.8",
 		"terser": "^5.31.2",
 		"typescript": "^5.5.3",
 		"vite": "^5.3.3",

+ 1 - 1
Web/src/views/system/database/database.ts

@@ -104,7 +104,7 @@ export const dataTypeList = [
 		hasLength: false,
 		hasDecimalDigits: false,
 	},
-    {
+	{
 		value: 'boolean',
 		hasLength: false,
 		hasDecimalDigits: false,