Skip to content

类型: Activity

属性

activity_rules

activity_rules: string

活动规则

act-hooks/types.ts


alias

alias: string

活动别名 act+number 形式

act-hooks/types.ts


allow_admin_org

Optional allow_admin_org: TradeUnion[]

指定工会及其下级工会

act-hooks/types.ts


allow_list

Optional allow_list: string[]

指定工会会员 id、指定手机号(sha256(alias+phone))、指定身份证号(sha256(alias+id_number))

act-hooks/types.ts


allow_trade_union

Optional allow_trade_union: TradeUnion[]

指定工会

act-hooks/types.ts


archived

archived: boolean

是否已归档

act-hooks/types.ts


archived_page_image

archived_page_image: string

活动归档后,页面显示的静态图片

act-hooks/types.ts


cover_image

cover_image: string

活动封面图

act-hooks/types.ts


ends_at

ends_at: number

结束时间

act-hooks/types.ts


id

id: string

活动 ID

act-hooks/types.ts


isFinished

isFinished: boolean

活动已结束

act-hooks/types.ts


isOngoing

isOngoing: boolean

活动进行中

act-hooks/types.ts


isPending

isPending: boolean

活动未开始

act-hooks/types.ts


lottery

Optional lottery: Lottery

抽奖配置

act-hooks/types.ts


memo

memo: string

备注

act-hooks/types.ts


miniapp_appid

Optional miniapp_appid: string

跳转其他小程序时的 appid

act-hooks/types.ts


name

name: string

活动名称

act-hooks/types.ts


participation_permission

participation_permission: Permission[]

活动可参与权限

act-hooks/types.ts


path

path: string

跳转路径,一般为活动首页路径

act-hooks/types.ts


priority

priority: number

活动列表排序优先级

act-hooks/types.ts


settings

Optional settings: object

其他配置

act-hooks/types.ts


starts_at

starts_at: number

开始时间

act-hooks/types.ts


status

status: ActivityStatus

活动状态

act-hooks/types.ts


visible_permission

visible_permission: Permission[]

活动列表可见权限

act-hooks/types.ts