fix external支持外包人员
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Org.BouncyCastle.Crypto.Digests;
|
||||
|
||||
namespace Dlhis.Basic.Organization.Request;
|
||||
|
||||
@@ -22,7 +23,7 @@ public class GainfoUploadFaceRequest : IValidatableObject
|
||||
bool v = true;
|
||||
try
|
||||
{
|
||||
Convert.FromBase64String(Face);
|
||||
_ = Convert.FromBase64String(Face);
|
||||
}
|
||||
catch (Exception)
|
||||
{
|
||||
@@ -34,4 +35,4 @@ public class GainfoUploadFaceRequest : IValidatableObject
|
||||
yield return new ValidationResult("人脸照片需要为Base64格式", new[] { nameof(Face) });
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user