Browse Source

和局长信箱对接

master
wxc 4 months ago
parent
commit
7b64ec08b1
  1. 8
      mailbox-lan/src/main/java/com/biutag/lan/controller/ApiV1Controller.java

8
mailbox-lan/src/main/java/com/biutag/lan/controller/ApiV1Controller.java

@ -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));

Loading…
Cancel
Save