[update] 学习资源创建、修改,必须上传文件或输入视频链接
This commit is contained in:
parent
cde8ac197e
commit
8594dfbffb
@ -24,7 +24,8 @@ public class LearningResourcesSaveReqVO {
|
||||
@Schema(description = "文件ID", example = "6506")
|
||||
private Long fileId;
|
||||
|
||||
@Schema(description = "文件URL地址,视频封面图", example = "https://www.iocoder.cn")
|
||||
@Schema(description = "文件URL地址、视频封面图", example = "https://www.iocoder.cn")
|
||||
@NotNull(message = "文件内容不能为空")
|
||||
private String fileUrl;
|
||||
|
||||
@Schema(description = "文件名称,视频链接",example = "https://www.test.com")
|
||||
@ -33,4 +34,4 @@ public class LearningResourcesSaveReqVO {
|
||||
@Schema(description = "下载量",example = "0")
|
||||
private Integer downCount;
|
||||
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user