update hiwork系统消息增加参数

This commit is contained in:
lijiarao
2024-05-09 16:05:00 +08:00
parent d018beb2cd
commit 3de3528991
3 changed files with 5 additions and 0 deletions
@@ -20,6 +20,8 @@ import lombok.experimental.Accessors;
public class HiworkSystemMsg { public class HiworkSystemMsg {
@ApiModelProperty(value = "异构系统标识") @ApiModelProperty(value = "异构系统标识")
private String sysCode; private String sysCode;
@ApiModelProperty(value = "消息推送类型 ding | message | jpush")
private String noticePushType;
@ApiModelProperty(value = "发送人员编号") @ApiModelProperty(value = "发送人员编号")
private String sendCode; private String sendCode;
@ApiModelProperty(value = "发送人员姓名") @ApiModelProperty(value = "发送人员姓名")
@@ -101,6 +101,8 @@ public class HiworkMsgServiceImpl implements IHiworkMsgService {
// 异步系统标识 // 异步系统标识
hiworkSystemMsg.setSysCode(HiworkPostUtil.getSysCode()); hiworkSystemMsg.setSysCode(HiworkPostUtil.getSysCode());
//消息推送类型
hiworkSystemMsg.setNoticePushType(HiworkPostUtil.Message);
LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal(); LoginUser loginUser = (LoginUser) SecurityUtils.getSubject().getPrincipal();
// 发送人员编号 // 发送人员编号
@@ -65,6 +65,7 @@ public class HiworkPostUtil {
return serviceCode; return serviceCode;
} }
public static String Ding = "ding"; public static String Ding = "ding";
public static String Message = "message";
/** /**
* @Author: liao * @Author: liao