Commit 17ff2567 by ping.wu

加价购买虚拟商品券包

parent 2d663d44
......@@ -3126,6 +3126,10 @@ public class OrderSdkAdapter {
extInfo.setNeedBonus(product.getNeedBonus());
}
if (product.getExtInfo() != null) {
extInfo.setProductBindingCoupons(JSONArray.parseArray(product.getExtInfo(),ProductBindingCouponType.class));
}
orderItemCreateReq.setExtInfo(JSONObject.toJSONString(extInfo));
// 拼单加购人信息 add by miaohui 2020.10.12 start
......
......@@ -271,4 +271,6 @@ public class CreateOrderProductRequest extends BaseConfig {
//积分商品活动使用总积分
private Long score;
private String extInfo;
}
......@@ -2837,6 +2837,7 @@ public class OrderAdapter {
createOrderProductDemoDto.setCartGoodsUid(cartGoodsDetailDto.getCartGoodsUid());
createOrderProductDemoDto.setOriginalGoodsUid(cartGoodsDetailDto.getOriginalGoodsUid());
createOrderProductDemoDto.setScore(cartGoodsDetailDto.getScore());
createOrderProductDemoDto.setExtInfo(cartGoodsDetailDto.getExtInfo());
return createOrderProductDemoDto;
}
......
......@@ -337,6 +337,8 @@ public class ShoppingCartGoodsDto {
*/
private String originalGoodsUid;
private String extInfo;
@Data
public final static class CartGoodsExtra {
/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment