diff --git a/src/GZCTF/Models/Request/Info/ClientCaptchaInfoModel.cs b/src/GZCTF/Models/Request/Info/ClientCaptchaInfoModel.cs index 15f9c3a83..e50fb5be1 100644 --- a/src/GZCTF/Models/Request/Info/ClientCaptchaInfoModel.cs +++ b/src/GZCTF/Models/Request/Info/ClientCaptchaInfoModel.cs @@ -1,12 +1,15 @@ using GZCTF.Models.Internal; +using MemoryPack; namespace GZCTF.Models.Request.Info; /// /// 验证码配置 /// -public class ClientCaptchaInfoModel +[MemoryPackable] +public partial class ClientCaptchaInfoModel { + [MemoryPackConstructor] public ClientCaptchaInfoModel() { } public ClientCaptchaInfoModel(CaptchaConfig? config) @@ -27,4 +30,4 @@ public ClientCaptchaInfoModel(CaptchaConfig? config) /// 客户端密钥 /// public string SiteKey { get; set; } = string.Empty; -} \ No newline at end of file +}