Browse Source

Merge branch 'master' into obt

tianboguang 2 năm trước cách đây
mục cha
commit
ddacb0215d

+ 4 - 2
src/main/java/com/fdkankan/contro/service/impl/BuildSceneDTServiceImpl.java

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