| | |
| | | // TODO 验证是否是导师
|
| | |
|
| | | JSONObject inner = new JSONObject();
|
| | | inner.put("link", userVipConfigService.getByKey("vip_link"));
|
| | | inner.put("link", userVipConfigService.getValueByKey("vip_link"));
|
| | | inner.put("ion", "http://img.flqapp.com/resource/vip/icon_vip.png");
|
| | | inner.put("title", "免费升级 享会员权益");
|
| | | inner.put("btnName", "升级会员");
|
| | | if (uid != null) {
|
| | | // 是否导师 TODO
|
| | | if (userVIPInfoService.isVIP(uid)) {
|
| | | inner.put("link", userVipConfigService.getByKey("vip_link"));
|
| | | inner.put("link", userVipConfigService.getValueByKey("vip_link"));
|
| | | inner.put("ion", "http://img.flqapp.com/resource/vip/icon_tearcher.png");
|
| | | inner.put("title", "拿五险与津贴 享导师权益");
|
| | | inner.put("btnName", "升级会员");
|
| | |
| | | if (vipInfo != null && vipInfo.getState() == UserVIPInfo.STATE_SUCCESS)
|
| | | time = vipInfo.getSuccessTime();
|
| | |
|
| | | } else if (level == UserLevelEnum.highVIP || level == UserLevelEnum.normalVIP) {
|
| | | } else if (level == UserLevelEnum.highVIP) {
|
| | | UserVIPPreInfo info = userVIPPreInfoService.selectByUidAndProcess(uid, level.getLevel());
|
| | | if (info != null)
|
| | | time = info.getCreateTime();
|