Skip to content

类型: Prize ​

属性 ​

activity_alias ​

• activity_alias: string

活动别名,方便检索

act-hooks/types.ts


available_date ​

• Optional available_date: string

可用日期

act-hooks/types.ts


available_store ​

• Optional available_store: string

可用门店

act-hooks/types.ts


bundle_id ​

• Optional bundle_id: string

奖品所属组合的 id,仅供奖品组合的子奖品使用

act-hooks/types.ts


cert_id ​

• Optional cert_id: number

微信发券证书 id(客户端不可见)

act-hooks/types.ts


extension ​

• Optional extension: object

扩展字段

act-hooks/types.ts


id ​

• id: string

奖品 ID

act-hooks/types.ts


image ​

• Optional image: string

奖品图片

act-hooks/types.ts


inventory ​

• inventory: number

库存

act-hooks/types.ts


name ​

• name: string

奖品名称

act-hooks/types.ts


remaining_inventory ​

• remaining_inventory: number

剩余库存

act-hooks/types.ts


rule ​

• rule: string

奖品使用规则

act-hooks/types.ts


stock_id ​

• Optional stock_id: string

票券批次号

act-hooks/types.ts


threshold ​

• Optional threshold: number

票券使用门槛,单位分

act-hooks/types.ts


type ​

• type: PrizeType

奖品类型

act-hooks/types.ts


valid_from ​

• valid_from: number

有效期开始时间,unix 时间戳

act-hooks/types.ts


valid_until ​

• valid_until: number

有效期结束时间

act-hooks/types.ts


value ​

• Optional value: number

票券面额,单位分

act-hooks/types.ts