浏览代码

fix:课后作业没有标题

liujunchi 3 年之前
父节点
当前提交
0c4b8af579

+ 2 - 2
cooleshow-user/user-biz/src/main/java/com/yonge/cooleshow/biz/dal/dto/CourseHomeworkSaveDto.java

@@ -22,8 +22,8 @@ public class CourseHomeworkSaveDto {
     @NotNull(message = "课程编号不能为空 ")
     private Long courseScheduleId;
 
-    @ApiModelProperty(value = "作业标题",required = true)
-    @NotBlank(message = "作业标题不能为空 ")
+    @ApiModelProperty(value = "作业标题",hidden = true)
+    // @NotBlank(message = "作业标题不能为空 ")
     private String title;
 
     @ApiModelProperty(value = "作业内容",required = true)