| | |
| | | import com.yeshi.fanli.util.VersionUtil;
|
| | | import com.yeshi.fanli.util.account.UserUtil;
|
| | | import com.yeshi.fanli.util.annotation.RequestSerializableByKey;
|
| | | import com.yeshi.fanli.vo.homemodule.BannerVO;
|
| | |
|
| | | import net.sf.json.JSONArray;
|
| | | import net.sf.json.JSONObject;
|
| | |
| | | data.put("moneyLastMonth", "---");
|
| | | } else {
|
| | | // 我的队员
|
| | | long myFirstTeamCount = threeSaleSerivce.getFirstUsersCount(Long.parseLong(uid));
|
| | | long mySecondTeamCount = threeSaleSerivce.getSecondUsersCount(Long.parseLong(uid));
|
| | | long myFirstTeamCount = threeSaleSerivce.countFirstTeam(Long.parseLong(uid));
|
| | | long mySecondTeamCount = threeSaleSerivce.countSecondTeam(Long.parseLong(uid));
|
| | | long myTeamCount = myFirstTeamCount + mySecondTeamCount;
|
| | | data.put("myTeam", myTeamCount);
|
| | | // 1.5.0后已经不使用此字段
|
| | |
| | | data.put("activityRules", valueBr);
|
| | | data.put("inviteList", String.format("http://%s/%s/client/share/friends_new.html",
|
| | | Constant.systemCommonConfig.getProjectHost(), Constant.systemCommonConfig.getProjectName()));
|
| | | List<SwiperPicture> pictureList = swiperPictureService.getByBannerCardAndVersion("invite_top_banner",
|
| | | List<BannerVO> pictureList = swiperPictureService.getByBannerCardAndVersion("invite_top_banner",
|
| | | acceptData.getPlatform(), Integer.parseInt(acceptData.getVersion()));
|
| | | if (pictureList != null && pictureList.size() > 0) {
|
| | | SwiperPicture picture = pictureList.get(0);
|
| | | BannerVO picture = pictureList.get(0);
|
| | | com.alibaba.fastjson.JSONObject pictureJson = new com.alibaba.fastjson.JSONObject();
|
| | | pictureJson.put("src", picture.getSrc());
|
| | | pictureJson.put("jumpDetail", picture.getJumpDetail());
|