mirror of
https://github.com/zongzibinbin/MallChat.git
synced 2026-03-14 14:13:42 +08:00
表情包上传增加上传类型
This commit is contained in:
@@ -17,6 +17,7 @@ import java.util.stream.Collectors;
|
||||
@Getter
|
||||
public enum OssSceneEnum {
|
||||
CHAT(1, "聊天", "/chat"),
|
||||
EMOJIS(2, "表情包", "/emojis"),
|
||||
;
|
||||
|
||||
private final Integer type;
|
||||
|
||||
@@ -23,7 +23,7 @@ public class UploadUrlReq {
|
||||
@ApiModelProperty(value = "文件名(带后缀)")
|
||||
@NotBlank
|
||||
private String fileName;
|
||||
@ApiModelProperty(value = "上传场景1.聊天室")
|
||||
@ApiModelProperty(value = "上传场景1.聊天室,2.表情包")
|
||||
@NotNull
|
||||
private Integer scene;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user