From 3fc84b5d4b36ce9ab5cea84ee1b54942c8e04ef9 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 08 八月 2019 16:55:52 +0800 Subject: [PATCH] 拼多多短链修改 --- fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java | 5 ++--- 1 files changed, 2 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java b/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java index 2f5748f..c4703ef 100644 --- a/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java +++ b/fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java @@ -97,8 +97,7 @@ String orderId = msg.getOrderId(); MsgTypeOrderTypeEnum type = msg.getType(); if (type == MsgTypeOrderTypeEnum.invite || type == MsgTypeOrderTypeEnum.share) { - orderId = orderId.substring(0, orderId.length() - 6); - orderId = orderId + "******"; + orderId = UserUtil.filterOrderId(orderId); } contentList = new ArrayList<>(); contentList.add(new ClientTextStyleVO(orderId, COLOR_CONTENT)); @@ -236,7 +235,7 @@ items.add(new CommonMsgItemVO(new ClientTextStyleVO("鎻愮幇閲戦", COLOR_TITLE), contentList)); contentList = new ArrayList<>(); - contentList.add(new ClientTextStyleVO("楼楠岃瘉鎴愬姛", COLOR_HIGHLIGHT_CONTENT)); + contentList.add(new ClientTextStyleVO("楠岃瘉鎴愬姛", COLOR_HIGHLIGHT_CONTENT)); items.add(new CommonMsgItemVO(new ClientTextStyleVO("楠岃瘉鐘舵��", COLOR_TITLE), contentList)); contentList = new ArrayList<>(); -- Gitblit v1.8.0