| | |
| | | import com.yeshi.fanli.service.inter.taobao.dataoke.DaTaoKeGoodsDetailService;
|
| | | import com.yeshi.fanli.service.inter.taobao.dataoke.DaTaoKeGoodsDetailV2Service;
|
| | | import com.yeshi.fanli.util.StringUtil;
|
| | | import com.yeshi.fanli.util.TaoBaoConstant;
|
| | | import com.yeshi.fanli.util.taobao.TaoBaoUtil;
|
| | | import com.yeshi.fanli.util.taobao.TaoKeApiUtil;
|
| | |
|
| | |
| | | try {
|
| | | taoLiJinDTO = TaoKeApiUtil.createTaoLiJin(auctionId, "淘礼金验证", new BigDecimal("1.00"), 1, new Date(),
|
| | | new Date(System.currentTimeMillis() + 1000 * 60 * 60 * 6), new Date(),
|
| | | new Date(System.currentTimeMillis() + 1000 * 60 * 60 * 6),
|
| | | info);
|
| | | new Date(System.currentTimeMillis() + 1000 * 60 * 60 * 6), info);
|
| | | } catch (TaoKeApiException e) {
|
| | | if (e.getCode() == TaoKeApiException.CODE_TLJ_FORBIDDEN) {
|
| | | // 该商品不支持创建淘礼金红包
|
| | |
| | | shareHotGoods.getGoods().setCouponStartFee(goods.getCouponStartFee());
|
| | | shareHotGoods.getGoods().setCouponTotalCount(goods.getCouponTotalCount());
|
| | | shareHotGoods.getGoods().setBiz30day(goods.getBiz30day());
|
| | | shareHotGoods.getGoods().setTkRate(goods.getTkRate());
|
| | | shareHotGoodsDao.save(shareHotGoods);
|
| | | }
|
| | | }
|