|
@@ -290,6 +290,8 @@ public class CouponMgrController extends BaseApiController {
|
|
}
|
|
}
|
|
}
|
|
}
|
|
Coupon coupon = mapperFacade.map(couponParam, Coupon.class);
|
|
Coupon coupon = mapperFacade.map(couponParam, Coupon.class);
|
|
|
|
+ String couponDetail = URLDecoder.decode(couponParam.getCouponDetail());
|
|
|
|
+ coupon.setCouponDetail(couponDetail);
|
|
// 1、校验修改代金券是否为当前用户的代金券
|
|
// 1、校验修改代金券是否为当前用户的代金券
|
|
Coupon oldCoupon = couponService.getById(coupon.getCouponId());
|
|
Coupon oldCoupon = couponService.getById(coupon.getCouponId());
|
|
if (null == oldCoupon || null == oldCoupon.getCouponId()) {
|
|
if (null == oldCoupon || null == oldCoupon.getCouponId()) {
|