From 817761e47af7ea7bae164d3aa47337a7442f1c14 Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期一, 13 四月 2020 09:40:58 +0800 Subject: [PATCH] 消息调整 --- fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgAccountDetail.java | 29 ++++++++++++++++++----------- 1 files changed, 18 insertions(+), 11 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgAccountDetail.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgAccountDetail.java index d234af8..761074f 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgAccountDetail.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/msg/MsgAccountDetail.java @@ -16,25 +16,32 @@ @Table("yeshi_ec_msg_account") public class MsgAccountDetail { public enum MsgTypeAccountTypeEnum { - bingding("璐﹀彿缁戝畾"), - cancelBinding("鍙栨秷缁戝畾"), - bingdingChange("缁戝畾鏇存崲"), - update("璐﹀彿淇敼"), - level("璐﹀彿绛夌骇"), - connect("璐﹀彿鍚堝苟"), - taoBaoAuthFail("璐﹀彿缁戝畾"), - changeCode("璐﹀彿淇敼"), - vipApply("璐︽埛鍗囩骇"), - vipPgrade("绛夌骇鎴愰暱"); + bingding("璐﹀彿缁戝畾", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), + cancelBinding("鍙栨秷缁戝畾", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), + bingdingChange("缁戝畾鏇存崲", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), + update("璐﹀彿淇敼", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), + level("璐﹀彿绛夌骇", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), + connect("璐﹀彿鍚堝苟", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), + taoBaoAuthFail("璐﹀彿缁戝畾", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), + changeCode("璐﹀彿淇敼", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), + vipApply("璐︽埛鍗囩骇", "http://img.flqapp.com/resource/msg/icon_msg_account.png"), + vipPgrade("绛夌骇鎴愰暱","http://img.flqapp.com/resource/msg/icon_msg_account.png"); + private final String desc; + private final String icon; - private MsgTypeAccountTypeEnum(String desc) { + private MsgTypeAccountTypeEnum(String desc, String icon) { this.desc = desc; + this.icon = icon; } public String getDesc() { return desc; } + + public String getIcon() { + return icon; + } } @Column(name = "ma_id") -- Gitblit v1.8.0