Commit acae3a9b by chentianzhong

邮件代办和短消息

parent fbd5f40f
......@@ -37,25 +37,41 @@ public interface MessageFeignClient {
@PostMapping("/todo/addToDoApi")
ResultVo addToDoApi(@RequestBody Map<String, Object> params);
// /**
// * 撤回网页消息
// * 参数businessId,systemTag
// *
// * @param params
// * @return
// */
// @PostMapping("/web/revokeWebBySysInfo")
// ResultVo revokeWebBySysInfo(@RequestBody Map<String, Object> params);
//
// /**
// * 撤回待办
// * 参数businessId,systemTag
// *
// * @param params
// * @return
// */
// @PostMapping("/todo/revokeTodoBySysInfo")
// ResultVo revokeTodoBySysInfo(@RequestBody Map<String, Object> params);
/**
* 撤回网页消息
* 参数businessId,systemTag
*
* @param params
* @return
* 撤回todo待办事宜
*/
@PostMapping("/web/revokeWebBySysInfo")
ResultVo revokeWebBySysInfo(@RequestBody Map<String, Object> params);
@DeleteMapping("/todo/delMessageBySystem")
ResultVo delTodoMessageBySystem(@RequestBody Map<String, Object> params);
/**
* 撤回待办
* 参数businessId,systemTag
*
* @param params
* @return
* 撤回网页消息
*/
@PostMapping("/todo/revokeTodoBySysInfo")
ResultVo revokeTodoBySysInfo(@RequestBody Map<String, Object> params);
@DeleteMapping("/web/delMessageBySystem")
ResultVo delMessageBySystem(@RequestBody Map<String, Object> params);
......
......@@ -60,8 +60,8 @@ public class MsgUtil {
params .put("systemTag", EmailConstant.SYSTEM_TAG);
params .put("businessId", businessId);
log.debug("---撤回内部消息打印内容: {}", JSONUtil.toJsonStr(params));
messageFeignClient.revokeWebBySysInfo(params);
messageFeignClient.revokeTodoBySysInfo(params);
messageFeignClient.delMessageBySystem(params);
messageFeignClient.delTodoMessageBySystem(params);
}
......@@ -74,8 +74,8 @@ public class MsgUtil {
params .put("receiverId", receiverId);
params .put("todoUserId", receiverId);
log.debug("---撤回内部消息打印内容: {}", JSONUtil.toJsonStr(params));
messageFeignClient.revokeWebBySysInfo(params);
messageFeignClient.revokeTodoBySysInfo(params);
messageFeignClient.delMessageBySystem(params);
messageFeignClient.delTodoMessageBySystem(params);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment