update hiwork系统消息增加参数
This commit is contained in:
+2
@@ -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 = "发送人员姓名")
|
||||||
|
|||||||
+2
@@ -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();
|
||||||
// 发送人员编号
|
// 发送人员编号
|
||||||
|
|||||||
+1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user