Showing
1 changed file
with
31 additions
and
31 deletions
@@ -8,42 +8,42 @@ | @@ -8,42 +8,42 @@ | ||
8 | 8 | ||
9 | # 大转盘活动配置数据表 | 9 | # 大转盘活动配置数据表 |
10 | CREATE TABLE IF NOT EXISTS act_wheel_conf ( | 10 | CREATE TABLE IF NOT EXISTS act_wheel_conf ( |
11 | - `id` int(8) NOT NULL PRIMARY KEY AUTO_INCREMENT, | ||
12 | - `act_id` int(8) NOT NULL DEFAULT 0, | ||
13 | - `rule_btn_bg` varchar(300) comment '活动规则按钮', | ||
14 | - `rule` varchar(2000) comment '活动规则', | ||
15 | - `share_btn_bg` varchar(300) comment '活动分享按钮样式', | ||
16 | - `share_url` varchar(500) comment '活动分享链接', | ||
17 | - `main_bg` varchar(500) comment '活动背景图', | ||
18 | - `wheel_bg` varchar(300) comment '转盘背景图', | ||
19 | - `prize_btn_bg` varchar(300) comment '抽奖按钮', | ||
20 | - `day_limit_times` int(8) DEFAULT 0 comment '每天最大抽奖次数', | ||
21 | - `act_total_times` int(8) DEFAULT 0 comment '活动最大参与次数', | ||
22 | - `day_over_limit_bg` varchar(300) DEFAULT 0 comment '已达次数上限弹窗背景图', | ||
23 | - `btm_tip_one` varchar(60) DEFAULT 0 comment '活动提示文案1', | ||
24 | - `btm_tip_two` varchar(60) DEFAULT 0 comment '活动提示文案2', | ||
25 | - `my_prize_btn` varchar(300) DEFAULT 0 comment '我的奖品', | ||
26 | - `jump_url` varchar(300) DEFAULT 0 comment '跳转链接', | ||
27 | - `win_prize_bg` varchar(300) DEFAULT 0 comment '提示中奖背景图', | ||
28 | - `try_again_bg` varchar(300) DEFAULT 0 comment '再来一次按钮', | ||
29 | - `status` int(8) DEFAULT 0 comment '预览状态0, 发布状态1', | ||
30 | - `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP | 11 | + `id` INT(8) NOT NULL PRIMARY KEY AUTO_INCREMENT, |
12 | + `act_id` INT(8) NOT NULL DEFAULT 0, | ||
13 | + `rule_btn_bg` VARCHAR(300) COMMENT '活动规则按钮', | ||
14 | + `rule` VARCHAR(2000) COMMENT '活动规则', | ||
15 | + `share_btn_bg` VARCHAR(300) COMMENT '活动分享按钮样式', | ||
16 | + `share_url` VARCHAR(500) COMMENT '活动分享链接', | ||
17 | + `main_bg` VARCHAR(300) COMMENT '活动背景图', | ||
18 | + `wheel_bg` VARCHAR(300) COMMENT '转盘背景图', | ||
19 | + `prize_btn_bg` VARCHAR(300) COMMENT '抽奖按钮', | ||
20 | + `day_limit_times` INT(8) DEFAULT 0 COMMENT '每天最大抽奖次数', | ||
21 | + `act_total_times` INT(8) DEFAULT 0 COMMENT '活动最大参与次数', | ||
22 | + `day_over_limit_bg` VARCHAR(300) DEFAULT 0 COMMENT '已达次数上限弹窗背景图', | ||
23 | + `btm_tip_one` VARCHAR(60) DEFAULT 0 COMMENT '活动提示文案1', | ||
24 | + `btm_tip_two` VARCHAR(60) DEFAULT 0 COMMENT '活动提示文案2', | ||
25 | + `my_prize_btn` VARCHAR(300) DEFAULT 0 COMMENT '我的奖品', | ||
26 | + `jump_url` VARCHAR(500) DEFAULT 0 COMMENT '跳转链接', | ||
27 | + `win_prize_bg` VARCHAR(300) DEFAULT 0 COMMENT '提示中奖背景图', | ||
28 | + `try_again_bg` VARCHAR(300) DEFAULT 0 COMMENT '再来一次按钮', | ||
29 | + `status` INT(8) DEFAULT 0 COMMENT '预览状态0, 发布状态1', | ||
30 | + `create_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP | ||
31 | ) DEFAULT CHARSET=utf8; | 31 | ) DEFAULT CHARSET=utf8; |
32 | GO; | 32 | GO; |
33 | 33 | ||
34 | # 大转盘活动奖品表 | 34 | # 大转盘活动奖品表 |
35 | CREATE TABLE IF NOT EXISTS act_wheel_prize ( | 35 | CREATE TABLE IF NOT EXISTS act_wheel_prize ( |
36 | - `id` int(8) NOT NULL PRIMARY KEY AUTO_INCREMENT, | ||
37 | - `act_id` int(8) NOT NULL DEFAULT 0, | ||
38 | - `name` varchar(50) comment '奖品名称', | ||
39 | - `img` varchar(300) comment '奖品图片', | ||
40 | - `total` int(8) DEFAULT 0 comment '奖品总数', | ||
41 | - `total_left` int(8) comment '奖品总数', | ||
42 | - `chance` FLOAT comment '中奖概率', | ||
43 | - `prize_bg` varchar(300) comment '中奖背景图', | ||
44 | - `prize_idx` int(2) NOT NULL comment '圆盘上奖品位置序号', | ||
45 | - `no_prize_default` int(1) NOT NULL comment '不中奖奖品', | ||
46 | - `create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP | 36 | + `id` INT(8) NOT NULL PRIMARY KEY AUTO_INCREMENT, |
37 | + `act_id` INT(8) NOT NULL DEFAULT 0, | ||
38 | + `name` VARCHAR(50) COMMENT '奖品名称', | ||
39 | + `img` VARCHAR(300) COMMENT '奖品图片', | ||
40 | + `total` INT(8) DEFAULT 0 COMMENT '奖品总数', | ||
41 | + `total_left` INT(8) DEFAULT 0 COMMENT '奖品总数', | ||
42 | + `chance` FLOAT COMMENT '中奖概率', | ||
43 | + `prize_bg` VARCHAR(300) COMMENT '中奖背景图', | ||
44 | + `prize_idx` INT(2) NOT NULL COMMENT '圆盘上奖品位置序号', | ||
45 | + `no_prize_default` INT(1) NOT NULL COMMENT '不中奖奖品', | ||
46 | + `create_time` TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP | ||
47 | ) DEFAULT CHARSET=utf8; | 47 | ) DEFAULT CHARSET=utf8; |
48 | GO; | 48 | GO; |
49 | 49 |
-
Please register or login to post a comment