admin
2019-01-19 02b81b52fbba024632f354d93f48586043a818ed
fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java
@@ -76,9 +76,10 @@
         items.add(new CommonMsgItemVO(new ClientTextStyleVO("邀请奖金", "#888888"), contentList));
      contentList = new ArrayList<>();
      contentList.add(new ClientTextStyleVO(msg.getBeiZhu(), "#000000"));
      contentList.add(
            new ClientTextStyleVO(StringUtil.isNullOrEmpty(msg.getBeiZhu()) ? "无" : msg.getBeiZhu(), "#000000"));
      items.add(new CommonMsgItemVO(new ClientTextStyleVO("备注", "#888888"), contentList));
      return new UserMsgVO("http://ec-1255749512.file.myqcloud.com/resource/portrait.png", "订单消息",
      return new UserMsgVO("http://img.flqapp.com/resource/msg/icon_msg_order.png", "订单消息",
            msg.getUpdateTime() == null ? msg.getCreateTime() : msg.getUpdateTime(), items);
   }
@@ -140,9 +141,10 @@
         }
         contentList = new ArrayList<>();
         contentList.add(new ClientTextStyleVO(msg.getBeiZhu(), COLOR_CONTENT));
         contentList.add(new ClientTextStyleVO(StringUtil.isNullOrEmpty(msg.getBeiZhu()) ? "无" : msg.getBeiZhu(),
               COLOR_CONTENT));
         items.add(new CommonMsgItemVO(new ClientTextStyleVO("备注", "#888888"), contentList));
         return new UserMsgVO("http://ec-1255749512.file.myqcloud.com/resource/portrait.png", "提现",
         return new UserMsgVO("http://img.flqapp.com/resource/msg/icon_msg_extract.png", "提现",
               msg.getUpdateTime() == null ? msg.getCreateTime() : msg.getUpdateTime(), items);
      } else if (msg.getMsgType() == MsgTypeMoneyTypeEnum.extractValid) {
         // 支付宝验证
@@ -165,10 +167,11 @@
         items.add(new CommonMsgItemVO(new ClientTextStyleVO("状态说明", "#888888"), contentList));
         contentList = new ArrayList<>();
         contentList.add(new ClientTextStyleVO(msg.getBeiZhu(), COLOR_CONTENT));
         contentList.add(new ClientTextStyleVO(StringUtil.isNullOrEmpty(msg.getBeiZhu()) ? "无" : msg.getBeiZhu(),
               COLOR_CONTENT));
         items.add(new CommonMsgItemVO(new ClientTextStyleVO("备注", "#888888"), contentList));
         return new UserMsgVO("http://ec-1255749512.file.myqcloud.com/resource/portrait.png", "提现账号验证",
         return new UserMsgVO("http://img.flqapp.com/resource/msg/icon_msg_extract.png", "提现账号验证",
               msg.getUpdateTime() == null ? msg.getCreateTime() : msg.getUpdateTime(), items);
      } else if (msg.getMsgType() == MsgTypeMoneyTypeEnum.fanli) {
         // 返利到账
@@ -192,10 +195,11 @@
         items.add(new CommonMsgItemVO(new ClientTextStyleVO("账号余额", COLOR_TITLE), contentList));
         contentList = new ArrayList<>();
         contentList.add(new ClientTextStyleVO(msg.getBeiZhu(), COLOR_CONTENT));
         contentList.add(new ClientTextStyleVO(StringUtil.isNullOrEmpty(msg.getBeiZhu()) ? "无" : msg.getBeiZhu(),
               COLOR_CONTENT));
         items.add(new CommonMsgItemVO(new ClientTextStyleVO("备注", COLOR_TITLE), contentList));
         return new UserMsgVO("http://ec-1255749512.file.myqcloud.com/resource/portrait.png", "返利到账",
         return new UserMsgVO("http://img.flqapp.com/resource/msg/icon_msg_fanli.png", "返利到账",
               msg.getUpdateTime() == null ? msg.getCreateTime() : msg.getUpdateTime(), items);
      } else if (msg.getMsgType() == MsgTypeMoneyTypeEnum.invite || msg.getMsgType() == MsgTypeMoneyTypeEnum.share) {
@@ -222,7 +226,8 @@
         items.add(new CommonMsgItemVO(new ClientTextStyleVO("账号余额", COLOR_TITLE), contentList));
         contentList = new ArrayList<>();
         contentList.add(new ClientTextStyleVO(msg.getBeiZhu(), COLOR_CONTENT));
         contentList.add(new ClientTextStyleVO(StringUtil.isNullOrEmpty(msg.getBeiZhu()) ? "无" : msg.getBeiZhu(),
               COLOR_CONTENT));
         items.add(new CommonMsgItemVO(new ClientTextStyleVO("备注", COLOR_TITLE), contentList));
         Calendar ca = Calendar.getInstance();
@@ -230,7 +235,7 @@
         ca.add(Calendar.MONTH, -1);
         String date = ca.get(Calendar.YEAR) + "年" + (ca.get(Calendar.MONTH) + 1) + "月";
         return new UserMsgVO("http://ec-1255749512.file.myqcloud.com/resource/portrait.png",
         return new UserMsgVO("http://img.flqapp.com/resource/msg/icon_msg_share_money.png",
               date + msg.getMsgType().getDesc(),
               msg.getUpdateTime() == null ? msg.getCreateTime() : msg.getUpdateTime(), items);
      }
@@ -277,9 +282,10 @@
      items.add(new CommonMsgItemVO(new ClientTextStyleVO("状态", COLOR_TITLE), contentList));
      contentList = new ArrayList<>();
      contentList.add(new ClientTextStyleVO(msg.getBeiZhu() + "", COLOR_CONTENT));
      contentList.add(new ClientTextStyleVO(StringUtil.isNullOrEmpty(msg.getBeiZhu()) ? "无" : msg.getBeiZhu() + "",
            COLOR_CONTENT));
      items.add(new CommonMsgItemVO(new ClientTextStyleVO("备注", COLOR_TITLE), contentList));
      return new UserMsgVO("http://ec-1255749512.file.myqcloud.com/resource/portrait.png", msg.getType().getDesc(),
      return new UserMsgVO("http://img.flqapp.com/resource/msg/icon_msg_account.png", msg.getType().getDesc(),
            msg.getUpdateTime() == null ? msg.getCreateTime() : msg.getUpdateTime(), items);
   }
@@ -302,10 +308,11 @@
      items.add(new CommonMsgItemVO(new ClientTextStyleVO("说明", COLOR_TITLE), contentList));
      contentList = new ArrayList<>();
      contentList.add(new ClientTextStyleVO(msg.getBeiZhu() + "", COLOR_CONTENT));
      contentList.add(new ClientTextStyleVO(StringUtil.isNullOrEmpty(msg.getBeiZhu()) ? "无" : msg.getBeiZhu(),
            COLOR_CONTENT));
      items.add(new CommonMsgItemVO(new ClientTextStyleVO("备注", COLOR_TITLE), contentList));
      return new UserMsgVO("http://ec-1255749512.file.myqcloud.com/resource/portrait.png", msg.getMsgType().getDesc(),
      return new UserMsgVO("http://img.flqapp.com/resource/msg/icon_msg_invite.png", msg.getMsgType().getDesc(),
            msg.getUpdateTime() == null ? msg.getCreateTime() : msg.getUpdateTime(), items);
   }