Commit 59f90843 by chongfu.liang

代金券和折扣券部分使用

parent cd07bfab
......@@ -128,6 +128,12 @@ public class GetMemberCouponListResponseDto {
* 商品信息(商品id)
*/
private List<String> activeProducts;
/**
* 券图片地址
*/
private String logo;
}
}
......
......@@ -578,6 +578,7 @@ public class CouponServiceImpl implements CouponService {
activityCouponBean.setSelected(YesOrNoEnum.NO.getCode());
}
if (hasGoodsCoupon) {
activityCouponBean.setCouponPic(memberCoupon.getLogo());
if (StringUtils.isNotBlank(unChooseCouponCode) && unChooseCouponCode.equals(activityCouponBean.getCouponCode())){
activityCouponBean.setSelected(YesOrNoEnum.YES.getCode());
usableCoupons.add(activityCouponBean);
......
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