From 44255910ce75cecb3d34c00cf963a3fe6ebd3fc6 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 05 八月 2019 12:10:58 +0800 Subject: [PATCH] 去除已经废弃的淘客API --- fanli/src/main/java/com/yeshi/fanli/util/factory/msg/UserMsgVOFactory.java | 3 +-- 1 files changed, 1 insertions(+), 2 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..7be7ea3 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)); -- Gitblit v1.8.0