|
|
|
@@ -258,7 +258,12 @@ public class WxCouponController extends BaseController { |
|
|
|
return new ResultData(ResultData.ERROR, "券未查询到。"+wxCoupon.getId()); |
|
|
|
} |
|
|
|
|
|
|
|
ResultData result = wxCouponService.updateTtProduct(wxCoupon); |
|
|
|
coupon.setProductType(wxCoupon.getProductType()); |
|
|
|
coupon.setCategoryId(wxCoupon.getCategoryId()); |
|
|
|
coupon.setProductAttrs(wxCoupon.getProductAttrs()); |
|
|
|
coupon.setSkuAttrs(wxCoupon.getSkuAttrs()); |
|
|
|
|
|
|
|
ResultData result = wxCouponService.updateTtProduct(coupon); |
|
|
|
CouponCacheUtils.removeCouponCache(redisTemplate, wxCoupon.getId()); |
|
|
|
CouponCacheUtils.removeCouponMerchantCache(redisTemplate, wxCoupon.getId()); |
|
|
|
return result; |
|
|
|
|