数据表:ims_yz_work_wechat_group_chat_activity(群拓客奖励活动表)。
| 字段 | 类型 | 默认值 | 约束 | 说明 |
|---|---|---|---|---|
id | integer unsigned | - | 非空、自增 | |
uniacid | integer | 0 | - | |
crop_id | integer | 0 | 非空 | yz_work_wechat_crop表id或business_id(企业id) |
activity_name | string(15) | - | 非空 | 活动名称 |
status | boolean | 1 | 非空 | 活动状态(1未开始2进行中3已结束) |
group_ids | text(65535) | - | - | 指定群聊(yz_work_wechat_group_chat表id),格式_1_2_,方便模糊查询 |
new_balance | decimal | - | - | 新会员奖励余额 |
old_balance | decimal | - | - | 老会员奖励余额 |
new_point | decimal | - | - | 新会员奖励积分 |
old_point | decimal | - | - | 老会员奖励积分 |
new_coupons | text(65535) | - | - | 新会员优惠券奖励(json格式data[*][0]为优惠券id,[1]为数量) |
old_coupons | text(65535) | - | - | 老会员优惠券奖励 |
begin_time | integer | 0 | 非空 | 活动开始时间 |
end_time | integer | 0 | 非空 | 活动结束时间 |
created_at | integer | 0 | 非空 | |
updated_at | integer | - | - | |
deleted_at | integer | - | - | |
invite_new_balance | decimal unsigned | 0.00 | 非空 | 邀请新会员奖励余额 |
invite_new_point | decimal unsigned | 0.00 | 非空 | 邀请新会员奖励积分 |
invite_new_coupons | text(65535) | - | 非空 | 邀请新会员奖励优惠券 |
invite_old_balance | decimal unsigned | 0.00 | 非空 | 邀请老会员奖励余额 |
invite_old_point | decimal unsigned | 0.00 | 非空 | 邀请老会员奖励积分 |
invite_old_coupons | text(65535) | - | 非空 | 邀请老会员奖励优惠券 |
lock_old_balance | decimal unsigned | 0.00 | 非空 | 锁客老会员奖励余额 |
lock_old_point | decimal unsigned | 0.00 | 非空 | 锁客老会员奖励积分 |
lock_old_coupons | text(65535) | - | 非空 | 锁客老会员奖励优惠券 |
lock_new_balance | decimal unsigned | 0.00 | 非空 | 锁客新会员奖励余额 |
lock_new_point | decimal unsigned | 0.00 | 非空 | 锁客新会员奖励积分 |
lock_new_coupons | text(65535) | - | 非空 | 锁客新会员奖励优惠券 |
