|
|
|
@@ -344,7 +344,7 @@ public class WxCarController extends BaseController { |
|
|
|
} |
|
|
|
return result; |
|
|
|
} |
|
|
|
return new ResultData(Result.SUCCESS,"已经使用过优惠券, 不能重复使用."); |
|
|
|
return new ResultData(Result.ERROR,"已经使用过优惠券, 不能重复使用."); |
|
|
|
} else { |
|
|
|
WxCoupon coupon = couponService.getById(userCar.getCouponId(),park.getFinalTenantId()); |
|
|
|
if (coupon == null) { |
|
|
|
@@ -361,7 +361,7 @@ public class WxCarController extends BaseController { |
|
|
|
return new ResultData(rs.code,rs.message); |
|
|
|
} |
|
|
|
} |
|
|
|
return new ResultData(Result.SUCCESS,"已经使用过优惠券, 不能重复使用."); |
|
|
|
return new ResultData(Result.ERROR,"已经使用过优惠券, 不能重复使用."); |
|
|
|
} catch (Exception e) { |
|
|
|
logger.error("park getCoupon error",e); |
|
|
|
return new ResultData(Result.ERROR,e.getMessage()); |
|
|
|
|