-
Notifications
You must be signed in to change notification settings - Fork 33
/
tour.sql
245 lines (209 loc) · 16.1 KB
/
tour.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
-- MySQL dump 10.13 Distrib 5.7.14, for Win32 (AMD64)
--
-- Host: localhost Database: tour
-- ------------------------------------------------------
-- Server version 5.7.14
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `tour_banner`
--
DROP TABLE IF EXISTS `tour_banner`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tour_banner` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`banner_path` varchar(255) DEFAULT NULL,
`banner_belong_country` int(10) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tour_banner`
--
LOCK TABLES `tour_banner` WRITE;
/*!40000 ALTER TABLE `tour_banner` DISABLE KEYS */;
INSERT INTO `tour_banner` VALUES (1,'http://jinnangtuan.com/uploads/20170828/1503899882.jpg',1),(2,'http://jinnangtuan.com/uploads/20170828/1503914220.jpg',1),(3,'http://jinnangtuan.com/uploads/20170828/1503913833.jpg',1),(4,'http://jinnangtuan.com/uploads/20170828/1503914220.jpg',2),(5,'http://imgoacdn.aliyuncs.com/Y2o3aW8wdW52MDAwczNkNXBwcXJ3NTN2Mg%3D%3D_855263232_NzUwKjQyMg%3D%3D.jpg?t=1505916543122',3),(6,'http://jinnangtuan.com/uploads/20170828/1503899882.jpg',4),(7,'http://jinnangtuan.com/uploads/20170828/1503913833.jpg',5),(8,'http://jinnangtuan.com/uploads/20170828/1503914220.jpg',6);
/*!40000 ALTER TABLE `tour_banner` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tour_classify`
--
DROP TABLE IF EXISTS `tour_classify`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tour_classify` (
`id` int(1) NOT NULL AUTO_INCREMENT,
`classify_name` varchar(10) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tour_classify`
--
LOCK TABLES `tour_classify` WRITE;
/*!40000 ALTER TABLE `tour_classify` DISABLE KEYS */;
INSERT INTO `tour_classify` VALUES (1,'购物'),(2,'退税');
/*!40000 ALTER TABLE `tour_classify` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tour_comment`
--
DROP TABLE IF EXISTS `tour_comment`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tour_comment` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`comment_content` text,
`comment_star` int(1) NOT NULL DEFAULT '1',
`comment_user_phone` varchar(11) DEFAULT NULL,
`comment_time` varchar(30) DEFAULT NULL,
`comment_coupon_id` int(1) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=34 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tour_comment`
--
LOCK TABLES `tour_comment` WRITE;
/*!40000 ALTER TABLE `tour_comment` DISABLE KEYS */;
INSERT INTO `tour_comment` VALUES (1,'优惠券很好用,优惠力度很大',5,'13126919252','1506605105000',1),(2,'非常喜欢,产品不错',4,'13126919251','1506605439000',1),(3,'不太好用,网卡',1,'13126919252','1506605469000',3),(4,'还不错',3,'13126919255','1506607137000',3),(5,'挺好的',4,'13126919256','1506607149000',3),(6,'用着还行',5,'13126919253','1506607176000',4),(7,'还行吧,能解决问题',5,'13126919251','1506607188000',4),(8,'去日本玩的好,多亏了这里的优惠券',1,'13126919254','1506608981000',6),(9,'泰国一日游,优惠券都用完了,以后还会有吗?',4,'13126919254','1506609036000',9),(15,'的认同感',3,'13126919251','1506758614972',6),(14,'的认同感',3,'13126919251','1506758611991',6),(13,'我的天哪,太好用了!',5,'13126919254','1506757841652',3),(16,'发',4,'13126919251','1506758634550',6),(18,'第三方',0,'13126919251','1506759570649',4),(19,'纵贯线',2,'13126919251','1506759650831',7),(20,'个人业余项目,使用node.js+mysql+vue.js+webpack+less+es6技术栈构建。 http://www.zymseo.com/qianduan/',4,'13126919254','1506760673210',3),(21,'star评分组件',3,'13126919258','1506776596801',4),(22,'sdf',4,'13126919253','1506866382195',3),(23,'香港买买买',3,'13126919251','1506875911586',8),(24,'666666666666',4,'13126919256','1506878056337',4),(25,'果然好用',3,'13126919253','1506960137983',15),(26,'alert(123)',5,'13126919253','1506961003977',4),(27,'五星评价',5,'13126919253','1506963497799',18),(28,'第一次使用,还不错啊',3,'13126919255','1507106173527',4),(29,'周先生的产品挺好用的!',5,'13126919254','1507185270366',8),(30,'前端技术博客:http://www.zymseo.com/qianduan',3,'13126919251','1507188420948',16),(31,'框架',3,'13126919251','1507188787880',17),(32,'三星评价',3,'13133333333','1507362441437',23),(33,'io',4,'13126919251','1507824072297',20);
/*!40000 ALTER TABLE `tour_comment` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tour_country`
--
DROP TABLE IF EXISTS `tour_country`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tour_country` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`country_name` varchar(50) NOT NULL DEFAULT '其他国家',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tour_country`
--
LOCK TABLES `tour_country` WRITE;
/*!40000 ALTER TABLE `tour_country` DISABLE KEYS */;
INSERT INTO `tour_country` VALUES (1,'全球'),(2,'港澳'),(3,'韩国'),(4,'日本'),(5,'泰国'),(6,'其他国家');
/*!40000 ALTER TABLE `tour_country` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tour_coupon`
--
DROP TABLE IF EXISTS `tour_coupon`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tour_coupon` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`coupon_name` varchar(50) NOT NULL,
`coupon_explain` varchar(40) NOT NULL,
`coupon_starttime` varchar(15) DEFAULT NULL,
`coupon_endtime` varchar(50) NOT NULL,
`coupon_recived_num` varchar(255) NOT NULL DEFAULT '0',
`coupon_detail` text NOT NULL,
`coupon_belong_country` int(10) NOT NULL DEFAULT '1',
`coupon_type` varchar(20) NOT NULL,
`coupon_ico_path` varchar(255) NOT NULL,
`coupon_status` varchar(1) NOT NULL DEFAULT '0',
`coupon_classify` int(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=24 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tour_coupon`
--
LOCK TABLES `tour_coupon` WRITE;
/*!40000 ALTER TABLE `tour_coupon` DISABLE KEYS */;
INSERT INTO `tour_coupon` VALUES (3,'新罗免税店','满2000立减100元','1506524754000','1514300798000','6',' 这是是详细介绍 ',3,'union','http://jinnangtuan.com/uploads/20170828/1503915401.png','0',1),(4,'都塔购物中心','满2000立减100元','1506524754000','1514300798000','10',' 这是是详细介绍 ',3,'union','http://jinnangtuan.com/uploads/20170828/1503916455.png','0',1),(6,'松本清','满2000立减100日元','1506524754000','1514300798000','5',' 这是是详细介绍 ',4,'jinnang','http://jinnangtuan.com/uploads/20170828/1503920325.png','0',1),(7,'高岛屋','满2000立减100日元','1506524754000','1514300798000','3',' 这是是详细介绍 ',4,'gaodaowu','http://jinnangtuan.com/uploads/20170922/1506048040.jpg','0',1),(8,'周先生','满2000立减100港币','1506524754000','1514300798000','3',' 这是是详细介绍 ',2,'jinnang','http://jinnangtuan.com/uploads/20170828/1503918518.png','0',2),(9,'王权免税店','满2000立减100泰币','1506524754000','1514300798000','2',' 这是是详细介绍 ',5,'visa','http://jinnangtuan.com/uploads/20170828/1503916670.png','0',1),(10,'新加坡Tumi','满2000立减100新加坡元','1506524754000','1514300798000','2',' 这是是详细介绍 ',6,'jinnang','http://jinnangtuan.com/uploads/20170907/1504778592.jpg','0',1),(13,'泰国新罗免税店','满2000立减100泰币','1506524754000','1514300798000','1',' 这是是详细介绍 ',5,'union','http://jinnangtuan.com/uploads/20170828/1503917187.png','0',2),(14,'LAOX','7%折扣+8%免税','1506956521000','1509116521000','0','这是优惠券详细描述,待完善',4,'gaodaowu','http://jinnangtuan.com/uploads/20170828/1503899226.png','0',1),(15,'国民药妆','最高5%折扣+8%免税','1507043036000','1509116636000','1','这是优惠券详细描述,待完善',4,'gaodaowu','http://jinnangtuan.com/uploads/20170828/1503917597.png','0',1),(16,'BicCamera','最高8%折扣+8%免税','1507215967000','1509116767000','1','这是优惠券详细描述,待完善',4,'union','http://jinnangtuan.com/uploads/20170828/1503917748.png','0',1),(17,'关西机场免税店','最高6%折扣+8%免税','1507216067000','1509116867000','1','这是优惠券详细描述,待完善',4,'jinnang','http://jinnangtuan.com/uploads/20170828/1503918239.png','0',1),(18,'莎莎','最高6%折扣+8%免税','1507129772000','1509116972000','2','这是优惠券详细描述,待完善',2,'jinnang','http://jinnangtuan.com/uploads/20170925/1506331067.png','0',1),(19,'百老汇','9%折扣+8%免税','1507129822000','1509117022000','0','这是优惠券详细描述,待完善',2,'jinnang','http://jinnangtuan.com/uploads/20170828/1503917926.png','0',1),(20,'卡莱美','最高5%折扣+8%免税','1507129886000','1509117086000','1','这是优惠券详细描述,待完善',2,'visa','http://jinnangtuan.com/uploads/20170828/1503918176.png','0',1),(21,'六福珠宝','最高10%折扣+8%免税','1507129949000','1509117149000','0','这是优惠券详细描述,待完善',2,'visa','http://jinnangtuan.com/uploads/20170928/1506588836.jpg','0',1),(22,'Siam Discovery','银联卡高达30%折扣','1507130106000','1509117306000','1','这是优惠券详细描述,待完善',5,'union','http://jinnangtuan.com/uploads/20170828/1503917446.png','0',1),(23,'ZEN百货','满3000减300泰铢','1507216568000','1509117368000','1','这是优惠券详细描述,待完善',5,'jinnang','http://jinnangtuan.com/uploads/20170925/1506336933.jpg','0',1);
/*!40000 ALTER TABLE `tour_coupon` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tour_coupon_user`
--
DROP TABLE IF EXISTS `tour_coupon_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tour_coupon_user` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`coupon_id` int(10) DEFAULT NULL,
`user_id` int(10) DEFAULT NULL,
`status` int(1) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=59 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tour_coupon_user`
--
LOCK TABLES `tour_coupon_user` WRITE;
/*!40000 ALTER TABLE `tour_coupon_user` DISABLE KEYS */;
INSERT INTO `tour_coupon_user` VALUES (32,4,1,1),(33,3,1,1),(34,7,1,1),(35,4,4,1),(36,7,4,1),(37,6,1,0),(38,6,4,0),(39,4,6,1),(40,10,1,0),(41,3,4,1),(42,3,5,1),(43,4,9,1),(44,8,1,1),(45,15,4,1),(46,18,4,1),(47,4,2,1),(48,6,5,0),(49,8,5,1),(50,22,4,0),(51,16,1,1),(52,17,1,1),(53,20,1,1),(54,4,13,0),(55,3,13,0),(56,23,14,1),(57,4,14,0),(58,18,1,0);
/*!40000 ALTER TABLE `tour_coupon_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tour_feature`
--
DROP TABLE IF EXISTS `tour_feature`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tour_feature` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`feature_title` varchar(60) DEFAULT NULL,
`feature_content` text,
`feature_ico_path` varchar(255) DEFAULT NULL,
`feature_url` varchar(255) DEFAULT NULL,
`feature_belong_country` int(2) NOT NULL DEFAULT '1',
`feature_classify` int(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tour_feature`
--
LOCK TABLES `tour_feature` WRITE;
/*!40000 ALTER TABLE `tour_feature` DISABLE KEYS */;
INSERT INTO `tour_feature` VALUES (1,'韩国购物常见问题,你遇见过几个?','这里是文章详情','http://jinnangtuan.com/uploads/20170828/1503908101.jpg','https://mp.weixin.qq.com/s?__biz=MzIxMTU3NjEwMA==&mid=2247483955&idx=1&sn=dc1c8b978251c1ce4fd943601c3634d8&chksm=97527678a025ff6e13b6d109b5519a7ec97fd912404e20b62fff29f53ab6ff802a5bfeb21c44#rd',3,1),(2,'韩国退税全攻略!省钱=赚钱!','这里是文章详情','http://jinnangtuan.com/uploads/20170828/1503909809.jpg','https://mp.weixin.qq.com/s?__biz=MzIxMTU3NjEwMA==&mid=2247483768&idx=1&sn=7edf9e7236d8c733620d7b579e490e2b&chksm=97527533a025fc25242f7fd49f59aafc55a314236015058cfb1951ab4556fd69b1d9c5fd7143#rd',3,2),(3,'必备,香港买表省钱攻略!','这里是文章详情','http://jinnangtuan.com/uploads/20170828/1503911438.jpg','http://jinnangtuan.com/flow/11',2,1);
/*!40000 ALTER TABLE `tour_feature` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `tour_user`
--
DROP TABLE IF EXISTS `tour_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tour_user` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`user_name` varchar(60) DEFAULT '锦囊团用户',
`user_phone` varchar(11) NOT NULL,
`user_pwd` varchar(255) NOT NULL,
`user_headpic` varchar(255) NOT NULL DEFAULT 'http://jinnangtuan.com/static/img/users/jinnangusers/head.png',
`user_sex` int(1) NOT NULL DEFAULT '1',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=15 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `tour_user`
--
LOCK TABLES `tour_user` WRITE;
/*!40000 ALTER TABLE `tour_user` DISABLE KEYS */;
INSERT INTO `tour_user` VALUES (1,'lee','13126919251','e10adc3949ba59abbe56e057f20f883e','http://www.zymseo.com/images/logo.jpg',1),(2,'柳生飘絮','13126919255','e10adc3949ba59abbe56e057f20f883e','../../static/uploads/images/headpic-1509270571762.png',0),(3,'成是非','13126919252','00c66aaf5f2c3f49946f15c1ad2ea0d3','http://jinnangtuan.com/static/img/users/jinnangusers/head.png',1),(4,'归海一刀','13126919253','e10adc3949ba59abbe56e057f20f883e','../../static/uploads/images/headpic-1508516716022.jpg',1),(5,'古三通','13126919254','e10adc3949ba59abbe56e057f20f883e','../../static/uploads/images/headpic-1506875379823.jpg',1),(6,'云罗郡主','13126919256','e10adc3949ba59abbe56e057f20f883e','../../static/uploads/images/headpic-1506875974089.jpg',0),(7,'朱铁胆','13126919257','e10adc3949ba59abbe56e057f20f883e','http://jinnangtuan.com/static/img/users/jinnangusers/head.png',1),(8,'海棠','13126919250','96e79218965eb72c92a549dd5a330112','http://jinnangtuan.com/static/img/users/jinnangusers/head.png',0),(9,'断天涯','13126919258','e10adc3949ba59abbe56e057f20f883e','http://jinnangtuan.com/static/img/users/jinnangusers/head.png',1),(10,'万三千','13126919221','e10adc3949ba59abbe56e057f20f883e','http://jinnangtuan.com/static/img/users/jinnangusers/head.png',0),(14,'多啦A梦','13133333333','e10adc3949ba59abbe56e057f20f883e','../../static/uploads/images/headpic-1507362358963.png',1),(13,'锦囊团用户','13111111111','e10adc3949ba59abbe56e057f20f883e','http://jinnangtuan.com/static/img/users/jinnangusers/head.png',1);
/*!40000 ALTER TABLE `tour_user` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;