| | |
| | | // + Constant.systemCommonConfig.getProjectName() + "/client/threeShareNew?uid=" + uid);
|
| | | data.put("inviteLink", "http://a.app.qq.com/o/simple.jsp?pkgname=com.yeshi.ec.rebate");
|
| | |
|
| | | UserInfoExtra userInfoExtra = userInfoExtraService.getUserInfoExtra(uid);
|
| | | if (userInfoExtra != null) {
|
| | | data.put("inviteCode", userInfoExtra.getInviteCode());
|
| | | String inviteCode = userInfoExtraService.getInviteCodeByUid(uid);
|
| | | if (!StringUtil.isNullOrEmpty(inviteCode)) {
|
| | | data.put("inviteCode", inviteCode);
|
| | | }
|
| | |
|
| | | // 邀请规则
|
| | |
| | | return;
|
| | | }
|
| | |
|
| | | UserInfoExtra userInfoExtra = userInfoExtraService.getUserInfoExtra(uid);
|
| | | if (userInfoExtra == null || userInfoExtra.getInviteCode() == null) {
|
| | | String inviteCode = userInfoExtraService.getInviteCodeByUid(uid);
|
| | | if (StringUtil.isNullOrEmpty(inviteCode)) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("邀请码不存在"));
|
| | | return;
|
| | | }
|
| | | String tip = configService.get("invite_activation_success_tip");
|
| | |
|
| | | JSONObject data = new JSONObject();
|
| | | data.put("inviteCode", userInfoExtra.getInviteCode());
|
| | | data.put("inviteCode", inviteCode);
|
| | | data.put("tip", tip);
|
| | |
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadTrueResult(data));
|