chore: 🔨 模型约束修改 (#85)

This commit is contained in:
2024-01-26 16:57:02 +08:00
committed by GitHub
parent 6615df3399
commit 339a15e024
11 changed files with 33 additions and 39 deletions

View File

@@ -9,7 +9,7 @@ public sealed record SendVerifyCodeRsp : Sys_VerifyCode
{
#if DEBUG
/// <inheritdoc cref="Sys_VerifyCode.Code" />
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)]
public override string Code { get; init; }
#endif
}