一:图片框
调用的方法为:upload/img
// 新文件 Path
String path = file.getUploadPath() + File.separator + fileName;
path = PathKit.getWebRootPath() + "/img/" + fileName;//设置为根目录下的img文件夹下
二:编辑框
调用的方法为:upload/editor
// 新文件 Path
String path = file.getUploadPath() + File.separator + fileName;
path = PathKit.getWebRootPath() + "/editor/" + fileName;//设置为根目录下的editor文件夹下
三:图片