-
Notifications
You must be signed in to change notification settings - Fork 0
/
db_add_log.txt
executable file
·95 lines (87 loc) · 5.12 KB
/
db_add_log.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
1、cmf_pay_record 娃娃币充值记录表
2、cmf_coin_bill 娃娃币账单记录表
3、cmf_waybill 运单表
4、cmf_user_wawas 我的娃娃表(用户已经抓到的娃娃)
5、cmf_charge_rules 充值规则表
6、cmf_gift 娃娃管理表(所有的娃娃)
7、cmf_users 用户表 新增字段user_setting : 用户个人设置,包括语言切换,音乐、音效控制(保存json数组)
8、cmf_users_gift 用户礼品表
9、cmf_give_gift 赠送礼品表
10、cmf_code_record 邀请码兑换记录表
11、cmf_config 新增字段code_wawabi:用户填写邀请码获赠的娃娃币数量,code_wawabi_max:用户填写邀请码获赠的娃娃币数量最大上限,FAQ:常见问题,user_agreement:用户协议
12、cmf_users_convert 用户兑换礼品记录表
13、cmf_notice 消息通知表
14、cmf_game_history 抓取娃娃历史记录表(游戏记录表)
15、cmf_game_appeal 用户申诉表
16、cmf_game_audience 房间观众表
17、cmf_gift_type 娃娃分类表
18、cmf_gift_label 娃娃标签表
19、cmf_kd 快递公司表
20、cmf_fault 故障表
21、cmf_appeal_text 申诉文案表
############## 重点-记得更新数据!!!!表字段缓存 ----¥############
------------------ 开始 ------------
22、cmf_game_history 新增字段 continuity 连续抓取分组id
增加游戏历史连续抓取分组 alter table cmf_game_history add continuity int(10) default 0 not null;
增加游戏历史是否退币 alter table cmf_game_history add is_retreat int(10) default 0 not null;
alter table cmf_game_history add index continuity(continuity);
增加房间是否开启保夹 alter table cmf_game_room add is_retreat int(2) default 0 not null; //默认停用
账单记录增加娃娃名称 alter table cmf_users_coinrecord add wawa_name varchar(100) default '' not null;
游戏历史记录表加上娃娃id 防止更换房间导致混乱 alter table cmf_game_history add giftid int(10) UNSIGNED;
----------------------------------------------------------------
23、cmf_clamp_config 保夹 设置 表
CREATE TABLE `cmf_clamp_config` (
`index` int(10) unsigned DEFAULT NULL,
`start` int(10) unsigned DEFAULT NULL,
`end` int(10) unsigned DEFAULT NULL,
`count` int(10) unsigned DEFAULT NULL,
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=114 DEFAULT CHARSET=utf8;
24、商家账号表
CREATE TABLE `cmf_shop_account` (
`seller_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`account` char(100) NOT NULL,
`password` char(100) NOT NULL,
`disabled` tinyint(1) unsigned DEFAULT '0',
`create_time` int(10) unsigned DEFAULT '0',
`token` char(100) DEFAULT NULL,
`openid` char(100) DEFAULT NULL,
`last_time` int(10) unsigned DEFAULT NULL,
PRIMARY KEY (`seller_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商家账号登录信息表';
25、商家入驻申请信息表
CREATE TABLE `cmf_shop_info` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`shop_id` int(10) DEFAULT NULL COMMENT '商家信息表id',
`create_time` int(10) DEFAULT NULL,
`ip` char(30) DEFAULT NULL,
`status` tinyint(1) unsigned NOT NULL DEFAULT 2 COMMENT '状态 2为待审核 1为通过 0为拒绝',
`weixin` varchar(100) DEFAULT NULL COMMENT '微信号',
`qq` char(30) DEFAULT NULL COMMENT 'qq号',
`callname` varchar(100) DEFAULT NULL COMMENT '称呼',
`mobile` char(20) unsigned DEFAULT NULL COMMENT '手机号码',
`email` varchar(100) DEFAULT NULL COMMENT '邮箱号',
`openid` varchar(100) DEFAULT NULL COMMENT '微信的openid',
`spreadinfo` text COMMENT '推广手段',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商家申请入驻提交审核信息表';
26、商家入驻平台信息表
CREATE TABLE `cmf_shop` (
`shop_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`create_time` int(10) unsigned DEFAULT NULL COMMENT '通过时间、创建时间',
`shop_name` char(30) DEFAULT NULL COMMENT '商家名称',
`openid` varchar(100) DEFAULT NULL COMMENT '微信openid',
`shop_addr` text COMMENT '商家地址',
`mobile` char(20) DEFAULT NULL COMMENT '手机号码、联系方式',
`downlineuser` int(10) DEFAULT NULL COMMENT '商家总下线用户',
`downlinepay` int(10) DEFAULT NULL COMMENT '下线用户充值总额',
`extract` int(10) DEFAULT NULL COMMENT '商家提成',
`extractpercent` char(10) DEFAULT NULL COMMENT '商家提成百分比率',
`qrurl` varchar(100) DEFAULT NULL COMMENT '商家推广地址',
`qrcode` varchar(100) DEFAULT NULL COMMENT '商家推广二维码',
`poster` varchar(100) DEFAULT NULL COMMENT '商家生成的分享海报图',
`update_time` int(10) DEFAULT NULL COMMENT '资料更新时间',
PRIMARY KEY (`shop_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='商家入驻平台信息表';
----------------------------------------------------------------