From 2c3f16fddfe335e31c9f8ea943072dc8383c67d9 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期四, 14 五月 2020 15:34:36 +0800 Subject: [PATCH] 管理员自主开通会员bug修改 --- fanli/src/main/java/com/yeshi/fanli/controller/client/v2/InviteControllerV2.java | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/InviteControllerV2.java b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/InviteControllerV2.java index ae4d6f0..c98803b 100644 --- a/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/InviteControllerV2.java +++ b/fanli/src/main/java/com/yeshi/fanli/controller/client/v2/InviteControllerV2.java @@ -477,7 +477,7 @@ object.put("level", level.name()); object.put("validFans", validFans); - if (wxtip && type == 1 && threeSale.getState() != null && threeSale.getState()) { + if (wxtip) { // 涓�绾ч槦鍛� 鏌ヨ鏄电О澶囨敞 String memoName = null; ThreeSaleExtraInfo threeSaleExtraInfo = threeSale.getThreeSaleExtraInfo(); @@ -488,7 +488,7 @@ } object.put("memoName", memoName); - if (!VersionUtil.greaterThan_2_1_1(acceptData.getPlatform(), acceptData.getVersion())) { + if (type == 1 && !VersionUtil.greaterThan_2_1_1(acceptData.getPlatform(), acceptData.getVersion())) { // 娣诲姞寰俊淇℃伅 if (userInfoExtra != null && !StringUtil.isNullOrEmpty(userInfoExtra.getWeiXin())) { object.put("weiXin", userInfoExtra.getWeiXin()); @@ -904,7 +904,8 @@ if (focus.getStateValid() != null || focus.getTaobaoBind() != null || focus.getWeixinBind() != null || focus.getMinFansNum() != null || focus.getMinFansNum() != null || focus.getMinActiveTime() != null || focus.getMaxActiveTime() != null - || focus.getMinIncome() != null || focus.getMaxIncome() != null || !StringUtil.isNullOrEmpty(focus.getKey())) + || focus.getMinIncome() != null || focus.getMaxIncome() != null + || !StringUtil.isNullOrEmpty(focus.getKey()) || !StringUtil.isNullOrEmpty(focus.getLevel())) return true; return false; -- Gitblit v1.8.0