6
0
Fork 0

优惠券限制 is_enable

base
panliang 2022-09-13 10:55:00 +08:00
parent 09dd51bbbb
commit 406a3d17b5
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@ class CouponRange extends Model
public const TYPE_CATEGORY = 1;
public const TYPE_PRODUCT = 2;
protected $attributes = [
'is_enable' => 1
];
/**
* 仅查询可用的券规则
*/