|
|
|
@@ -286,7 +286,7 @@ public class WxCouponController extends BaseController { |
|
|
|
sb.append(coupon.getRemainInventory()); |
|
|
|
} |
|
|
|
sb.append(",\"inventory\":").append(coupon.getInventory()).append(",\"price\":").append(coupon.getPrice()).append(",\"creditPrice\":").append(coupon.getCreditPrice()); |
|
|
|
if (null != config && config.getConfigItemValue().equals("1")) { |
|
|
|
if (null != config && "1".equals(config.getConfigItemValue())) { |
|
|
|
sb.append(",\"selledCount\":").append(coupon.getInventory()-coupon.getRemainInventory()); |
|
|
|
} |
|
|
|
sb.append("}"); |
|
|
|
|