mirror of https://github.com/EasyAbp/EShop.git
42 changed files with 133 additions and 74 deletions
@ -1,11 +1,11 @@ |
|||
using Volo.Abp; |
|||
using EasyAbp.EShop.Plugins.Coupons; |
|||
|
|||
namespace EasyAbp.EShop.Orders.Plugins.Coupons.OrderDiscount |
|||
{ |
|||
public class CouponNotFoundOrHasExpiredException : BusinessException |
|||
{ |
|||
public CouponNotFoundOrHasExpiredException() : base("CouponNotFoundOrHasExpired", |
|||
"Coupon not found or has expired.") |
|||
public CouponNotFoundOrHasExpiredException() : base(CouponsErrorCodes.CouponNotFoundOrHasExpired) |
|||
{ |
|||
} |
|||
} |
|||
|
|||
@ -1,11 +1,11 @@ |
|||
using Volo.Abp; |
|||
using EasyAbp.EShop.Plugins.Coupons; |
|||
|
|||
namespace EasyAbp.EShop.Orders.Plugins.Coupons.OrderDiscount |
|||
{ |
|||
public class CouponTemplateNotFoundOrUnavailableException : BusinessException |
|||
{ |
|||
public CouponTemplateNotFoundOrUnavailableException() : base("CouponTemplateNotFoundOrUnavailable", |
|||
"Coupon template not found or unavailable.") |
|||
public CouponTemplateNotFoundOrUnavailableException() : base(CouponsErrorCodes.CouponTemplateNotFoundOrUnavailable) |
|||
{ |
|||
} |
|||
} |
|||
|
|||
@ -1,11 +1,11 @@ |
|||
using Volo.Abp; |
|||
using EasyAbp.EShop.Plugins.Coupons; |
|||
|
|||
namespace EasyAbp.EShop.Orders.Plugins.Coupons.OrderDiscount |
|||
{ |
|||
public class OrderDoesNotMeetCouponUsageConditionException : BusinessException |
|||
{ |
|||
public OrderDoesNotMeetCouponUsageConditionException() : base("OrderDoesNotMeetCouponUsageCondition", |
|||
"Order does not meet the coupon usage condition.") |
|||
public OrderDoesNotMeetCouponUsageConditionException() : base(CouponsErrorCodes.OrderDoesNotMeetCouponUsageCondition) |
|||
{ |
|||
} |
|||
} |
|||
|
|||
Loading…
Reference in new issue