| | |
| | | BigDecimal shareMoney = taoBaoGoodsBriefService.getShareGoodsUserHongBao(tb);
|
| | | data.put("shareMoney", "¥" + shareMoney);
|
| | | // 分享赚人提示
|
| | | List<ShamUser> listShareUser = shamUserService.listRandShareUser(10, shareMoney, 1, 5);
|
| | | List<ShamUser> listShareUser = new ArrayList<ShamUser>();
|
| | | if (tb.getBiz30day() >= 1000) {
|
| | | listShareUser = shamUserService.listRandShareUser(10, shareMoney, 1, 5);
|
| | | }
|
| | |
|
| | | // 判断收藏
|
| | | if (StringUtil.isNullOrEmpty(uid)) {
|
| | |
| | | goods.put("coupon", StringUtil.isNullOrEmpty(tb.getCouponInfo()) ? false : true);
|
| | |
|
| | | // 领券人列表
|
| | | List<ShamUser> listCouponUser = null;
|
| | | List<ShamUser> listCouponUser = new ArrayList<ShamUser>();
|
| | |
|
| | | // 获取券信息
|
| | | if (!StringUtil.isNullOrEmpty(tb.getCouponInfo())) {
|
| | |
| | | + tb.getCouponEffectiveEndTime().replace("-", "."));
|
| | | goods.put("couponInfo", couponInfo);
|
| | |
|
| | | // 领券人列表
|
| | | listCouponUser = shamUserService.listRandCouponUser(5, 1, 300);
|
| | | if (tb.getBiz30day() >= 1000) {
|
| | | // 领券人列表
|
| | | listCouponUser = shamUserService.listRandCouponUser(5, 1, 300);
|
| | | }
|
| | | }
|
| | |
|
| | | data.put("tbPidInfo", clientTBPid);
|