yujian
2019-03-01 b235dc9f05d63c8e6a783b37af59e33537b4df3b
福利免单券 激活跳转邀请有奖
1个文件已修改
23 ■■■■ 已修改文件
fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponServiceImpl.java 23 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/service/impl/user/UserSystemCouponServiceImpl.java
@@ -310,22 +310,21 @@
                }
                jumpBtn = new HashMap<String, Object>();
                Map<String, Object> jumpLink = new HashMap<String, Object>();
                
                UserInfoExtra userInfoExtra = userInfoExtraService.getUserInfoExtra(uid);
                
                // 邀请队员界面
                if (userInfoExtra != null && userInfoExtra.getInviteCode() != null
                        && userInfoExtra.getInviteCode().trim().length() > 0) {
                    // 邀请激活成功界面
                    jumpLink.put("url", configService.get("invite_activation_success_url") + "?alert=true");
                } else {
                    // 激活邀请码界面
                    jumpLink.put("url", configService.get("invite_activation_url"));
                }
                /*
                 * Map<String, Object> jumpLink = new HashMap<String, Object>();
                 *UserInfoExtra userInfoExtra = userInfoExtraService.getUserInfoExtra(uid);
                 * if (userInfoExtra != null && userInfoExtra.getInviteCode() != null &&
                 * userInfoExtra.getInviteCode().trim().length() > 0) { // 邀请激活成功界面
                 * jumpLink.put("url", configService.get("invite_activation_success_url") +
                 * "?alert=true"); } else { // 激活邀请码界面 jumpLink.put("url",
                 * configService.get("invite_activation_url")); }
                 *    jumpBtn.put("params", jumpLink);
                 */
                
                jumpBtn.put("params", jumpLink);
                jumpBtn.put("jumpDetail", jumpDetailV2Service.getByTypeCache("invite_web"));
                jumpBtn.put("jumpDetail", jumpDetailV2Service.getByTypeCache("invite"));
            } else if (stateActivated == 1) {
                // 显示规则