From f005fc9eb911b3dc543e9069053323cc8f70201d Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 12 十二月 2019 13:03:42 +0800 Subject: [PATCH] 增加小米推送注册regId服务,暂时取消推送时的消息免打扰过滤 --- fanli/src/main/java/com/yeshi/fanli/entity/push/DeviceTokenHW.java | 10 ++++++++++ 1 files changed, 10 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/push/DeviceTokenHW.java b/fanli/src/main/java/com/yeshi/fanli/entity/push/DeviceTokenHW.java index dd2b513..2be05ae 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/push/DeviceTokenHW.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/push/DeviceTokenHW.java @@ -24,6 +24,8 @@ private String device; @Column(name = "dh_uid") private UserInfo user; + @Column(name = "dh_version") + private Integer version; @Column(name = "dh_updatetime") private Date updateTime; @@ -75,4 +77,12 @@ this.deviceTokenMd5 = deviceTokenMd5; } + public Integer getVersion() { + return version; + } + + public void setVersion(Integer version) { + this.version = version; + } + } -- Gitblit v1.8.0