表情包上传增加上传类型

This commit is contained in:
WSJ
2023-07-08 17:49:21 +08:00
parent 8610078169
commit 7d62a59da5
2 changed files with 2 additions and 1 deletions

View File

@@ -17,6 +17,7 @@ import java.util.stream.Collectors;
@Getter @Getter
public enum OssSceneEnum { public enum OssSceneEnum {
CHAT(1, "聊天", "/chat"), CHAT(1, "聊天", "/chat"),
EMOJIS(2, "表情包", "/emojis"),
; ;
private final Integer type; private final Integer type;

View File

@@ -23,7 +23,7 @@ public class UploadUrlReq {
@ApiModelProperty(value = "文件名(带后缀)") @ApiModelProperty(value = "文件名(带后缀)")
@NotBlank @NotBlank
private String fileName; private String fileName;
@ApiModelProperty(value = "上传场景1.聊天室") @ApiModelProperty(value = "上传场景1.聊天室,2.表情包")
@NotNull @NotNull
private Integer scene; private Integer scene;
} }