mirror of https://gitee.com/stylefeng/roses
【7.3.3】【message】消息通知返回url跳转信息
parent
6997bb73fb
commit
edbdb3d775
|
@ -30,6 +30,7 @@ import cn.stylefeng.roses.kernel.message.api.enums.MessageReadFlagEnum;
|
|||
import cn.stylefeng.roses.kernel.rule.annotation.ChineseDescription;
|
||||
import cn.stylefeng.roses.kernel.rule.annotation.SimpleFieldFormat;
|
||||
import cn.stylefeng.roses.kernel.system.api.format.UserFormatProcess;
|
||||
import com.baomidou.mybatisplus.annotation.TableField;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
@ -125,6 +126,12 @@ public class MessageResponse implements Serializable {
|
|||
@ChineseDescription("阅读状态:0-未读,1-已读")
|
||||
private String readFlagValue;
|
||||
|
||||
/**
|
||||
* 消息跳转的URL
|
||||
*/
|
||||
@ChineseDescription("消息跳转的URL")
|
||||
private String messageUrl;
|
||||
|
||||
public String getPriorityLevelValue() {
|
||||
AtomicReference<String> value = new AtomicReference<>("");
|
||||
Optional.ofNullable(this.priorityLevel).ifPresent(val -> {
|
||||
|
|
|
@ -78,7 +78,7 @@ public class SysMessage extends BaseEntity {
|
|||
private String messageContent;
|
||||
|
||||
/**
|
||||
* 消息类型
|
||||
* 消息类型(是普通消息 或是带url的消息)
|
||||
*/
|
||||
@TableField(value = "message_type")
|
||||
private String messageType;
|
||||
|
|
Loading…
Reference in New Issue