|
|
@ -2,7 +2,6 @@ package com.epmet.commons.tools.utils; |
|
|
|
|
|
|
|
import com.alibaba.fastjson.JSON; |
|
|
|
import com.epmet.commons.tools.constant.StrConstant; |
|
|
|
import com.epmet.commons.tools.dto.form.DingTalkTextMsg; |
|
|
|
import com.epmet.commons.tools.exception.RenException; |
|
|
|
import lombok.extern.slf4j.Slf4j; |
|
|
|
import org.apache.commons.codec.CharEncoding; |
|
|
@ -38,9 +37,6 @@ public class ModuleUtils { |
|
|
|
String errorMessage = "Failure to connect " + serverName; |
|
|
|
String errorLog = errorMessage + "::[method]->{}::[params]->{}"; |
|
|
|
log.error(errorLog, methodName, JSON.toJSONString(params)); |
|
|
|
DingdingMsgSender msgSender = new DingdingMsgSender(); |
|
|
|
DingTalkTextMsg dingTalkTextMsg = new DingTalkTextMsg(); |
|
|
|
msgSender.sendMsgAsync(dingTalkTextMsg); |
|
|
|
return new Result().error(); |
|
|
|
} |
|
|
|
|
|
|
|