Skip to content

类型: NormalizedPrizeLog ​

Hierarchy ​

属性 ​

activity ​

• activity: string | Activity

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

Inherited from ​

PrizeLog.activity

act-hooks/types.ts


activity_alias ​

• activity_alias: string

活动别名

Inherited from ​

PrizeLog.activity_alias

act-hooks/types.ts


activity_name ​

• activity_name: string

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

Inherited from ​

PrizeLog.activity_name

act-hooks/types.ts


address ​

• Optional address: object

收货地址

Inherited from ​

PrizeLog.address

act-hooks/types.ts


coupon_id ​

• Optional coupon_id: string

各类券 ID

Inherited from ​

PrizeLog.coupon_id

act-hooks/types.ts


coupon_password ​

• Optional coupon_password: string

卡券密码

Inherited from ​

PrizeLog.coupon_password

act-hooks/types.ts


created_by ​

• created_by: number

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

Inherited from ​

PrizeLog.created_by

act-hooks/types.ts


extension ​

• Optional extension: object

扩展字段

Inherited from ​

PrizeLog.extension

act-hooks/types.ts


id ​

• id: string

奖品记录 ID

Inherited from ​

PrizeLog.id

act-hooks/types.ts


lottery_log_id ​

• lottery_log_id: string

抽奖记录 ID

Inherited from ​

PrizeLog.lottery_log_id

act-hooks/types.ts


preset_created_by ​

• preset_created_by: number

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

Inherited from ​

PrizeLog.preset_created_by

act-hooks/types.ts


prize ​

• prize: WithOrigin<Prize>

奖品快照

Overrides ​

PrizeLog.prize

act-hooks/types.ts


prize_id ​

• prize_id: string

奖品 ID

Inherited from ​

PrizeLog.prize_id

act-hooks/types.ts


prize_name ​

• prize_name: string

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

Inherited from ​

PrizeLog.prize_name

act-hooks/types.ts


sent_result ​

• sent_result: object

发放结果

Inherited from ​

PrizeLog.sent_result

act-hooks/types.ts


status ​

• status: PrizeLogStatus

奖品状态

Inherited from ​

PrizeLog.status

act-hooks/types.ts


unique_index ​

• unique_index: string

唯一索引

Inherited from ​

PrizeLog.unique_index

act-hooks/types.ts