| | |
| | | }
|
| | | }
|
| | | }
|
| | | |
| | |
|
| | | @Override
|
| | | @RequestSerializableByKeyService(key = "#uid")
|
| | | @Transactional(rollbackFor = Exception.class)
|
| | | public void upgradeVipByTeamNum(Long uid) {
|
| | | vipTeamVerify(uid);
|
| | | }
|
| | | |
| | |
|
| | | @Override
|
| | | @RequestSerializableByKeyService(key = "#tid")
|
| | |
| | | vipTeamVerify(boss.getId());
|
| | | }
|
| | |
|
| | | |
| | | |
| | | /**
|
| | | * 验证用户是否满足升级队员条件
|
| | | * @param uid
|
| | |
| | |
|
| | | long limitFirst7 = 0;
|
| | | String first7 = userVipConfigService.getValueByKey("vip_pre_7_first_level_team_count");
|
| | | if (Constant.IS_TEST)
|
| | | first7 = "30";
|
| | |
|
| | | if (!StringUtil.isNullOrEmpty(first7)) {
|
| | | limitFirst7 = Long.parseLong(first7);
|
| | | }
|
| | | |
| | | long limitSecond7 = 0;
|
| | | String second7 = userVipConfigService.getValueByKey("vip_pre_7_second_level_team_count");
|
| | | if (Constant.IS_TEST)
|
| | | second7 = "30";
|
| | | if (!StringUtil.isNullOrEmpty(second7)) {
|
| | | limitSecond7 = Long.parseLong(second7);
|
| | | }
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | | |
| | | |
| | | |
| | |
|
| | | /**
|
| | | * 二阶段
|
| | | *
|