-
Notifications
You must be signed in to change notification settings - Fork 0
/
iron.sql
414 lines (355 loc) · 14.2 KB
/
iron.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
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
-- MySQL dump 10.13 Distrib 8.0.19, for macos10.15 (x86_64)
--
-- Host: 127.0.0.1 Database: iron
-- ------------------------------------------------------
-- Server version 5.7.19-log
/*!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 */;
/*!50503 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 `blog`
--
DROP TABLE IF EXISTS `blog`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blog` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(45) DEFAULT NULL,
`intro` varchar(1024) DEFAULT NULL,
`upload_time` timestamp NULL DEFAULT NULL,
`create_time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
`name_en` varchar(45) DEFAULT NULL,
`intro_en` varchar(1024) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `blog`
--
LOCK TABLES `blog` WRITE;
/*!40000 ALTER TABLE `blog` DISABLE KEYS */;
/*!40000 ALTER TABLE `blog` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `blog_img`
--
DROP TABLE IF EXISTS `blog_img`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `blog_img` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`path` varchar(1024) DEFAULT NULL,
`big` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `blog_img`
--
LOCK TABLES `blog_img` WRITE;
/*!40000 ALTER TABLE `blog_img` DISABLE KEYS */;
/*!40000 ALTER TABLE `blog_img` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `categories`
--
DROP TABLE IF EXISTS `categories`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `categories` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT,
`name` text,
`detail` text,
`namee` text,
`cover` text,
`carousel` text,
`is_index` tinyint(1) DEFAULT '0',
`detail_en` text,
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=70 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `categories`
--
LOCK TABLES `categories` WRITE;
/*!40000 ALTER TABLE `categories` DISABLE KEYS */;
INSERT INTO `categories` VALUES (65,'q','q','q','CategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ce',NULL,1,'CategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ce'),(66,'q','q','q','CategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ce',NULL,1,'CategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ceCategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ce'),(67,'q','q','q','CategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ce',NULL,1,'CategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ceCategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ce'),(68,'q','q','q','CategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ce',NULL,1,'CategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ceCategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ce'),(69,'q','q','q','CategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ce',NULL,1,'CategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ceCategoriesCover_Sat Sep 12 10:19:10 CST 2020c677b2d6-990d-4b57-8d92-7666763907ce');
/*!40000 ALTER TABLE `categories` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `categories_img`
--
DROP TABLE IF EXISTS `categories_img`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `categories_img` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`cid` int(11) DEFAULT NULL,
`path` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `categories_img`
--
LOCK TABLES `categories_img` WRITE;
/*!40000 ALTER TABLE `categories_img` DISABLE KEYS */;
/*!40000 ALTER TABLE `categories_img` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `contact`
--
DROP TABLE IF EXISTS `contact`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `contact` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(45) DEFAULT NULL,
`info` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `contact`
--
LOCK TABLES `contact` WRITE;
/*!40000 ALTER TABLE `contact` DISABLE KEYS */;
INSERT INTO `contact` VALUES (5,'QQ','[email protected]'),(6,'微信','17166843885'),(7,'网易云','[email protected]');
/*!40000 ALTER TABLE `contact` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `feedback`
--
DROP TABLE IF EXISTS `feedback`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `feedback` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`fullname` varchar(45) DEFAULT NULL,
`email` varchar(45) DEFAULT NULL,
`subject` varchar(45) DEFAULT NULL,
`message` varchar(255) DEFAULT NULL,
`phone` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `feedback`
--
LOCK TABLES `feedback` WRITE;
/*!40000 ALTER TABLE `feedback` DISABLE KEYS */;
/*!40000 ALTER TABLE `feedback` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `home`
--
DROP TABLE IF EXISTS `home`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `home` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`link` varchar(2012) DEFAULT NULL,
`img` varchar(1000) DEFAULT NULL,
`content` varchar(255) DEFAULT NULL,
`type` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `home`
--
LOCK TABLES `home` WRITE;
/*!40000 ALTER TABLE `home` DISABLE KEYS */;
/*!40000 ALTER TABLE `home` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `home_attr`
--
DROP TABLE IF EXISTS `home_attr`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `home_attr` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`title` varchar(1024) DEFAULT NULL,
`content` varchar(1024) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=37 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `home_attr`
--
LOCK TABLES `home_attr` WRITE;
/*!40000 ALTER TABLE `home_attr` DISABLE KEYS */;
INSERT INTO `home_attr` VALUES (18,'title','园艺和庭院护理工具'),(24,'content','你的健康对我们很重要!你的健康对我们很重要!你的健康对我们很重要!你的健康对我们很重要!你的健康对我们很重要!重要的我们!你的健康对我们很重要!你对我们很重要!你的健康对我们很重要!你的身体对我们很重要!你的健康对我们很重要!你的头脑'),(25,'img','HomeImgAttr_Wed Sep 09 19:59:22 CST 2020a129ff7f-185c-474d-9938-3774c0649e52'),(26,'detail_img','HomeDetailImgAttr_Wed Sep 09 20:02:13 CST 202046f16c53-86c8-4f46-9c70-e97f66429d70'),(27,'detail_img_link','http://www.baidu.com'),(28,'email','[email protected]'),(29,'twitter','https://twitter.com/'),(30,'youtube','https://www.youtube.com/'),(31,'facebook','https://www.facebook.com/'),(32,'linked','https://linked.com/'),(33,'followUs','http://www.baidu.com'),(34,'foot','Copyright © 2006-2016 SHOPYY INC. All Rights Reserved.ssss'),(35,'title_en','Gardening & Yard Care Toolssssss'),(36,'content_en','Gardening & Yard Care Toolsssss');
/*!40000 ALTER TABLE `home_attr` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `homeimg`
--
DROP TABLE IF EXISTS `homeimg`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `homeimg` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`path` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `homeimg`
--
LOCK TABLES `homeimg` WRITE;
/*!40000 ALTER TABLE `homeimg` DISABLE KEYS */;
/*!40000 ALTER TABLE `homeimg` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `login`
--
DROP TABLE IF EXISTS `login`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `login` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user` varchar(45) DEFAULT NULL,
`password` varchar(45) DEFAULT NULL,
`name` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `login`
--
LOCK TABLES `login` WRITE;
/*!40000 ALTER TABLE `login` DISABLE KEYS */;
INSERT INTO `login` VALUES (1,'root','root','root');
/*!40000 ALTER TABLE `login` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `product`
--
DROP TABLE IF EXISTS `product`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `product` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` text,
`name_en` text,
`intro` text,
`intro_en` text,
`simple_intro` text,
`simple_intro_en` text,
`prize` double DEFAULT NULL,
`max_prize` int(10) unsigned DEFAULT '0',
`cid` int(11) unsigned DEFAULT NULL,
`cover` text,
`model` text,
`model_en` text,
`access_total` int(11) unsigned DEFAULT '0',
`create_time` datetime DEFAULT NULL,
`upload_time` datetime DEFAULT NULL,
`is_top` tinyint(1) unsigned DEFAULT '0',
`piece` int(10) DEFAULT '0',
`three_d` text,
`is_new` tinyint(1) DEFAULT '0',
`is_hot` tinyint(1) DEFAULT '0',
`amazon` text,
`weight` int(11) DEFAULT NULL,
`prize_en` varchar(255) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=633 DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `product`
--
LOCK TABLES `product` WRITE;
/*!40000 ALTER TABLE `product` DISABLE KEYS */;
INSERT INTO `product` VALUES (632,'1','1','1','1','undefined','undefined',1,NULL,65,'ProductCover_Sat Sep 12 14:54:34 CST 20209b556553-b764-4e0f-a0dc-0fb00a547671','1','1',NULL,NULL,'2020-09-12 06:55:25',0,4111111,' ',0,0,'http://11',NULL,NULL);
/*!40000 ALTER TABLE `product` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `product_attr`
--
DROP TABLE IF EXISTS `product_attr`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `product_attr` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(45) DEFAULT NULL,
`value` varchar(45) DEFAULT NULL,
`pid` int(10) unsigned DEFAULT NULL,
`name_en` varchar(45) DEFAULT NULL,
`value_en` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `product_attr`
--
LOCK TABLES `product_attr` WRITE;
/*!40000 ALTER TABLE `product_attr` DISABLE KEYS */;
/*!40000 ALTER TABLE `product_attr` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `product_detail_img`
--
DROP TABLE IF EXISTS `product_detail_img`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `product_detail_img` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`path` varchar(255) DEFAULT NULL,
`pid` int(11) DEFAULT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id_UNIQUE` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `product_detail_img`
--
LOCK TABLES `product_detail_img` WRITE;
/*!40000 ALTER TABLE `product_detail_img` DISABLE KEYS */;
/*!40000 ALTER TABLE `product_detail_img` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `products_img`
--
DROP TABLE IF EXISTS `products_img`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!50503 SET character_set_client = utf8mb4 */;
CREATE TABLE `products_img` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`path` varchar(255) DEFAULT NULL,
`pid` int(11) DEFAULT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `products_img`
--
LOCK TABLES `products_img` WRITE;
/*!40000 ALTER TABLE `products_img` DISABLE KEYS */;
/*!40000 ALTER TABLE `products_img` 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 */;
-- Dump completed on 2020-10-25 11:43:17