From 41c7e0ebcdaa27eef33c86f2c455bee0df9a38d3 Mon Sep 17 00:00:00 2001 From: kongzy <kongzy> Date: 星期四, 07 十一月 2024 10:50:59 +0800 Subject: [PATCH] change captcha --- exam-system/src/main/java/com/gkhy/exam/system/domain/vo/StudentStudyVO.java | 4 ++++ 1 files changed, 4 insertions(+), 0 deletions(-) diff --git a/exam-system/src/main/java/com/gkhy/exam/system/domain/vo/StudentStudyVO.java b/exam-system/src/main/java/com/gkhy/exam/system/domain/vo/StudentStudyVO.java index a1a7c25..58740a5 100644 --- a/exam-system/src/main/java/com/gkhy/exam/system/domain/vo/StudentStudyVO.java +++ b/exam-system/src/main/java/com/gkhy/exam/system/domain/vo/StudentStudyVO.java @@ -1,5 +1,6 @@ package com.gkhy.exam.system.domain.vo; +import com.fasterxml.jackson.annotation.JsonInclude; import io.swagger.annotations.ApiModel; import io.swagger.annotations.ApiModelProperty; import lombok.Getter; @@ -9,10 +10,13 @@ import java.io.Serializable; import java.util.List; +import static com.fasterxml.jackson.annotation.JsonInclude.Include.NON_NULL; + @Setter @Getter @Accessors(chain = true) @ApiModel(description = "课程用户学习日志") +@JsonInclude(NON_NULL) public class StudentStudyVO implements Serializable { private static final long serialVersionUID = 1L; @ApiModelProperty(value = "章节ID") -- Gitblit v1.9.2