| | |
| | | import com.yeshi.fanli.entity.bus.user.ThreeSale;
|
| | | import com.yeshi.fanli.entity.bus.user.UserInfo;
|
| | | import com.yeshi.fanli.entity.system.BusinessSystem;
|
| | | import com.yeshi.fanli.entity.system.ConfigKeyEnum;
|
| | | import com.yeshi.fanli.entity.system.SystemClientParams;
|
| | | import com.yeshi.fanli.exception.NotExistObjectException;
|
| | | import com.yeshi.fanli.exception.user.UserInfoExtraException;
|
| | |
| | | data.put("topBanner", pictureJson);
|
| | | }
|
| | |
|
| | | data.put("desc", configService.get("invite_desc"));
|
| | | data.put("desc", configService.get(ConfigKeyEnum.inviteDesc.getKey()));
|
| | |
|
| | | boolean hasCode = false;
|
| | | if (uid != null && uid.trim().length() > 0) {
|
| | |
| | |
|
| | | // 邀请激活链接
|
| | | if (!hasCode) {
|
| | | data.put("activationlink", configService.get("invite_activation_url"));
|
| | | data.put("activationlink", configService.get(ConfigKeyEnum.inviteActivationUrl.getKey()));
|
| | | }
|
| | |
|
| | | data.put("hasCode", hasCode);
|
| | |
| | | String valueN = values.getValue();
|
| | | String valueBr = valueN.replace("\n", "<br><br>");
|
| | |
|
| | | data.put("helpLink", configService.get("invite_help_link"));
|
| | | data.put("helpLink", configService.get(ConfigKeyEnum.inviteHelpLink.getKey()));
|
| | |
|
| | | data.put("inviteRules", valueBr);
|
| | | out.print(JsonUtil.loadTrue(0, JsonUtil.getSimpleGson().toJson(data), "成功"));
|
| | |
| | | @RequestMapping(value = "getActivationTip")
|
| | | public void getActivationTip(AcceptData acceptData, String callback, PrintWriter out) {
|
| | | try {
|
| | | String tip = configService.get("invite_activation_tip");
|
| | | String tip = configService.get(ConfigKeyEnum.inviteActivationTip.getKey());
|
| | | if (tip == null || tip.trim().length() == 0) {
|
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("暂无提醒"));
|
| | | return;
|
| | |
| | | JsonUtil.printMode(out, callback, JsonUtil.loadFalseResult("邀请码不存在"));
|
| | | return;
|
| | | }
|
| | | String tip = configService.get("invite_activation_success_tip");
|
| | | String tip = configService.get(ConfigKeyEnum.inviteActivationSuccessTip.getKey());
|
| | |
|
| | | JSONObject data = new JSONObject();
|
| | | data.put("inviteCode", inviteCode);
|