人人商城游戏营销插件 lottery 包含了大转盘、九宫格、刮刮卡,记录一下相关的数据表信息。
ewei_shop_lottery 抽奖活动表(添加的活动列表)
| 列 |
类型 |
注释 |
| lottery_id |
int(11) 自动增量 |
|
| uniacid |
int(11) NULL [0] |
管理公众号id
|
| lottery_title |
varchar(150) NULL |
标题
|
| lottery_icon |
varchar(255) NULL |
图标
|
| lottery_banner |
varchar(255) NULL |
海报
|
| lottery_cannot |
varchar(255) NULL |
不能参加的提示
|
| lottery_type |
tinyint(1) NULL |
抽奖类型
|
| is_delete |
tinyint(1) NULL [0] |
是否删除
|
| addtime |
int(11) NULL |
添加时间
|
| lottery_data |
text NULL |
抽奖信息
|
| is_goods |
tinyint(1) NULL [0] |
是否奖励商品
|
| lottery_days |
int(11) NULL [0] |
活动时间
|
| task_type |
tinyint(1) NULL [0] |
任务类型
|
| task_data |
text NULL |
任务信息
|
| start_time |
int(11) NULL |
开始时间
|
| end_time |
int(11) NULL |
结束时间
|
ewei_shop_lottery_default 默认抽奖信息设置
| 列 |
类型 |
注释 |
| id |
int(11) 自动增量 |
|
| uniacid |
int(11) [0] |
管理公众号id
|
| data |
text NULL |
默认信息
|
| addtime |
int(11) [0] |
添加信息
|
ewei_shop_lottery_join 参与抽奖表(获得抽奖机会的表单)
| 列 |
类型 |
注释 |
| id |
int(11) 自动增量 |
|
| uniacid |
int(11) NULL [0] |
管理 公众号号id
|
| join_user |
varchar(255) NULL |
参与抽奖者openid
|
| lottery_id |
int(11) NULL |
抽奖表id
|
| lottery_num |
int(10) NULL [0] |
剩余抽奖次数
|
| lottery_tag |
varchar(255) NULL |
抽奖标记
|
| addtime |
int(11) NULL |
添加时间
|
ewei_shop_lottery_log 抽奖记录表
| 列 |
类型 |
注释 |
| log_id |
int(11) 自动增量 |
|
| uniacid |
int(11) NULL |
管理公众号 id
|
| lottery_id |
int(11) NULL [0] |
抽奖表id
|
| join_user |
varchar(255) NULL |
参与抽奖者openid
|
| lottery_data |
text NULL |
抽奖结果信息
|
| is_reward |
tinyint(1) NULL [0] |
是否中奖
|
| addtime |
int(11) NULL |
添加时间
|