feat : coupon

This commit is contained in:
2025-03-28 13:54:16 +08:00
parent 297b3363ad
commit b398364727
2 changed files with 25 additions and 5 deletions

View File

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