|
|
|
|
@ -224,6 +224,14 @@ public class ApiV1Controller {
|
|
|
|
|
} |
|
|
|
|
mail.setVerifyAttachments(array.toJSONString()); |
|
|
|
|
} |
|
|
|
|
if (StrUtil.isNotBlank(mail.getInterviewAttachments())) { |
|
|
|
|
JSONArray array = JSON.parseArray(mail.getInterviewAttachments()); |
|
|
|
|
for (int i = 0; i < array.size(); i++) { |
|
|
|
|
JSONObject jsonObject = array.getJSONObject(i); |
|
|
|
|
jsonObject.put("filepath", "http://65.47.60.145/lan-api/api/file/stream/" + jsonObject.getString("filepath")); |
|
|
|
|
} |
|
|
|
|
mail.setInterviewAttachments(array.toJSONString()); |
|
|
|
|
} |
|
|
|
|
mailDomain.setMail(mail); |
|
|
|
|
mailDomain.setFlows(flowService.list(mailId)); |
|
|
|
|
mailDomain.setApprovals(mailApprovalService.list(mailId)); |
|
|
|
|
|