|
|
@@ -1,5 +1,6 @@ |
|
|
|
package com.hz.pm.api.common.util; |
|
|
|
|
|
|
|
import cn.hutool.core.util.ObjUtil; |
|
|
|
import cn.hutool.extra.spring.SpringUtil; |
|
|
|
import cn.hutool.http.HttpRequest; |
|
|
|
import cn.hutool.http.HttpResponse; |
|
|
@@ -45,7 +46,7 @@ public class DingTalkMsgClient { |
|
|
|
.append("\n### 待办或提醒内容\n") |
|
|
|
.append(content) |
|
|
|
.append("\n### 拓展参数\n") |
|
|
|
.append(JSONUtil.toJsonStr(extraParam)); |
|
|
|
.append(extraParam == null ? "暂无" : JSONUtil.toJsonStr(extraParam)); |
|
|
|
markdown.setText(JSONUtil.toJsonStr(msgObj)); |
|
|
|
msg.setMarkdown(markdown); |
|
|
|
msg.setMsgtype("markdown"); |
|
|
|