main
黄海 9 months ago
parent a32e7d8065
commit f041f40a38

@ -64,7 +64,7 @@ public class ResourceController extends Controller {
String file_id = UUID.randomUUID().toString();
String key = file_id + fileExtension;
//保存的目录
String resPath = BaseApplication.PropKit.get("upload.path");
String resPath = BaseApplication.PropKit.get("upload.path")+"/"+key;
// 创建目标文件对象
File targetFile = new File(resPath);
// 检查目标目录是否存在,如果不存在则创建

Loading…
Cancel
Save