Commit ba4c90bd authored by jiaorz's avatar jiaorz

添加admin日志拦截

parent cd2cb375
......@@ -86,15 +86,6 @@ public class GlobalExceptionHandler extends ResponseEntityExceptionHandler {
if(0 == ex.getStatus()) {
response.setStatus(500);
}
Map<String, String> map = new HashMap<>();
map.put("toUser", emailLogAccount);
map.put("subject", emailLogTitle);
map.put("content", ex.toString() + ":" +ex.getMessage());
try {
HttpUtils.doPost(emailLogHost,"/api/universal/mail/app/unauth/send", map);
} catch (Exception e) {
logger.error(e.getMessage());
}
return new BaseResponse(ex.getStatus(), ex.getMessage());
}
......
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