coupon add validdays

This commit is contained in:
zhl 2021-07-02 15:25:45 +08:00
parent 304e7037bc
commit 2c37fd620e

View File

@ -51,6 +51,13 @@ class CouponClass extends BaseModule {
*/ */
@prop() @prop()
public validEnd: number public validEnd: number
/**
*
* 0: 永不过期
*/
@prop({ default: 0 })
public validDays: number
/** /**
* *
* @type {boolean} * @type {boolean}