Browse Source

修复linux滑块验证图片异常问题

zhontai 2 years ago
parent
commit
8d17449ea5

+ 1 - 1
src/platform/ZhonTai.Admin/Services/Auth/Dto/AuthMobileLoginInput.cs

@@ -22,6 +22,6 @@ public class AuthMobileLoginInput
     /// <summary>
     /// 验证码Id
     /// </summary>
-    [Required(ErrorMessage = "验证码Id不能为空")]
+    [Required(ErrorMessage = "请获取验证码")]
     public string CodeId { get; set; }
 }

+ 1 - 0
src/platform/ZhonTai.Admin/ZhonTai.Admin.csproj

@@ -31,6 +31,7 @@
 		<PackageReference Include="NLog" Version="5.1.2" />
 		<PackageReference Include="NLog.Web.AspNetCore" Version="5.2.2" />
 		<PackageReference Include="OnceMi.AspNetCore.OSS" Version="1.1.9" />
+		<PackageReference Include="SkiaSharp.NativeAssets.Linux.NoDependencies" Version="2.88.3" />
 		<PackageReference Include="SixLabors.ImageSharp" Version="3.0.0" />
 		<PackageReference Include="SixLabors.ImageSharp.Drawing" Version="1.0.0-beta15" />
 		<PackageReference Include="System.IdentityModel.Tokens.Jwt" Version="6.27.0" />