mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-14 06:03:42 +08:00
表情包上传增加上传类型
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user