|
@@ -48,8 +48,8 @@ public class BuildSceneDTServiceImpl implements IBuildSceneDTService {
|
|
public void handModelFail(String reason, String serverPath, String num, String hostName) {
|
|
public void handModelFail(String reason, String serverPath, String num, String hostName) {
|
|
CompletableFuture.runAsync(() -> {
|
|
CompletableFuture.runAsync(() -> {
|
|
try {
|
|
try {
|
|
- String logPath = String.format(contentExt,fYunFileConfig.getHost(),fYunFileConfig.getHost());
|
|
|
|
- String content = String.format(this.DINGTALK_MSG_PATTERN + logPath, this.mainUrl, hostName, reason, num, serverPath, num, num);
|
|
|
|
|
|
+ String logPath = String.format(contentExt,fYunFileConfig.getHost(),num,fYunFileConfig.getHost(),num);
|
|
|
|
+ String content = String.format(this.DINGTALK_MSG_PATTERN + logPath, this.mainUrl, hostName, reason, num, serverPath);
|
|
log.info("发送钉钉消息,content:{}", content);
|
|
log.info("发送钉钉消息,content:{}", content);
|
|
dingTalkSendUtils.sendActioncardMsgToDingRobot(content,"场景计算失败");
|
|
dingTalkSendUtils.sendActioncardMsgToDingRobot(content,"场景计算失败");
|
|
} catch (ApiException | UnsupportedEncodingException | NoSuchAlgorithmException | InvalidKeyException apiException) {
|
|
} catch (ApiException | UnsupportedEncodingException | NoSuchAlgorithmException | InvalidKeyException apiException) {
|