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 Volo.Abp; |
||||
|
using EasyAbp.EShop.Plugins.Coupons; |
||||
|
|
||||
namespace EasyAbp.EShop.Orders.Plugins.Coupons.OrderDiscount |
namespace EasyAbp.EShop.Orders.Plugins.Coupons.OrderDiscount |
||||
{ |
{ |
||||
public class CouponNotFoundOrHasExpiredException : BusinessException |
public class CouponNotFoundOrHasExpiredException : BusinessException |
||||
{ |
{ |
||||
public CouponNotFoundOrHasExpiredException() : base("CouponNotFoundOrHasExpired", |
public CouponNotFoundOrHasExpiredException() : base(CouponsErrorCodes.CouponNotFoundOrHasExpired) |
||||
"Coupon not found or has expired.") |
|
||||
{ |
{ |
||||
} |
} |
||||
} |
} |
||||
|
|||||
@ -1,11 +1,11 @@ |
|||||
using Volo.Abp; |
using Volo.Abp; |
||||
|
using EasyAbp.EShop.Plugins.Coupons; |
||||
|
|
||||
namespace EasyAbp.EShop.Orders.Plugins.Coupons.OrderDiscount |
namespace EasyAbp.EShop.Orders.Plugins.Coupons.OrderDiscount |
||||
{ |
{ |
||||
public class CouponTemplateNotFoundOrUnavailableException : BusinessException |
public class CouponTemplateNotFoundOrUnavailableException : BusinessException |
||||
{ |
{ |
||||
public CouponTemplateNotFoundOrUnavailableException() : base("CouponTemplateNotFoundOrUnavailable", |
public CouponTemplateNotFoundOrUnavailableException() : base(CouponsErrorCodes.CouponTemplateNotFoundOrUnavailable) |
||||
"Coupon template not found or unavailable.") |
|
||||
{ |
{ |
||||
} |
} |
||||
} |
} |
||||
|
|||||
@ -1,11 +1,11 @@ |
|||||
using Volo.Abp; |
using Volo.Abp; |
||||
|
using EasyAbp.EShop.Plugins.Coupons; |
||||
|
|
||||
namespace EasyAbp.EShop.Orders.Plugins.Coupons.OrderDiscount |
namespace EasyAbp.EShop.Orders.Plugins.Coupons.OrderDiscount |
||||
{ |
{ |
||||
public class OrderDoesNotMeetCouponUsageConditionException : BusinessException |
public class OrderDoesNotMeetCouponUsageConditionException : BusinessException |
||||
{ |
{ |
||||
public OrderDoesNotMeetCouponUsageConditionException() : base("OrderDoesNotMeetCouponUsageCondition", |
public OrderDoesNotMeetCouponUsageConditionException() : base(CouponsErrorCodes.OrderDoesNotMeetCouponUsageCondition) |
||||
"Order does not meet the coupon usage condition.") |
|
||||
{ |
{ |
||||
} |
} |
||||
} |
} |
||||
|
|||||
Loading…
Reference in new issue