优惠券限制 is_enable
parent
09dd51bbbb
commit
406a3d17b5
|
|
@ -14,6 +14,10 @@ class CouponRange extends Model
|
|||
public const TYPE_CATEGORY = 1;
|
||||
public const TYPE_PRODUCT = 2;
|
||||
|
||||
protected $attributes = [
|
||||
'is_enable' => 1
|
||||
];
|
||||
|
||||
/**
|
||||
* 仅查询可用的券规则
|
||||
*/
|
||||
|
|
|
|||
Loading…
Reference in New Issue