|
@@ -37,8 +37,8 @@ public class DingTalkService {
|
|
|
|
|
|
DingMsgDto dto = new DingMsgDto();
|
|
|
dto.setAgent_id(DingTalkConstant.agent_id);
|
|
|
-// dto.setDept_id_list(getLocalDeptIds);
|
|
|
- dto.setUserid_list("300924181521371230");
|
|
|
+ dto.setDept_id_list(getLocalDeptIds());
|
|
|
+// dto.setUserid_list("300924181521371230");
|
|
|
dto.setMsg(msgTemplateActionCard());
|
|
|
log.info("请求体: {}",dto.toString() );
|
|
|
|
|
@@ -79,7 +79,7 @@ public class DingTalkService {
|
|
|
JSONObject subJson = new JSONObject();
|
|
|
subJson.put("title", "禅道工时填写提醒");
|
|
|
subJson.put("markdown", "## " + LocalDate.now());
|
|
|
- subJson.put("single_title", "请填写禅道工时");
|
|
|
+ subJson.put("single_title", "今日提醒: 请填写禅道工时");
|
|
|
subJson.put("single_url", "http://face3d.4dage.com:8181/index.php");
|
|
|
|
|
|
bodyJson.put("msgtype", DingTalkConstant.MSG_TYPE_ACTION_CARD);
|