1
0
Эх сурвалжийг харах

升级包,升级IP数据库

懒得勤快 5 жил өмнө
parent
commit
34694b410a

BIN
src/Masuit.MyBlogs.Core/App_Data/GeoLite2-City.mmdb


+ 1 - 1
src/Masuit.MyBlogs.Core/Common/CommonHelper.cs

@@ -181,7 +181,7 @@ namespace Masuit.MyBlogs.Core.Common
         /// <param name="title">标题</param>
         /// <param name="content">内容</param>
         /// <param name="tos">收件人</param>
-        [AutomaticRetry(Attempts = 1)]
+        [AutomaticRetry(Attempts = 1,OnAttemptsExceeded = AttemptsExceededAction.Delete)]
         public static void SendMail(string title, string content, string tos)
         {
 #if !DEBUG

+ 6 - 6
src/Masuit.MyBlogs.Core/Masuit.MyBlogs.Core.csproj

@@ -25,7 +25,7 @@
         <PackageReference Include="Aliyun.OSS.SDK.NetCore" Version="2.10.0" />
         <PackageReference Include="Autofac.Extensions.DependencyInjection" Version="6.0.0" />
         <PackageReference Include="AutoMapper.Extensions.ExpressionMapping" Version="4.0.0" />
-        <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="8.0.0" />
+        <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="8.0.1" />
         <PackageReference Include="CacheManager.Microsoft.Extensions.Caching.Memory" Version="2.0.0-beta-1629" />
         <PackageReference Include="CacheManager.Serialization.Json" Version="2.0.0-beta-1629" />
         <PackageReference Include="CSRedisCore" Version="3.6.5" />
@@ -34,11 +34,11 @@
         <PackageReference Include="Hangfire.MemoryStorage" Version="1.7.0" />
         <PackageReference Include="htmldiff.net-core" Version="1.3.6" />
         <PackageReference Include="IP2Region" Version="1.2.0" />
-        <PackageReference Include="Karambolo.AspNetCore.Bundling.NUglify" Version="3.2.0" />
+        <PackageReference Include="Karambolo.AspNetCore.Bundling.NUglify" Version="3.3.0" />
         <PackageReference Include="MaxMind.GeoIP2" Version="3.2.0" />
-        <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.5" />
-        <PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="3.1.5" />
-        <PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.5" />
+        <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="3.1.6" />
+        <PackageReference Include="Microsoft.AspNetCore.SignalR.Protocols.NewtonsoftJson" Version="3.1.6" />
+        <PackageReference Include="Microsoft.EntityFrameworkCore.Proxies" Version="3.1.6" />
         <PackageReference Include="MiniProfiler.AspNetCore.Mvc" Version="4.2.1" />
         <PackageReference Include="OpenXmlPowerTools-NetStandard" Version="4.4.21" />
         <PackageReference Include="MiniProfiler.EntityFrameworkCore" Version="4.2.1" />
@@ -47,7 +47,7 @@
         <PackageReference Include="System.Linq.Dynamic.Core" Version="1.1.8" />
         <PackageReference Include="WilderMinds.RssSyndication" Version="1.6.0" />
         <PackageReference Include="WinInsider.System.Net.Http.Formatting" Version="1.0.14" />
-        <PackageReference Include="Z.EntityFramework.Plus.EFCore" Version="3.0.54" />
+        <PackageReference Include="Z.EntityFramework.Plus.EFCore" Version="3.0.55" />
     </ItemGroup>
     <ItemGroup>
         <Content Update="appsettings.json">

+ 6 - 0
src/Masuit.MyBlogs.Core/bundleconfig.json

@@ -100,5 +100,11 @@
     "inputFiles": [
       "wwwroot/ng-views/controllers/system.js"
     ]
+  },
+  {
+    "outputFileName": "wwwroot/ng-views/controllers/links.min.js",
+    "inputFiles": [
+      "wwwroot/ng-views/controllers/links.js"
+    ]
   }
 ]

+ 3 - 3
src/Masuit.MyBlogs.Core/wwwroot/ng-views/controllers/links.js

@@ -135,7 +135,7 @@
 			id:row.Id,
 			state:row.Except
 		}, function (data) {
-			self.load();
+			
 		});
 	}
 	$scope.toggleState= function(row) {
@@ -143,7 +143,7 @@
 			id:row.Id,
 			state:row.Status==1
 		}, function (data) {
-			self.load();
+			
 		});
 	}
 
@@ -152,7 +152,7 @@
 			id:row.Id,
 			state:row.Recommend
 		}, function (data) {
-			self.load();
+			
 		});
 	}
 }]);

Файлын зөрүү хэтэрхий том тул дарагдсан байна
+ 0 - 0
src/Masuit.MyBlogs.Core/wwwroot/ng-views/controllers/links.min.js


Энэ ялгаанд хэт олон файл өөрчлөгдсөн тул зарим файлыг харуулаагүй болно