From 8cbb5ef78af910b4193e45fd6454d2dc862e0a8c Mon Sep 17 00:00:00 2001 From: yujian <yujian@163.com> Date: 星期二, 10 十二月 2019 17:08:08 +0800 Subject: [PATCH] 维权订单不显示奖励券入口 --- fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ShareControllerV2.java | 10 +++++++--- 1 files changed, 7 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ShareControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ShareControllerV2.java index 8cf06af..4dbe52b 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ShareControllerV2.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/ShareControllerV2.java @@ -253,9 +253,13 @@ UserExtraTaoBaoInfo extraInfo = userExtraTaoBaoInfoService.getByUid(uid); UserInfoExtra userExtraInfo = userInfoExtraService.getUserInfoExtra(uid); String inviteCode = null; - if (userExtraInfo != null) - inviteCode = userExtraInfo.getInviteCode(); - + if (userExtraInfo != null) { + if (!StringUtil.isNullOrEmpty(userExtraInfo.getInviteCodeVip())) { + inviteCode = userExtraInfo.getInviteCodeVip(); + } else { + inviteCode = userExtraInfo.getInviteCode(); + } + } String relationId = null; if (extraInfo != null && extraInfo.getRelationId() != null && extraInfo.getRelationValid() != null && extraInfo.getRelationValid() == true) -- Gitblit v1.8.0