#I85QPE 处理附件列表问题,优化文件上传逻辑
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
package com.zyplayer.doc.core.enums;
|
||||
|
||||
import lombok.Getter;
|
||||
|
||||
/**
|
||||
* 文件存储路径
|
||||
*
|
||||
* @author 暮光:城中城
|
||||
* @since 2023-10-06
|
||||
*/
|
||||
public enum PageFileSource {
|
||||
UPLOAD_FILES(1, "手动上传的附件"),
|
||||
PASTE_FILES(2, "页面粘贴的图片或文件"),
|
||||
;
|
||||
@Getter
|
||||
private Integer source;
|
||||
@Getter
|
||||
private String desc;
|
||||
|
||||
PageFileSource(Integer source, String desc) {
|
||||
this.source = source;
|
||||
this.desc = desc;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user