| | |
| | | // 大淘客数据
|
| | | DaTaoKeDetail daTaoKe = daTaoKeGoodsService.getGoodsNotInList(subclassId, listId, 1).get(0);
|
| | |
|
| | | try {
|
| | | daTaoKe = DaTaoKeUtil.filterDaTaoKe(TaoKeApiUtil.searchGoodsDetail(daTaoKe.getGoodsId()), daTaoKe);
|
| | | } catch (Exception e) {
|
| | |
|
| | | }
|
| | |
|
| | | List<TaoBaoGoodsBrief> listGoods = new ArrayList<TaoBaoGoodsBrief>();
|
| | | TaoBaoGoodsBrief taoBaoGoodsBrief = TaoBaoUtil.convert(daTaoKe);
|
| | | listGoods.add(taoBaoGoodsBrief);
|
| | |
| | | BigDecimal shareRate = hongBaoManageService.getShareRate();
|
| | |
|
| | | for (DynamicInfo dynamicInfo: list) {
|
| | | |
| | | TaoBaoShop shop = dynamicInfo.getShop();
|
| | | if (shop != null) {
|
| | | Integer userType = shop.getUserType();
|
| | | if (userType == null || userType == 0) {
|
| | | shop.setUserType(10);
|
| | | } else {
|
| | | shop.setUserType(11);
|
| | | }
|
| | | dynamicInfo.setShop(shop);
|
| | | }
|
| | | |
| | | |
| | | List<GoodsPicture> imgs = dynamicInfo.getImgs();
|
| | | if (imgs != null && imgs.size() > 0) {
|
| | | for (GoodsPicture goodsPicture: imgs) {
|