feat : coupon

This commit is contained in:
2025-03-05 10:31:19 +08:00
parent 63f60bc92b
commit 75f649676d
5 changed files with 110 additions and 11 deletions

View File

@@ -39,11 +39,11 @@ class CouponCode
CONST INT DISPENSE_CLAIM_RULE_SINGLE_PAGE = 3;
/**
* @var int 优惠券状态 1 未使用 2 已使用 3 过期
* @var int 优惠券状态 1 未使用 2 已使用 3 过期
*/
CONST INT COUPON_STATUS_UNUSED = 1;
CONST INT COUPON_STATUS_USED = 2;
CONST INT COUPON_STATUS_NOT_EXPIRE = 3;
CONST INT COUPON_STATUS_EXPIRE = 3;
/**
* @var int 优惠券发放状态 1 未领取 2 已领取