Skip to content

类型: PrizeLog ​

Hierarchy ​

属性 ​

activity ​

• activity: string | Activity

关联的活动,可取得最新活动状态,决定中奖记录页的各种交互

act-hooks/types.ts


activity_alias ​

• activity_alias: string

活动别名

act-hooks/types.ts


activity_name ​

• activity_name: string

活动名称,前端显示、搜索用

act-hooks/types.ts


address ​

• Optional address: object

收货地址

act-hooks/types.ts


coupon_id ​

• Optional coupon_id: string

各类券 ID

act-hooks/types.ts


coupon_password ​

• Optional coupon_password: string

卡券密码

act-hooks/types.ts


created_by ​

• created_by: number

奖品发放记录所有者,创建时先分配一个默认用户,发奖完毕再更新为对应的用户

act-hooks/types.ts


extension ​

• Optional extension: object

扩展字段

act-hooks/types.ts


id ​

• id: string

奖品记录 ID

act-hooks/types.ts


lottery_log_id ​

• lottery_log_id: string

抽奖记录 ID

act-hooks/types.ts


preset_created_by ​

• preset_created_by: number

发奖前先标记该奖品发放记录的所有者,防止用户提前查询到奖品发放记录,发奖完毕再写入 created_by

act-hooks/types.ts


prize ​

• prize: Prize

奖品快照

act-hooks/types.ts


prize_id ​

• prize_id: string

奖品 ID

act-hooks/types.ts


prize_name ​

• prize_name: string

奖品名称,前端显示、搜索用

act-hooks/types.ts


sent_result ​

• sent_result: object

发放结果

act-hooks/types.ts


status ​

• status: PrizeLogStatus

奖品状态

act-hooks/types.ts


unique_index ​

• unique_index: string

唯一索引

act-hooks/types.ts