瀏覽代碼

优化代码

java110 4 年之前
父節點
當前提交
6747e70bba

+ 1 - 1
service-job/src/main/java/com/java110/job/adapt/Repair/MachineDistributeLeaflets.java

@@ -363,7 +363,7 @@ public class MachineDistributeLeaflets extends DatabusAdaptImpl {
 
         rebootMarkdown.put("content", content);
         logger.info("发送消息内容:{}", content);
-        ResponseEntity<String> responseEntity = outRestTemplate.postForEntity(url, rebootMarkdown.toJSONString(), String.class);
+        ResponseEntity<String> responseEntity = outRestTemplate.postForEntity(url, rebootParam.toJSONString(), String.class);
         logger.info("企业微信返回内容:{}", responseEntity);