-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathqqbaby_db.sql
315 lines (278 loc) · 13 KB
/
qqbaby_db.sql
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
/*
Navicat MySQL Data Transfer
Source Server : qqbaby
Source Server Version : 50553
Source Host : localhost:3306
Source Database : qqbaby_db
Target Server Type : MYSQL
Target Server Version : 50553
File Encoding : 65001
Date: 2017-09-08 20:54:42
*/
SET FOREIGN_KEY_CHECKS=0;
-- ----------------------------
-- Table structure for `tb_babay`
-- ----------------------------
DROP TABLE IF EXISTS `tb_babay`;
CREATE TABLE `tb_babay` (
`id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`title` varchar(255) NOT NULL COMMENT '客片标题',
`subTitle` varchar(255) DEFAULT NULL COMMENT '副标题【简介】',
`srcImg` varchar(255) NOT NULL COMMENT '缩略图',
`status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示 2置顶 3精华 4热门】',
`sort` int(11) unsigned DEFAULT '0' COMMENT '自定义排序',
`total` bigint(20) unsigned DEFAULT '0' COMMENT '点击量统计',
`authorId` int(11) unsigned NOT NULL COMMENT '作者Id',
`uploadTime` datetime NOT NULL COMMENT '上传时间',
`parent` int(10) unsigned NOT NULL COMMENT '所属栏目【1婴儿 2宝宝 3儿童 4亲子 5活动】',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for `tb_babaypic`
-- ----------------------------
DROP TABLE IF EXISTS `tb_babaypic`;
CREATE TABLE `tb_babaypic` (
`pic_id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`pic_URL` text NOT NULL COMMENT '详情图url数组',
`pic_status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示】',
`linkURL` varchar(255) NOT NULL DEFAULT '1' COMMENT '图片链接',
`case_id` int(11) unsigned NOT NULL COMMENT '客片对照id',
PRIMARY KEY (`pic_id`)
) ENGINE=MyISAM AUTO_INCREMENT=91 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tb_babaypic
-- ----------------------------
-- ----------------------------
-- Table structure for `tb_banner`
-- ----------------------------
DROP TABLE IF EXISTS `tb_banner`;
CREATE TABLE `tb_banner` (
`id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`sort` int(11) unsigned DEFAULT '0' COMMENT '自定义排序',
`status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示】',
`parentId` int(11) unsigned NOT NULL COMMENT '所属广告位【1顶部 2最新 3婴儿 4宝宝 5儿童 6亲子 7 团队 8场馆】',
`linkURL` varchar(255) NOT NULL DEFAULT '1' COMMENT '图片链接',
`case_id` int(11) unsigned NOT NULL COMMENT '客片对照id',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tb_banner
-- ----------------------------
-- ----------------------------
-- Table structure for `tb_children`
-- ----------------------------
DROP TABLE IF EXISTS `tb_children`;
CREATE TABLE `tb_children` (
`id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`title` varchar(255) NOT NULL COMMENT '客片标题',
`subTitle` varchar(255) DEFAULT NULL COMMENT '副标题【简介】',
`srcImg` varchar(255) NOT NULL COMMENT '缩略图',
`status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示 2置顶 3精华 4热门】',
`sort` int(11) unsigned DEFAULT '0' COMMENT '自定义排序',
`total` bigint(20) unsigned DEFAULT '0' COMMENT '点击量统计',
`authorId` int(11) unsigned NOT NULL COMMENT '作者Id',
`uploadTime` datetime NOT NULL COMMENT '上传时间',
`parent` int(10) unsigned NOT NULL COMMENT '所属栏目【1婴儿 2宝宝 3儿童 4亲子 5活动】',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tb_children
-- ----------------------------
-- ----------------------------
-- Table structure for `tb_childrenpic`
-- ----------------------------
DROP TABLE IF EXISTS `tb_childrenpic`;
CREATE TABLE `tb_childrenpic` (
`pic_id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`pic_url` text NOT NULL COMMENT '详情图url数组',
`pic_status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示】',
`linkURL` varchar(255) NOT NULL DEFAULT '1' COMMENT '图片链接',
`case_id` int(11) unsigned NOT NULL COMMENT '客片对照id',
PRIMARY KEY (`pic_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tb_childrenpic
-- ----------------------------
-- ----------------------------
-- Table structure for `tb_family`
-- ----------------------------
DROP TABLE IF EXISTS `tb_family`;
CREATE TABLE `tb_family` (
`id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`title` varchar(255) NOT NULL COMMENT '客片标题',
`subTitle` varchar(255) DEFAULT NULL COMMENT '副标题【简介】',
`srcImg` varchar(255) NOT NULL COMMENT '缩略图',
`status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示 2置顶 3精华 4热门】',
`sort` int(11) unsigned DEFAULT '0' COMMENT '自定义排序',
`total` bigint(20) unsigned DEFAULT '0' COMMENT '点击量统计',
`authorId` int(11) unsigned NOT NULL COMMENT '作者Id',
`uploadTime` datetime NOT NULL COMMENT '上传时间',
`parent` int(10) unsigned NOT NULL COMMENT '所属栏目【1婴儿 2宝宝 3儿童 4亲子 5活动】',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=30 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for `tb_familypic`
-- ----------------------------
DROP TABLE IF EXISTS `tb_familypic`;
CREATE TABLE `tb_familypic` (
`pic_id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`pic_url` varchar(255) NOT NULL COMMENT '详情图url数组',
`pic_status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示】',
`linkURL` varchar(255) NOT NULL DEFAULT '1' COMMENT '图片链接',
`case_id` int(11) unsigned NOT NULL COMMENT '客片对照id',
`pic_tiem` datetime DEFAULT NULL COMMENT '上传时间',
PRIMARY KEY (`pic_id`)
) ENGINE=MyISAM AUTO_INCREMENT=671 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tb_familypic
-- ----------------------------
-- ----------------------------
-- Table structure for `tb_infant`
-- ----------------------------
DROP TABLE IF EXISTS `tb_infant`;
CREATE TABLE `tb_infant` (
`id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`title` varchar(255) NOT NULL COMMENT '客片标题',
`subTitle` varchar(255) DEFAULT NULL COMMENT '副标题【简介】',
`srcImg` varchar(255) NOT NULL COMMENT '缩略图',
`status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示 2置顶 3精华 4热门】',
`sort` int(11) unsigned DEFAULT '0' COMMENT '自定义排序',
`total` bigint(20) unsigned DEFAULT '0' COMMENT '点击量统计',
`authorId` int(11) unsigned NOT NULL COMMENT '作者Id',
`uploadTime` datetime NOT NULL COMMENT '上传时间',
`parent` int(10) unsigned NOT NULL COMMENT '所属栏目【1婴儿 2宝宝 3儿童 4亲子 5活动】',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for `tb_infantpic`
-- ----------------------------
DROP TABLE IF EXISTS `tb_infantpic`;
CREATE TABLE `tb_infantpic` (
`pic_id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`pic_URL` text NOT NULL COMMENT '详情图url数组',
`pic_status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示】',
`linkURL` varchar(255) NOT NULL DEFAULT '1' COMMENT '图片链接',
`case_id` int(11) unsigned NOT NULL COMMENT '客片对照id',
PRIMARY KEY (`pic_id`)
) ENGINE=MyISAM AUTO_INCREMENT=34 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Table structure for `tb_new`
-- ----------------------------
DROP TABLE IF EXISTS `tb_new`;
CREATE TABLE `tb_new` (
`id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`title` varchar(255) NOT NULL COMMENT '客片标题',
`subTitle` varchar(255) DEFAULT NULL COMMENT '副标题【简介】',
`srcImg` varchar(255) NOT NULL COMMENT '缩略图',
`status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示 2置顶 3精华 4热门】',
`sort` int(11) unsigned DEFAULT '0' COMMENT '自定义排序',
`total` bigint(20) unsigned DEFAULT '0' COMMENT '点击量统计',
`authorId` int(11) unsigned NOT NULL COMMENT '作者Id',
`uploadTime` datetime NOT NULL COMMENT '上传时间',
`parent` int(10) unsigned NOT NULL COMMENT '所属栏目【1婴儿 2宝宝 3儿童 4亲子 5活动】',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tb_new
-- ----------------------------
-- ----------------------------
-- Table structure for `tb_newpic`
-- ----------------------------
DROP TABLE IF EXISTS `tb_newpic`;
CREATE TABLE `tb_newpic` (
`pic_id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`pic_URL` text NOT NULL COMMENT '详情图url数组',
`pic_status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示】',
`linkURL` varchar(255) NOT NULL DEFAULT '1' COMMENT '图片链接',
`case_id` int(11) unsigned NOT NULL COMMENT '客片对照id',
PRIMARY KEY (`pic_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tb_newpic
-- ----------------------------
-- ----------------------------
-- Table structure for `tb_team`
-- ----------------------------
DROP TABLE IF EXISTS `tb_team`;
CREATE TABLE `tb_team` (
`id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`title` varchar(255) NOT NULL COMMENT '客片标题',
`subTitle` varchar(255) DEFAULT NULL COMMENT '副标题【简介】',
`srcImg` varchar(255) NOT NULL COMMENT '缩略图',
`status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示 2置顶 3精华 4热门】',
`sort` int(11) unsigned DEFAULT '0' COMMENT '自定义排序',
`total` bigint(20) unsigned DEFAULT '0' COMMENT '点击量统计',
`authorId` int(11) unsigned NOT NULL COMMENT '作者Id',
`uploadTime` datetime NOT NULL COMMENT '上传时间',
`parent` int(10) unsigned NOT NULL COMMENT '所属栏目【1婴儿 2宝宝 3儿童 4亲子 5活动】',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tb_team
-- ----------------------------
-- ----------------------------
-- Table structure for `tb_teampic`
-- ----------------------------
DROP TABLE IF EXISTS `tb_teampic`;
CREATE TABLE `tb_teampic` (
`pic_id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`pic_URL` text NOT NULL COMMENT '详情图url数组',
`pic_status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示】',
`linkURL` varchar(255) NOT NULL DEFAULT '1' COMMENT '图片链接',
`case_id` int(11) unsigned NOT NULL COMMENT '客片对照id',
PRIMARY KEY (`pic_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tb_teampic
-- ----------------------------
-- ----------------------------
-- Table structure for `tb_user`
-- ----------------------------
DROP TABLE IF EXISTS `tb_user`;
CREATE TABLE `tb_user` (
`user_id` int(10) NOT NULL AUTO_INCREMENT COMMENT 'id',
`user_name` varchar(255) NOT NULL COMMENT '账户',
`user_nickname` varchar(255) NOT NULL COMMENT '昵称',
`user_passwod` varchar(255) NOT NULL COMMENT '密码',
`user_group` int(10) unsigned NOT NULL DEFAULT '1' COMMENT '1普通管理员 2超级管理员',
PRIMARY KEY (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tb_user
-- ----------------------------
INSERT INTO `tb_user` VALUES ('1', 'admin', 'big黑钦', 'mq5555188', '1');
-- ----------------------------
-- Table structure for `tb_venue`
-- ----------------------------
DROP TABLE IF EXISTS `tb_venue`;
CREATE TABLE `tb_venue` (
`id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`title` varchar(255) NOT NULL COMMENT '客片标题',
`subTitle` varchar(255) DEFAULT NULL COMMENT '副标题【简介】',
`srcImg` varchar(255) NOT NULL COMMENT '缩略图',
`status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示 2置顶 3精华 4热门】',
`sort` int(11) unsigned DEFAULT '0' COMMENT '自定义排序',
`total` bigint(20) unsigned DEFAULT '0' COMMENT '点击量统计',
`authorId` int(11) unsigned NOT NULL COMMENT '作者Id',
`uploadTime` datetime NOT NULL COMMENT '上传时间',
`parent` int(10) unsigned NOT NULL COMMENT '所属栏目【1婴儿 2宝宝 3儿童 4亲子 5活动】',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tb_venue
-- ----------------------------
-- ----------------------------
-- Table structure for `tb_venuepic`
-- ----------------------------
DROP TABLE IF EXISTS `tb_venuepic`;
CREATE TABLE `tb_venuepic` (
`pic_id` int(255) NOT NULL AUTO_INCREMENT COMMENT 'id',
`pic_URL` text NOT NULL COMMENT '详情图url数组',
`pic_status` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '状态【0隐藏 1显示】',
`linkURL` varchar(255) NOT NULL DEFAULT '1' COMMENT '图片链接',
`case_id` int(11) unsigned NOT NULL COMMENT '客片对照id',
PRIMARY KEY (`pic_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
-- ----------------------------
-- Records of tb_venuepic
-- ----------------------------