Commit fcb16a16 authored by 鹿朋's avatar 鹿朋

结清证明下载

parent f9ee4bf5
......@@ -235,9 +235,9 @@ public class IceServiceImpl implements IIceService {
return JsonResult.buildErrorStateResult("通讯异常", null);
}
if (result.length <= 0) {
if (result == null) {
log.error("{} 调用失败 url={}, header={},param={},result={}", logPre, url, header, param, result);
return JsonResult.buildErrorStateResult("结清证明下载失败", null);
return JsonResult.buildErrorStateResult("结清证明下载失败,返回值为空", null);
}
return fileService.outputFile(response, System.currentTimeMillis() + String.valueOf(loanId) +"settle.pdf", result);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment