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