|
@@ -307,11 +307,11 @@ public class CmCouponController extends BaseController {
|
|
|
String wwwServer = Global.getConfig("wwwServer");
|
|
|
product.setMainImage(AppUtils.getImageURL("product", product.getMainImage(), 0, wwwServer));
|
|
|
//展示全部可用普通优惠券,不包含已领取兑换优惠券
|
|
|
- List<CmCoupon> ordinaryCoupons = cmCouponService.findClubCouponList(product, 1);
|
|
|
+ List<CmCoupon> ordinaryCoupons = cmCouponService.findClubCouponList(product, 2);
|
|
|
//展示全部可用兑换优惠券
|
|
|
List<CmCoupon> redeemCoupons = cmCouponService.findNotRedeemedCoupon(product);
|
|
|
//展示全部可用价值优惠券
|
|
|
- List<CmCoupon> moneyCoupons = cmCouponService.findClubCouponList(product, 2);
|
|
|
+ List<CmCoupon> moneyCoupons = cmCouponService.findClubCouponList(product, 1);
|
|
|
model.addAttribute("product", product);
|
|
|
model.addAttribute("ordinaryCoupons", ordinaryCoupons);
|
|
|
model.addAttribute("redeemCoupons", redeemCoupons);
|