feat: 框架代码同步 (#144)

Co-authored-by: tk <fiyne1a@dingtalk.com>
This commit is contained in:
2024-06-15 21:41:03 +08:00
committed by GitHub
parent 366a26a5cd
commit ae2d1c4932
17 changed files with 285 additions and 137 deletions

View File

@@ -5,8 +5,7 @@ namespace NetAdmin.Infrastructure.Configuration.Options;
/// </summary>
public sealed record CaptchaOptions : OptionAbstraction
{
private static readonly double _seed
= BitConverter.ToInt32(Chars.TPL_DATE_YYYYMMDD[..4].Select(x => (byte)x).ToArray());
private static readonly double _seed = BitConverter.ToInt32("yyyyMMdd"[..4].Select(x => (byte)x).ToArray());
#pragma warning disable S3963
static CaptchaOptions()