|
|
|
@@ -412,6 +412,10 @@ public class WxCouponOrderServiceImpl implements WxCouponOrderService { |
|
|
|
logger.error("找不到券信息"); |
|
|
|
throw new MallinkException(ErrorCode.COUPON_IS_EMPTY); |
|
|
|
} |
|
|
|
if(coupon.getSalePrice().equals(0)) { |
|
|
|
logger.info("免费券不发模板消息!"); |
|
|
|
return; |
|
|
|
} |
|
|
|
// 3. merchant info |
|
|
|
WxMerchant merchant = wxMerchantMapper.selectByPrimaryKey(bUser.getMerchantId()); |
|
|
|
if (merchant == null) { |
|
|
|
|