文件上传

master
chengqf 2 years ago
parent 7b535ad68a
commit 940c3d2697

@ -132,9 +132,11 @@ public class FileServiceImpl implements FileService {
if(isRelay) {
String result = relayFile(saveFiles,host);
if (IDCUtils.isJson(result)) {
if (IDCUtils.isJson(result)&&!result.contains("<html")) {
BaseResponse baseResponse = JSON.parseObject(result,BaseResponse.class);
return baseResponse;
}else {
return ResultVOUtils.error(9999,"上传失败");
}
}
return ResultVOUtils.success(null);

Loading…
Cancel
Save