|
|
|
@@ -226,10 +226,6 @@ public class WxCouponController extends BaseController { |
|
|
|
if(null == coupon){ |
|
|
|
return new ResultData(Result.ERROR,"id参数错误"); |
|
|
|
} |
|
|
|
if (wxCoupon.getContentType().intValue() == EnumCouponContentType.NORMAL.getCode().intValue()) { |
|
|
|
wxCoupon.setRemark(wxCoupon.getHtml()); |
|
|
|
wxCoupon.setHtml(null); |
|
|
|
} |
|
|
|
wxCouponService.update(wxCoupon); |
|
|
|
CouponCacheUtils.removeCouponCache(redisTemplate, wxCoupon.getId()); |
|
|
|
CouponCacheUtils.removeCouponMerchantCache(redisTemplate, wxCoupon.getId(),null); |
|
|
|
|