forked from laramall2018/Laramall
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlaramall.sql
11082 lines (6030 loc) · 446 KB
/
laramall.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
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
SQLyog Ultimate v12.3.1 (64 bit)
MySQL - 10.1.22-MariaDB : Database - laramall
*********************************************************************
*/
/*!40101 SET NAMES utf8 */;
/*!40101 SET SQL_MODE=''*/;
/*!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 `ps_admin_role` */
DROP TABLE IF EXISTS `ps_admin_role`;
CREATE TABLE `ps_admin_role` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`admin_id` int(11) NOT NULL COMMENT '管理员编号',
`role_id` int(11) NOT NULL COMMENT '角色编号',
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*Data for the table `ps_admin_role` */
insert into `ps_admin_role`(`id`,`admin_id`,`role_id`,`created_at`,`updated_at`) values
(3,7,10,'2017-02-07 04:46:01','2017-02-07 04:46:01'),
(4,6,7,'2017-11-30 16:51:59','2017-11-30 16:51:59'),
(5,6,10,'2017-11-30 16:51:59','2017-11-30 16:51:59');
/*Table structure for table `ps_admins` */
DROP TABLE IF EXISTS `ps_admins`;
CREATE TABLE `ps_admins` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`_id` varchar(255) NOT NULL,
`username` varchar(255) NOT NULL,
`email` varchar(255) NOT NULL,
`is_admin` int(10) NOT NULL,
`remember_token` varchar(255) NOT NULL,
`phone` varchar(255) NOT NULL,
`ip` varchar(255) NOT NULL,
`qq` varchar(255) NOT NULL,
`add_time` int(10) NOT NULL,
`is_show` int(10) NOT NULL,
`password` varchar(255) NOT NULL,
`user_icon` varchar(255) NOT NULL,
`role_id` int(10) NOT NULL,
`address_id` int(10) NOT NULL,
`nickname` varchar(255) NOT NULL COMMENT '昵称',
`sex` int(10) NOT NULL COMMENT '性别',
`birthday` varchar(255) NOT NULL COMMENT '生日',
`sfz` varchar(255) NOT NULL COMMENT '身份证',
`country` int(10) NOT NULL COMMENT '国家编号',
`province` int(10) NOT NULL COMMENT '省会编号',
`city` int(10) NOT NULL COMMENT '城市编号',
`district` int(10) NOT NULL COMMENT '地区编号',
`sort_order` int(10) NOT NULL,
`rank_id` int(10) NOT NULL,
`login_ip` varchar(255) NOT NULL COMMENT '登录ip',
`reg_from` varchar(255) NOT NULL COMMENT '注册来源',
`login_time` int(10) NOT NULL,
`last_login_ip` varchar(255) NOT NULL,
`last_login_time` int(10) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
/*Data for the table `ps_admins` */
insert into `ps_admins`(`id`,`_id`,`username`,`email`,`is_admin`,`remember_token`,`phone`,`ip`,`qq`,`add_time`,`is_show`,`password`,`user_icon`,`role_id`,`address_id`,`nickname`,`sex`,`birthday`,`sfz`,`country`,`province`,`city`,`district`,`sort_order`,`rank_id`,`login_ip`,`reg_from`,`login_time`,`last_login_ip`,`last_login_time`,`created_at`,`updated_at`) values
(6,'','admin','[email protected]',1,'mhbrLb2RHQaM1WNJy6Mc6EyYkm8rTRzYKBouWAOMnvJ5WL64015o9hg5BXWm','13810597838','192.168.1.80','',1431762352,1,'$2y$10$tyfMMsV4MJGih8I1cbFFX.19MYzR3X2K7zEIEO.sEahl.l45mMTrm','images//201604/2208c62b0df9a8387a1a33016d8070d4.png',7,0,'',0,'','',0,0,0,0,0,0,'::1','',0,'',0,'2018-03-04 21:48:53','2018-03-04 13:48:53'),
(7,'','demo','[email protected]',0,'WLMitPJDCiWDdOqzDs6xpfTBReOsOronwYoKAIAd0bwZkx4SGAvmh7BeAA2U','13810597838','','',1486442761,1,'$2y$10$zMlKrbX8FRfYTHt9tBDKNuoTHTG.iJWWkRbYlOpIU0oHhsopsKBY2','',0,0,'',0,'','',0,0,0,0,0,0,'','',0,'',0,'2017-02-07 15:30:57','2017-02-07 07:30:57');
/*Table structure for table `ps_advice` */
DROP TABLE IF EXISTS `ps_advice`;
CREATE TABLE `ps_advice` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '主键',
`order_sn` varchar(255) NOT NULL COMMENT '订单编号',
`goods_id` int(10) NOT NULL COMMENT '商品编号',
`add_time` int(10) NOT NULL COMMENT '投诉时间戳',
`user_id` int(10) NOT NULL COMMENT '投诉人',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `ps_advice` */
/*Table structure for table `ps_article` */
DROP TABLE IF EXISTS `ps_article`;
CREATE TABLE `ps_article` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`cat_id` int(10) NOT NULL,
`title` varchar(255) NOT NULL,
`author` varchar(255) NOT NULL COMMENT '文章作者',
`content` text NOT NULL,
`article_code` text NOT NULL,
`is_show` int(10) NOT NULL,
`add_time` int(10) NOT NULL,
`diy_url` varchar(255) NOT NULL,
`file_url` varchar(255) NOT NULL,
`sort_order` int(10) NOT NULL,
`keywords` varchar(255) NOT NULL COMMENT '关键词',
`description` varchar(255) NOT NULL COMMENT '简单介绍',
`position` varchar(255) NOT NULL COMMENT '推荐位置',
`thumb` varchar(255) NOT NULL COMMENT '文章缩略图',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=25 DEFAULT CHARSET=utf8;
/*Data for the table `ps_article` */
/*Table structure for table `ps_article_cat` */
DROP TABLE IF EXISTS `ps_article_cat`;
CREATE TABLE `ps_article_cat` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`cat_name` varchar(255) NOT NULL,
`parent_id` int(10) NOT NULL,
`cat_pic` varchar(255) NOT NULL,
`is_show` int(10) NOT NULL,
`cat_desc` text NOT NULL,
`sort_order` int(10) NOT NULL,
`is_help` int(10) NOT NULL COMMENT '是否是帮助中心',
`diy_url` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
/*Data for the table `ps_article_cat` */
insert into `ps_article_cat`(`id`,`cat_name`,`parent_id`,`cat_pic`,`is_show`,`cat_desc`,`sort_order`,`is_help`,`diy_url`,`created_at`,`updated_at`) values
(1,'网店帮助中心',0,'',1,'',0,1,'','2016-04-18 11:02:38','2016-04-18 03:02:38'),
(2,'使用帮助',0,'',1,'',0,1,'','2016-04-18 10:55:55','2016-04-18 02:55:55'),
(3,'如何处理数据库',0,'',1,'',0,0,'','2016-04-18 11:01:53','2016-04-18 03:01:53'),
(4,'系统帮助',0,'',1,'',0,1,'help','2016-04-18 10:49:20','2016-04-18 02:49:20'),
(5,'支付方式',0,'',1,'',0,0,'','2016-02-22 03:27:54','2016-02-22 03:27:54'),
(6,'授权相关',0,'',1,'',0,0,'','2016-02-23 08:54:51','2016-02-23 08:54:51'),
(7,'安装使用',0,'',1,'',0,0,'','2016-02-24 14:20:38','2016-02-24 14:20:38'),
(8,'模板开发教程',0,'',1,'',0,0,'','2016-02-24 14:39:26','2016-02-24 14:39:26'),
(9,'建议和意见',0,'',1,'',0,0,'','2016-03-01 03:51:49','2016-03-01 03:51:49'),
(10,'视频教程',0,'images/common/201610/bb0cca92765a0ad49a4b64c6653a474a.png',1,'',0,1,'','2016-10-08 12:19:06','2016-10-08 04:19:06');
/*Table structure for table `ps_ask` */
DROP TABLE IF EXISTS `ps_ask`;
CREATE TABLE `ps_ask` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`type` tinyint(3) NOT NULL,
`goods_id` mediumint(8) NOT NULL,
`email` varchar(60) COLLATE utf8_bin NOT NULL,
`username` varchar(60) COLLATE utf8_bin NOT NULL,
`content` text COLLATE utf8_bin NOT NULL,
`comment_rank` tinyint(1) NOT NULL,
`add_time` int(10) NOT NULL,
`ip_address` varchar(15) COLLATE utf8_bin NOT NULL,
`status` tinyint(3) NOT NULL,
`parent_id` int(10) NOT NULL,
`user_id` int(10) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=41 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*Data for the table `ps_ask` */
insert into `ps_ask`(`id`,`type`,`goods_id`,`email`,`username`,`content`,`comment_rank`,`add_time`,`ip_address`,`status`,`parent_id`,`user_id`,`created_at`,`updated_at`) values
(1,1,3076,'[email protected]','11111','11111111111111111111111111111111111111111111111',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(2,1,3076,'[email protected]','11111','11111111111111111111111111111111111111111111111',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(3,1,3076,'[email protected]','11111','11111111111111111111111111111111111111111111111',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(4,1,3076,'[email protected]','11111','11111111111111111111111111111111111111111111111',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(5,1,3076,'[email protected]','11111','11111111111111111111111111111111111111111111111',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(6,1,3076,'[email protected]','11111','11111111111111111111111111111111111111111111111',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(7,1,3076,'[email protected]','11111','11111111111111111111111111111111111111111111111',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(8,1,3076,'[email protected]','11111','11111111111111111111111111111111111111111111111',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(9,1,3076,'[email protected]','11111','11111111111111111111111111111111111111111111111',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(10,1,3076,'[email protected]','11111','11111111111111111111111111111111111111111111111',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(11,2,3076,'[email protected]','22222','22222222222222222222222222222222222222222222222',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(12,2,3076,'[email protected]','22222','22222222222222222222222222222222222222222222222',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(13,2,3076,'[email protected]','22222','22222222222222222222222222222222222222222222222',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(14,2,3076,'[email protected]','22222','22222222222222222222222222222222222222222222222',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(15,2,3076,'[email protected]','22222','22222222222222222222222222222222222222222222222',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(16,2,3076,'[email protected]','22222','22222222222222222222222222222222222222222222222',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(17,2,3076,'[email protected]','22222','22222222222222222222222222222222222222222222222',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(18,2,3076,'[email protected]','22222','22222222222222222222222222222222222222222222222',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(19,2,3076,'[email protected]','22222','22222222222222222222222222222222222222222222222',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(20,2,3076,'[email protected]','22222','22222222222222222222222222222222222222222222222',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(21,3,3076,'[email protected]','33333','33333333333333333333333333333333333333333333333',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(22,3,3076,'[email protected]','33333','33333333333333333333333333333333333333333333333',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(23,3,3076,'[email protected]','33333','33333333333333333333333333333333333333333333333',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(24,3,3076,'[email protected]','33333','33333333333333333333333333333333333333333333333',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(25,3,3076,'[email protected]','33333','33333333333333333333333333333333333333333333333',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(26,3,3076,'[email protected]','33333','33333333333333333333333333333333333333333333333',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(27,3,3076,'[email protected]','33333','33333333333333333333333333333333333333333333333',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(28,3,3076,'[email protected]','33333','33333333333333333333333333333333333333333333333',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(29,3,3076,'[email protected]','33333','33333333333333333333333333333333333333333333333',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(30,3,3076,'[email protected]','33333','33333333333333333333333333333333333333333333333',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(31,4,3076,'[email protected]','44444','44444444444444444444444444444444444444444444444',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(32,4,3076,'[email protected]','44444','44444444444444444444444444444444444444444444444',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(33,4,3076,'[email protected]','44444','44444444444444444444444444444444444444444444444',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(34,4,3076,'[email protected]','44444','44444444444444444444444444444444444444444444444',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(35,4,3076,'[email protected]','44444','44444444444444444444444444444444444444444444444',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(36,4,3076,'[email protected]','44444','44444444444444444444444444444444444444444444444',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(37,4,3076,'[email protected]','44444','44444444444444444444444444444444444444444444444',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(38,4,3076,'[email protected]','44444','44444444444444444444444444444444444444444444444',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(39,4,3076,'[email protected]','44444','44444444444444444444444444444444444444444444444',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00'),
(40,4,3076,'[email protected]','44444','44444444444444444444444444444444444444444444444',0,1435306394,'',0,0,0,'2015-06-26 16:13:14','0000-00-00 00:00:00');
/*Table structure for table `ps_attribute` */
DROP TABLE IF EXISTS `ps_attribute`;
CREATE TABLE `ps_attribute` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`attr_name` varchar(255) NOT NULL,
`attr_type` int(10) NOT NULL,
`color_tag` varchar(255) NOT NULL,
`img_tag` varchar(255) NOT NULL,
`type_id` int(10) NOT NULL COMMENT '商品类型',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`sort_order` int(10) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
/*Data for the table `ps_attribute` */
insert into `ps_attribute`(`id`,`attr_name`,`attr_type`,`color_tag`,`img_tag`,`type_id`,`created_at`,`updated_at`,`sort_order`) values
(3,'颜色',0,'1','1',5,'2016-04-11 23:37:54','2016-04-11 15:37:54',0),
(4,'尺码',0,'0','0',5,'2016-04-11 23:37:49','2016-04-11 15:37:49',0),
(5,'产地',1,'0','0',5,'2016-05-21 15:49:44','2016-05-21 15:49:44',0),
(9,'颜色',0,'1','1',6,'2016-10-18 17:47:52','2016-10-18 17:47:52',0),
(10,'产地',0,'0','0',6,'2016-11-22 11:04:15','2016-11-22 03:04:15',0);
/*Table structure for table `ps_brand` */
DROP TABLE IF EXISTS `ps_brand`;
CREATE TABLE `ps_brand` (
`id` smallint(5) unsigned NOT NULL AUTO_INCREMENT,
`brand_name` varchar(60) NOT NULL DEFAULT '',
`brand_logo` varchar(80) NOT NULL DEFAULT '',
`brand_desc` text NOT NULL,
`brand_url` varchar(255) NOT NULL DEFAULT '',
`sort_order` tinyint(3) unsigned NOT NULL DEFAULT '50',
`is_show` tinyint(1) unsigned NOT NULL DEFAULT '1',
`brand_cat` varchar(255) NOT NULL,
`delete_type` int(10) NOT NULL DEFAULT '0',
`diy_url` varchar(255) NOT NULL,
`tag` int(10) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`),
KEY `is_show` (`is_show`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*Data for the table `ps_brand` */
insert into `ps_brand`(`id`,`brand_name`,`brand_logo`,`brand_desc`,`brand_url`,`sort_order`,`is_show`,`brand_cat`,`delete_type`,`diy_url`,`tag`,`created_at`,`updated_at`) values
(1,'宜家','images//201604/cd57422716ca87fe42ffb73cdf619bb4.png','<p>来自瑞典的经典品牌 ikea 美观大方的设计风格<br/></p>','http://www.ikea.cn',0,1,'',0,'',0,'2016-04-18 19:18:53','2016-04-18 11:18:53'),
(2,'Apple','images//201604/37fe0c933afe033f9e7e6716db30a167.png','','www.apple.com.cn',0,1,'',0,'',0,'2016-04-18 19:00:06','2016-04-18 11:00:06'),
(3,'PHPStore','','','www.phpstore.cn',0,1,'',0,'',0,'2016-04-18 19:00:58','2016-04-18 11:00:58'),
(4,'LaraStore','images/common/201703/20170308133881488980308_vaeKpd9pMn.png','','http://www.phpstore.cn',50,1,'',0,'',0,'2017-03-08 21:38:28','2017-03-08 13:38:28');
/*Table structure for table `ps_brand_collect` */
DROP TABLE IF EXISTS `ps_brand_collect`;
CREATE TABLE `ps_brand_collect` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '主键',
`brand_id` int(10) NOT NULL COMMENT '品牌编号',
`user_id` int(10) NOT NULL COMMENT '用户编号',
`add_time` int(10) NOT NULL COMMENT '收藏时间戳',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='品牌收藏表';
/*Data for the table `ps_brand_collect` */
/*Table structure for table `ps_card` */
DROP TABLE IF EXISTS `ps_card`;
CREATE TABLE `ps_card` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`user_id` int(10) NOT NULL COMMENT '用户编号',
`admin_id` int(10) NOT NULL COMMENT '管理员编号',
`card_sn` varchar(255) NOT NULL COMMENT '礼品卡编号',
`add_time` int(11) NOT NULL COMMENT '时间戳',
`price` decimal(10,2) NOT NULL COMMENT '礼品卡金额',
`end_time` int(11) NOT NULL COMMENT '到期日期时间戳',
`tag` int(11) NOT NULL COMMENT '礼品卡状态',
`pay_time` int(11) NOT NULL COMMENT '消费时间',
`sort_order` int(11) NOT NULL COMMENT '排序',
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*Data for the table `ps_card` */
insert into `ps_card`(`id`,`user_id`,`admin_id`,`card_sn`,`add_time`,`price`,`end_time`,`tag`,`pay_time`,`sort_order`,`created_at`,`updated_at`) values
(1,1,6,'IwBhqNEsRQ12',1480550400,123.00,1483056000,2,0,0,'2016-12-09 13:31:31','2016-12-26 13:18:00'),
(2,1,6,'9ep08apca7',1480550400,3000.00,1513728000,1,0,0,'2016-12-09 13:48:51','2017-02-20 14:30:21');
/*Table structure for table `ps_cart` */
DROP TABLE IF EXISTS `ps_cart`;
CREATE TABLE `ps_cart` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`user_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`session_id` varchar(255) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
`goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`goods_sn` varchar(60) NOT NULL DEFAULT '',
`product_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`goods_name` varchar(120) NOT NULL DEFAULT '',
`market_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
`shop_price` decimal(10,2) NOT NULL DEFAULT '0.00',
`goods_number` smallint(5) unsigned NOT NULL DEFAULT '0',
`goods_attr` text NOT NULL,
`is_real` tinyint(1) unsigned NOT NULL DEFAULT '0',
`extension_code` varchar(30) NOT NULL DEFAULT '',
`parent_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`rec_type` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_gift` smallint(5) unsigned NOT NULL DEFAULT '0',
`is_shipping` tinyint(1) unsigned NOT NULL DEFAULT '0',
`can_handsel` tinyint(3) unsigned NOT NULL DEFAULT '0',
`goods_attr_id` varchar(255) NOT NULL DEFAULT '',
`thumb` varchar(255) NOT NULL,
`is_checked` int(10) NOT NULL COMMENT '购物车中记录是否被选中',
`updated_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`),
KEY `session_id` (`session_id`)
) ENGINE=MyISAM AUTO_INCREMENT=318 DEFAULT CHARSET=utf8;
/*Data for the table `ps_cart` */
/*Table structure for table `ps_cat_ad` */
DROP TABLE IF EXISTS `ps_cat_ad`;
CREATE TABLE `ps_cat_ad` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`cat_id` int(10) NOT NULL COMMENT '分类编号',
`img_src` varchar(255) NOT NULL COMMENT '图片地址',
`img_name` varchar(255) NOT NULL COMMENT '图片名称',
`img_url` varchar(255) NOT NULL COMMENT '分类广告链接',
`sort_order` int(10) NOT NULL COMMENT '排序',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='分类广告表';
/*Data for the table `ps_cat_ad` */
insert into `ps_cat_ad`(`id`,`cat_id`,`img_src`,`img_name`,`img_url`,`sort_order`,`created_at`,`updated_at`) values
(2,1,'images/common/201610/909e14cd30eeb57651690af0aa9dcbfe.png','','http://www.phpstore.cn',0,'2016-10-09 12:29:14','2016-10-09 04:29:14'),
(3,14,'images/common/201610/0822cc7dc916d3735bb6de394e25b194.jpg','','http://www.phpstore.cn',0,'2016-10-09 12:29:02','2016-10-09 04:29:02');
/*Table structure for table `ps_category` */
DROP TABLE IF EXISTS `ps_category`;
CREATE TABLE `ps_category` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`parent_id` int(11) DEFAULT NULL,
`cat_name` varchar(255) NOT NULL COMMENT '分类名称',
`measure_unit` varchar(255) NOT NULL COMMENT '数量单位',
`cat_desc` varchar(255) NOT NULL COMMENT '分类描述',
`keywords` varchar(255) NOT NULL COMMENT '分类关键字',
`cat_template` varchar(255) NOT NULL COMMENT '分类模板名称',
`is_show` int(11) NOT NULL COMMENT '是否显示',
`is_nav` int(11) NOT NULL COMMENT '显示在导航栏',
`grade` int(11) NOT NULL COMMENT '分类等级',
`cat_img` varchar(255) NOT NULL COMMENT '分类图标',
`diy_url` varchar(255) NOT NULL COMMENT '自定义链接',
`sort_order` int(11) NOT NULL COMMENT '排序',
`left` int(11) DEFAULT NULL,
`right` int(11) DEFAULT NULL,
`depth` int(11) DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`),
KEY `category_parent_id_index` (`parent_id`),
KEY `category_left_index` (`left`),
KEY `category_right_index` (`right`)
) ENGINE=InnoDB AUTO_INCREMENT=43 DEFAULT CHARSET=utf8;
/*Data for the table `ps_category` */
insert into `ps_category`(`id`,`parent_id`,`cat_name`,`measure_unit`,`cat_desc`,`keywords`,`cat_template`,`is_show`,`is_nav`,`grade`,`cat_img`,`diy_url`,`sort_order`,`left`,`right`,`depth`,`created_at`,`updated_at`) values
(1,NULL,'测试分类','','','','',1,1,0,'','',0,79,84,0,'2016-05-14 17:31:43','2017-02-27 09:44:41'),
(2,NULL,'家电','','','','',1,1,5,'','',0,69,76,0,'2016-05-14 17:31:51','2017-02-27 09:44:41'),
(3,NULL,'智能家具','','','','',1,1,0,'','',0,1,4,0,'2016-05-14 17:32:03','2016-11-05 16:36:43'),
(4,NULL,'化妆品/护肤品','','','','',1,1,0,'','',0,5,16,0,'2016-05-14 17:32:19','2016-11-05 16:36:43'),
(5,4,'基础护理','','','','',1,1,0,'','',0,6,11,1,'2016-05-14 17:32:30','2016-11-05 16:36:43'),
(6,4,'彩妆系列','','','','',1,1,0,'','',0,12,15,1,'2016-05-14 17:32:40','2016-11-05 16:36:43'),
(7,6,'兰蔻','','','','',1,1,0,'','',0,13,14,2,'2016-05-14 17:32:55','2016-11-05 16:36:43'),
(8,NULL,'编程书籍','','','','',1,1,0,'','',0,17,32,0,'2016-05-14 17:33:06','2016-11-05 16:36:43'),
(9,8,'PHP编程书籍','','','','',1,1,0,'','',0,18,21,1,'2016-05-14 17:33:16','2016-11-05 16:36:43'),
(10,8,'python','','','','',1,1,0,'','',0,22,23,1,'2016-05-14 17:33:25','2016-11-05 16:36:43'),
(11,8,'ruby','','','','',1,1,0,'','',0,24,25,1,'2016-05-14 17:33:34','2016-11-05 16:36:43'),
(12,8,'swift','','','','',1,1,0,'','',0,26,27,1,'2016-05-14 17:33:49','2016-11-05 16:36:43'),
(13,8,'javascript','','','','',1,1,0,'','',0,28,31,1,'2016-05-14 17:34:03','2016-11-05 16:36:43'),
(14,9,'django','','','','',1,1,0,'','',0,19,20,2,'2016-05-14 17:34:13','2016-11-05 16:36:43'),
(15,13,'vuejs','','','','',1,1,0,'','',0,29,30,2,'2016-05-14 17:34:21','2016-11-05 16:36:43'),
(16,NULL,'苹果产品','','','','',1,1,0,'','',0,33,44,0,'2016-05-14 17:34:54','2016-11-05 16:36:43'),
(17,16,'Mac电脑系列','','','','',1,1,0,'','',0,34,39,1,'2016-05-14 17:35:03','2016-11-05 16:36:43'),
(18,16,'iPad平板系列','','','','',1,1,0,'','',0,40,41,1,'2016-05-14 17:35:14','2016-11-05 16:36:43'),
(19,16,'iPhone手机系列','','','','',1,1,0,'','',0,42,43,1,'2016-05-14 17:35:23','2016-11-05 16:36:43'),
(20,17,'MacPro台式机','','','','',1,1,0,'','',0,35,36,2,'2016-05-14 17:35:35','2016-11-05 16:36:43'),
(21,17,'MacBookPro笔记本','','','','',1,1,0,'','',0,37,38,2,'2016-05-14 17:35:47','2016-11-05 16:36:43'),
(22,2,'洗衣机','','','','',1,1,0,'','',0,70,71,1,'2016-05-14 17:36:02','2017-02-27 09:44:41'),
(23,2,'冰箱','','','','',1,1,0,'','',0,72,73,1,'2016-05-14 17:36:10','2017-02-27 09:44:41'),
(24,2,'电视机','','','','',1,1,0,'','',0,74,75,1,'2016-05-14 17:36:25','2017-02-27 09:44:41'),
(25,1,'智能机器人','','','','',1,1,0,'','',0,80,81,1,'2016-05-14 17:36:47','2017-02-27 09:44:41'),
(26,1,'无人机','','','','',1,1,0,'','',0,82,83,1,'2016-05-14 17:36:56','2017-02-27 09:44:41'),
(27,NULL,'生鲜水果','','','','',1,1,0,'','',0,45,48,0,'2016-05-14 17:37:15','2016-11-05 16:36:43'),
(28,NULL,'绿色植物','','','','',1,1,0,'','',0,49,52,0,'2016-05-14 17:37:21','2016-11-05 16:36:43'),
(29,NULL,'珠宝首饰','','','','',1,1,0,'','',0,53,56,0,'2016-05-14 17:37:46','2016-11-05 16:36:43'),
(30,NULL,'奢侈品','','','','',1,1,0,'','',0,57,64,0,'2016-05-14 17:37:59','2016-11-05 16:36:43'),
(31,NULL,'电动汽车','','','','',1,1,0,'','',0,65,68,0,'2016-05-14 17:38:11','2016-11-05 16:36:43'),
(32,3,'扫地机器人','','','','',1,1,0,'','',0,2,3,1,'2016-05-14 17:40:32','2016-11-05 16:36:43'),
(33,27,'有机牧场水果','','','','',1,1,0,'','',0,46,47,1,'2016-05-14 17:40:59','2016-11-05 16:36:43'),
(34,28,'绿萝','','','','',1,1,0,'','',0,50,51,1,'2016-05-14 17:41:09','2016-11-05 16:36:43'),
(35,29,'彩宝石','','','','',1,1,0,'','',0,54,55,1,'2016-05-14 17:41:28','2016-11-05 16:36:43'),
(36,30,'LV','','','','',1,1,0,'','',0,58,59,1,'2016-05-14 17:41:43','2016-11-05 16:36:43'),
(37,30,'欧米茄手表','','','','',1,1,0,'','',0,60,63,1,'2016-05-14 17:41:58','2016-11-05 16:36:43'),
(38,31,'特斯拉电动汽车','','','','',1,1,0,'','',0,66,67,1,'2016-05-14 17:42:09','2016-11-05 16:36:43'),
(39,5,'科颜氏','','','','',1,1,0,'images/category/201605/d201bf9ddc94f54e971ac5233d6a6cb7.png','',0,7,10,2,'2016-05-14 18:02:07','2016-11-05 16:36:43'),
(40,37,'海淘 ','','','','',1,1,0,'','',0,61,62,2,'2016-05-15 16:20:09','2016-11-05 16:36:43'),
(41,39,'积雪草洗面奶','','','','',1,1,0,'','',0,8,9,3,'2016-05-15 16:51:17','2016-11-05 16:36:43'),
(42,NULL,'filofax活页本123','','','','',1,1,0,'images/category/201610/b866f7604de1dc6afb84d6d79f97025f.jpg','',0,77,78,0,'2016-06-22 17:42:32','2017-02-27 09:44:41');
/*Table structure for table `ps_city_site` */
DROP TABLE IF EXISTS `ps_city_site`;
CREATE TABLE `ps_city_site` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`site_name` varchar(255) NOT NULL,
`site_url` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`is_show` int(10) NOT NULL,
`sort_order` int(10) NOT NULL,
`site_code` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8;
/*Data for the table `ps_city_site` */
insert into `ps_city_site`(`id`,`site_name`,`site_url`,`created_at`,`updated_at`,`is_show`,`sort_order`,`site_code`) values
(9,'北京站','www.phpstore.cn/beijing','2015-08-26 00:40:24','2015-08-26 00:40:24',1,0,'beijing'),
(10,'上海站','www.phpstore.cn/shanghai','2015-08-26 00:40:36','2015-08-26 00:40:36',1,0,'shanghai'),
(11,'广州站','gz.phpstore.cn','2016-01-05 12:13:17','2016-01-05 04:13:17',0,1,'guangzhou');
/*Table structure for table `ps_collect_goods` */
DROP TABLE IF EXISTS `ps_collect_goods`;
CREATE TABLE `ps_collect_goods` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`user_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`add_time` int(11) unsigned NOT NULL DEFAULT '0',
`is_attention` tinyint(1) NOT NULL DEFAULT '0',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`),
KEY `user_id` (`user_id`),
KEY `goods_id` (`goods_id`),
KEY `is_attention` (`is_attention`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
/*Data for the table `ps_collect_goods` */
insert into `ps_collect_goods`(`id`,`user_id`,`goods_id`,`add_time`,`is_attention`,`created_at`,`updated_at`) values
(6,1,1,1482899663,0,'2016-12-28 04:34:23','2016-12-28 04:34:23'),
(3,1,4,1482845627,0,'2016-12-27 13:33:47','2016-12-27 13:33:47'),
(4,1,8,1482845632,0,'2016-12-27 13:33:52','2016-12-27 13:33:52'),
(5,1,7,1482893478,0,'2016-12-28 02:51:18','2016-12-28 02:51:18');
/*Table structure for table `ps_comment` */
DROP TABLE IF EXISTS `ps_comment`;
CREATE TABLE `ps_comment` (
`comment_id` int(10) NOT NULL AUTO_INCREMENT,
`commet_type` tinyint(3) NOT NULL,
`id_value` mediumint(8) NOT NULL,
`email` varchar(60) COLLATE utf8_bin NOT NULL,
`user_name` varchar(60) COLLATE utf8_bin NOT NULL,
`content` text COLLATE utf8_bin NOT NULL,
`comment_rank` tinyint(1) NOT NULL,
`add_time` int(10) NOT NULL,
`ip_address` varchar(15) COLLATE utf8_bin NOT NULL,
`status` tinyint(3) NOT NULL,
`parent_id` int(10) NOT NULL,
`user_id` int(10) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`comment_id`)
) ENGINE=MyISAM AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*Data for the table `ps_comment` */
insert into `ps_comment`(`comment_id`,`commet_type`,`id_value`,`email`,`user_name`,`content`,`comment_rank`,`add_time`,`ip_address`,`status`,`parent_id`,`user_id`,`created_at`,`updated_at`) values
(1,0,0,'','网络部1','1这里是用来写产品使用心得滴1',0,1434598298,'',0,0,0,'2015-06-18 11:50:29','0000-00-00 00:00:00'),
(2,0,0,'','网络部2','这里是用来写产品使用心得滴1',0,1434598299,'',0,0,0,'2015-06-18 11:32:57','0000-00-00 00:00:00'),
(3,0,0,'','网络部3','这里是用来写产品使用心得滴1',0,1434598300,'',0,0,0,'2015-06-18 11:33:02','0000-00-00 00:00:00'),
(4,0,0,'','网络部4','这里是用来写产品使用心得滴4',0,1434598364,'',0,0,0,'2015-06-18 11:32:44','0000-00-00 00:00:00'),
(5,0,0,'','网络部5','这里是用来写产品使用心得滴5',0,1434598364,'',0,0,0,'2015-06-18 11:32:44','0000-00-00 00:00:00'),
(6,0,0,'','网络部6','这里是用来写产品使用心得滴6',0,1434598364,'',0,0,0,'2015-06-18 11:32:44','0000-00-00 00:00:00'),
(7,0,0,'','网络部7','这里是用来写产品使用心得滴7',0,1434598364,'',0,0,0,'2015-06-18 11:32:44','0000-00-00 00:00:00'),
(8,0,0,'','网络部8','这里是用来写产品使用心得滴8',0,1434598364,'',0,0,0,'2015-06-18 11:32:44','0000-00-00 00:00:00');
/*Table structure for table `ps_database_field` */
DROP TABLE IF EXISTS `ps_database_field`;
CREATE TABLE `ps_database_field` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`field` varchar(255) NOT NULL,
`name` varchar(255) NOT NULL,
`db_id` int(10) NOT NULL,
`db_name` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`update_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `ps_database_field` */
/*Table structure for table `ps_databases` */
DROP TABLE IF EXISTS `ps_databases`;
CREATE TABLE `ps_databases` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`db_name` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `ps_databases` */
/*Table structure for table `ps_demo` */
DROP TABLE IF EXISTS `ps_demo`;
CREATE TABLE `ps_demo` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`username` varchar(255) NOT NULL COMMENT '用户名称',
`password` varchar(255) NOT NULL COMMENT '用户密码',
`remember_token` varchar(100) DEFAULT NULL,
`ip` varchar(255) NOT NULL COMMENT '注册ip地址',
`add_time` int(11) NOT NULL COMMENT '添加时间',
`sort_order` int(11) NOT NULL COMMENT '排序',
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*Data for the table `ps_demo` */
insert into `ps_demo`(`id`,`username`,`password`,`remember_token`,`ip`,`add_time`,`sort_order`,`created_at`,`updated_at`) values
(1,'demo','$2y$10$4lp65KEbBFZ2UU73bBA1fOF.8EEnkB7ol/NhdoY4KMRD5tWJ6/3Pu','wiEPEw4ugG2mCRFIzzvCGVhYFI7IdNSd3GK9E3QpDpJI75wo8lc18D6zgYe1','::1',1460444030,0,'2016-04-12 06:53:50','2016-07-26 18:42:31');
/*Table structure for table `ps_experience_shop` */
DROP TABLE IF EXISTS `ps_experience_shop`;
CREATE TABLE `ps_experience_shop` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`shop_name` varchar(255) NOT NULL COMMENT '店铺名称',
`site` varchar(255) NOT NULL COMMENT '所属分站',
`supplier_id` int(10) NOT NULL COMMENT '供货商编号',
`shop_address` varchar(255) NOT NULL COMMENT '店铺地址',
`shop_desc` varchar(255) NOT NULL COMMENT '店铺说明',
`shop_service` varchar(255) NOT NULL COMMENT '店铺服务',
`shop_fp_type` varchar(255) NOT NULL COMMENT '发票类型',
`shop_bank` varchar(255) NOT NULL COMMENT '开户银行',
`shop_bank_account` varchar(255) NOT NULL COMMENT '账号',
`shop_bank_address` int(11) NOT NULL COMMENT '开户行地址',
`shop_contact` varchar(255) NOT NULL COMMENT '店铺联系人',
`shop_phone` varchar(255) NOT NULL COMMENT '店铺手机',
`shop_tel` varchar(255) NOT NULL COMMENT '店铺座机',
`shop_email` varchar(255) NOT NULL COMMENT '店铺邮件',
`shop_qq` varchar(255) NOT NULL COMMENT '店铺qq',
`cw_username` varchar(255) NOT NULL COMMENT '财务联系人',
`kf_username` varchar(255) NOT NULL COMMENT '客服联系人',
`cat_id` int(10) NOT NULL COMMENT '推荐分类编号',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='体验馆的数据表';
/*Data for the table `ps_experience_shop` */
insert into `ps_experience_shop`(`id`,`shop_name`,`site`,`supplier_id`,`shop_address`,`shop_desc`,`shop_service`,`shop_fp_type`,`shop_bank`,`shop_bank_account`,`shop_bank_address`,`shop_contact`,`shop_phone`,`shop_tel`,`shop_email`,`shop_qq`,`cw_username`,`kf_username`,`cat_id`,`created_at`,`updated_at`) values
(1,'八角居然之家体验店','beijing',0,'北京市石景山区八角居然之家2层厨卫百分百店','','','','','',0,'','15072309522','','','','','',1,'2015-06-08 17:10:13','0000-00-00 00:00:00'),
(2,'八角居然之家体验店1','shanghai',0,'北京市石景山区八角居然之家2层厨卫百分百店','','','','','',0,'','15072309522','','','','','',1,'2015-06-08 17:10:13','0000-00-00 00:00:00'),
(3,'八角居然之家体验店2','beijing',0,'北京市丰台区中福丽宫品牌基地三单元310','','','','','',0,'','15072309522','','','','','',1,'2015-06-08 17:10:13','0000-00-00 00:00:00'),
(4,'八角居然之家体验店3','shanghai',0,'北京市石景山区八角居然之家2层厨卫百分百店','','','','','',0,'','15072309522','','','','','',1,'2015-06-08 17:10:13','0000-00-00 00:00:00'),
(5,'八角居然之家体验店4','beijing',0,'北京市石景山区八角居然之家2层厨卫百分百店','','','','','',0,'','15072309522','','','','','',1,'2015-06-08 17:10:13','0000-00-00 00:00:00'),
(6,'八角居然之家体验店5','beijing',0,'北京市丰台区中福丽宫品牌基地三单元310','','','','','',0,'','15072309522','','','','','',1,'2015-06-08 17:10:13','0000-00-00 00:00:00');
/*Table structure for table `ps_field` */
DROP TABLE IF EXISTS `ps_field`;
CREATE TABLE `ps_field` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '主键',
`field_name` varchar(255) NOT NULL COMMENT '规格名称',
`type_id` int(10) NOT NULL COMMENT '商品类型',
`sort_order` int(10) NOT NULL COMMENT '排序',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
/*Data for the table `ps_field` */
insert into `ps_field`(`id`,`field_name`,`type_id`,`sort_order`,`created_at`,`updated_at`) values
(4,'质地',6,0,'2017-01-10 21:47:02','2017-01-10 13:47:02'),
(5,'城市',6,0,'2017-01-10 21:46:56','2017-01-10 13:46:56'),
(8,'原材料来源',6,0,'2017-01-12 11:35:33','2017-01-12 03:35:33');
/*Table structure for table `ps_fp` */
DROP TABLE IF EXISTS `ps_fp`;
CREATE TABLE `ps_fp` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '主键',
`order_id` int(10) NOT NULL COMMENT '订单编号',
`fp_title` varchar(255) NOT NULL COMMENT '发票抬头',
`fp_type` int(10) NOT NULL COMMENT '发票类型',
`fp_content` varchar(255) NOT NULL COMMENT '发票内容',
`user_id` int(10) NOT NULL COMMENT '会员编号',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COMMENT='发票表格';
/*Data for the table `ps_fp` */
insert into `ps_fp`(`id`,`order_id`,`fp_title`,`fp_type`,`fp_content`,`user_id`,`created_at`,`updated_at`) values
(1,1,'个人',0,'',0,'2017-02-22 10:19:56','2017-02-22 10:19:56'),
(2,2,'个人',0,'',0,'2017-02-22 10:20:18','2017-02-22 10:20:18'),
(3,3,'个人',0,'',0,'2017-02-22 10:20:49','2017-02-22 10:20:49'),
(4,5,'个人',0,'',0,'2017-02-23 03:01:27','2017-02-23 03:01:27'),
(5,6,'个人',0,'',0,'2017-02-23 03:28:57','2017-02-23 03:28:57'),
(6,7,'个人',0,'',0,'2017-02-24 01:04:08','2017-02-24 01:04:08'),
(7,1,'个人',0,'',0,'2017-02-24 01:08:16','2017-02-24 01:08:16'),
(8,2,'个人',0,'',0,'2017-02-24 01:08:34','2017-02-24 01:08:34'),
(9,4,'个人',0,'',0,'2017-02-24 01:48:32','2017-02-24 01:48:32'),
(10,5,'个人',0,'',0,'2017-02-24 01:48:54','2017-02-24 01:48:54'),
(11,7,'个人',0,'',0,'2017-09-08 14:20:20','2017-09-08 14:20:20');
/*Table structure for table `ps_friend_link` */
DROP TABLE IF EXISTS `ps_friend_link`;
CREATE TABLE `ps_friend_link` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`link_name` varchar(255) NOT NULL,
`link_url` varchar(255) NOT NULL,
`link_site` varchar(255) NOT NULL,
`sort_order` int(10) NOT NULL COMMENT '排序',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
/*Data for the table `ps_friend_link` */
insert into `ps_friend_link`(`id`,`link_name`,`link_url`,`link_site`,`sort_order`,`created_at`,`updated_at`) values
(5,'测试链接','http://www.cw100.com','beijing',0,'2015-08-26 05:54:48','2015-08-26 05:54:48'),
(6,'威锋商城','http://www.fengbuy.com','0',0,'2016-01-05 04:30:14','2016-01-05 04:30:14');
/*Table structure for table `ps_goods` */
DROP TABLE IF EXISTS `ps_goods`;
CREATE TABLE `ps_goods` (
`id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
`cat_id` int(10) NOT NULL,
`goods_sn` varchar(60) NOT NULL DEFAULT '',
`goods_name` varchar(120) CHARACTER SET utf8 COLLATE utf8_bin NOT NULL DEFAULT '',
`goods_name_style` varchar(60) NOT NULL DEFAULT '+',
`click_count` int(10) unsigned NOT NULL DEFAULT '0',
`brand_id` smallint(5) unsigned NOT NULL DEFAULT '0',
`provider_name` varchar(100) NOT NULL DEFAULT '',
`goods_number` smallint(5) unsigned NOT NULL DEFAULT '0',
`goods_weight` decimal(10,3) unsigned NOT NULL DEFAULT '0.000',
`market_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
`shop_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
`refe_price` decimal(10,2) NOT NULL,
`promote_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00',
`promote_start_date` int(11) unsigned NOT NULL DEFAULT '0',
`promote_end_date` int(11) unsigned NOT NULL DEFAULT '0',
`warn_number` tinyint(3) unsigned NOT NULL DEFAULT '1',
`keywords` varchar(255) NOT NULL DEFAULT '',
`goods_brief` varchar(255) NOT NULL DEFAULT '',
`goods_desc` text NOT NULL,
`goods_thumb` varchar(255) NOT NULL DEFAULT '',
`goods_img` varchar(255) NOT NULL DEFAULT '',
`original_img` varchar(255) NOT NULL DEFAULT '',
`is_real` tinyint(3) unsigned NOT NULL DEFAULT '1',
`extension_code` varchar(30) NOT NULL DEFAULT '',
`is_on_sale` tinyint(1) unsigned NOT NULL DEFAULT '1',
`is_alone_sale` tinyint(1) unsigned NOT NULL DEFAULT '1',
`is_shipping` tinyint(1) unsigned NOT NULL DEFAULT '0',
`integral` int(10) unsigned NOT NULL DEFAULT '0',
`add_time` int(10) unsigned NOT NULL DEFAULT '0',
`sort_order` smallint(4) unsigned NOT NULL DEFAULT '100',
`is_delete` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_best` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_new` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_hot` tinyint(1) unsigned NOT NULL DEFAULT '0',
`is_promote` tinyint(1) unsigned NOT NULL DEFAULT '0',
`bonus_type_id` tinyint(3) unsigned NOT NULL DEFAULT '0',
`last_update` int(10) unsigned NOT NULL DEFAULT '0',
`goods_type` smallint(5) unsigned NOT NULL DEFAULT '0',
`seller_note` varchar(255) NOT NULL DEFAULT '',
`give_integral` int(11) NOT NULL DEFAULT '-1',
`rank_integral` int(11) NOT NULL DEFAULT '-1',
`suppliers_id` smallint(5) unsigned DEFAULT NULL,
`is_check` tinyint(1) unsigned DEFAULT NULL,
`diy_url` varchar(255) DEFAULT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` datetime NOT NULL,
`site` text NOT NULL,
PRIMARY KEY (`id`),
KEY `goods_sn` (`goods_sn`),
KEY `last_update` (`last_update`),
KEY `brand_id` (`brand_id`),
KEY `goods_weight` (`goods_weight`),
KEY `promote_end_date` (`promote_end_date`),
KEY `promote_start_date` (`promote_start_date`),
KEY `goods_number` (`goods_number`),
KEY `sort_order` (`sort_order`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
/*Data for the table `ps_goods` */
insert into `ps_goods`(`id`,`cat_id`,`goods_sn`,`goods_name`,`goods_name_style`,`click_count`,`brand_id`,`provider_name`,`goods_number`,`goods_weight`,`market_price`,`shop_price`,`refe_price`,`promote_price`,`promote_start_date`,`promote_end_date`,`warn_number`,`keywords`,`goods_brief`,`goods_desc`,`goods_thumb`,`goods_img`,`original_img`,`is_real`,`extension_code`,`is_on_sale`,`is_alone_sale`,`is_shipping`,`integral`,`add_time`,`sort_order`,`is_delete`,`is_best`,`is_new`,`is_hot`,`is_promote`,`bonus_type_id`,`last_update`,`goods_type`,`seller_note`,`give_integral`,`rank_integral`,`suppliers_id`,`is_check`,`diy_url`,`created_at`,`updated_at`,`site`) values
(1,2,'ps-20161018103118-WtQ','Libratone Zipp 无线音箱','+',0,1,'',122,0.000,1980.00,1200.00,0.00,0.00,0,0,0,'','','<h2>产品信息</h2><p><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786791237610.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786791210504.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786791448289.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786791184227.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786791499312.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786791523067.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786791330336.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786791288612.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786791727631.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786791291534.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786791738230.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786792156786.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786792790935.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786792251946.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786792942786.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786792110393.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161018/1476786792505900.jpg\" style=\"opacity: 1;\"/></p><p><br/></p>','','','',1,'',1,1,0,0,0,321,0,1,1,1,0,0,0,0,'',0,-1,NULL,NULL,'libratone-zipp','2016-11-22 15:36:47','2016-11-22 07:36:47',''),
(2,2,'ps-20161027040227-IlD','第一代 iPod 发布','+',0,0,'',1111,0.000,100.00,54.00,0.00,0.00,0,0,1,'','','<h2>产品信息</h2><p><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/B3/1000123/pieces/1_1449550547_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/B3/1000123/pieces/2_1449550547_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/B3/1000123/pieces/3_1449550547_detail.jpg\" style=\"opacity: 1;\"/></p><p><br/></p>','','','',1,'',1,1,0,0,0,0,0,1,1,1,0,0,0,0,'',0,-1,NULL,NULL,'','2017-01-09 11:08:18','2017-01-09 03:08:18',''),
(3,2,'ps-20161027043327-mRU','JBL E30 便携式头戴耳机','+',0,0,'',100,0.000,600.00,400.00,0.00,0.00,0,0,0,'','','<h2>产品信息</h2><p><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477542848650315.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" style=\"opacity: 1; transition: opacity 0.5s ease 0s;\" src=\"/ueditor/php/upload/image/20161027/1477542848520249.jpg\"/><img class=\"ng-scope ng-isolate-scope\" style=\"opacity: 1; transition: opacity 0.5s ease 0s;\" src=\"/ueditor/php/upload/image/20161027/1477542848669532.jpg\"/><img class=\"ng-scope ng-isolate-scope\" style=\"opacity: 1; transition: opacity 0.5s ease 0s;\" src=\"/ueditor/php/upload/image/20161027/1477542848706955.jpg\"/></p><p><br/></p>','','','',1,'',1,1,0,0,0,0,0,1,1,1,0,0,0,0,'',0,-1,NULL,NULL,'jbl-e30','2017-01-09 11:08:35','2017-01-09 03:08:35',''),
(4,2,'ps-20161027044627-ifT','JBL FLIP3 蓝牙便携音响','+',0,1,'',122,0.000,1000.00,233.00,0.00,0.00,0,0,0,'','','<h2>产品信息</h2><p><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477543663994224.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477543663340882.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477543663858042.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477543663680233.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477543663524618.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477543664448342.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477543664534089.jpg\" style=\"opacity: 1;\"/></p><p><br/></p>','','','',1,'',1,1,0,0,0,0,0,1,1,1,0,0,0,0,'',0,-1,NULL,NULL,'','2016-10-27 12:52:33','2016-10-27 04:52:33',''),
(5,2,'ps-20161027050327-clB','Sennheiser Urbanite XL 耳机','+',0,4,'',1111,0.000,2000.00,1500.00,0.00,0.00,0,0,0,'','','<h2>产品信息</h2><p><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477544702992604.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477544702544204.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477544702349498.jpg\" style=\"opacity: 1;\"/></p><p><br/></p>','','','',1,'',1,1,0,0,0,0,0,1,1,1,0,0,0,0,'',0,-1,NULL,NULL,'','2016-11-16 16:04:01','2016-11-16 08:04:01',''),
(6,2,'ps-20161027050827-Bdn','adidas/阿迪达斯 经典款全保护背壳 手机保护壳 for iPhone 7-天空蓝','+',0,2,'',1111,0.000,400.00,100.00,0.00,0.00,0,0,0,'','','<p><br/></p><p><a target=\"_blank\" href=\"http://www.fengbuy.com/activity/topic_140.html\"><img style=\"display: block; margin-left: auto; margin-right: auto;\" src=\"http://www.fengbuy.com/media/catalog/photos/otherImage/8/APP_-750x430_.jpg\" alt=\"\" width=\"750\" height=\"637\"/></a></p><p><br/></p><p style=\"text-align: center;\"><strong><span style=\"font-family: verdana, geneva; font-size: large; color: #ff0000;\">❈推荐理由❈</span></strong></p><p style=\"text-align: center;\"><span style=\"color: #ff0000; font-family: verdana, geneva; font-size: small;\">①阿迪达斯官方授权设计</span></p><p style=\"text-align: center;\"><span style=\"color: #ff0000; font-family: verdana, geneva; font-size: small;\">②50%TPU和50%PC双材料结合</span></p><p style=\"text-align: center;\"><span style=\"font-family: verdana, geneva; font-size: small; color: #ff0000;\">③采用四边包边及按键全方位保护设计</span></p><p style=\"text-align: center;\"><span style=\"font-family: verdana, geneva; font-size: small; color: #ff0000;\">④边角特有耐磨防撞设计,是手机的坚强后盾</span></p><p><img style=\"display: block; margin-left: auto; margin-right: auto;\" src=\"http://www.fengbuy.com/media/catalog/photos/product/8988/__01_1.jpg\" alt=\"\" width=\"790\"/></p><p><img style=\"display: block; margin-left: auto; margin-right: auto;\" src=\"http://www.fengbuy.com/media/catalog/photos/product/8988/__02_1.jpg\" alt=\"\" width=\"790\"/></p><p><img style=\"display: block; margin-left: auto; margin-right: auto;\" src=\"http://www.fengbuy.com/media/catalog/photos/product/8988/__03_1.jpg\" alt=\"\" width=\"790\"/></p><p><img style=\"display: block; margin-left: auto; margin-right: auto;\" src=\"http://www.fengbuy.com/media/catalog/photos/product/8988/__04_1.jpg\" alt=\"\" width=\"790\"/></p><p><img style=\"display: block; margin-left: auto; margin-right: auto;\" src=\"http://www.fengbuy.com/media/catalog/photos/product/8988/__05_1.jpg\" alt=\"\" width=\"790\"/></p><p><br/></p><p><br/></p><p><br/></p><p><br/></p><h3>规格参数Specifications</h3><p><br/></p><p><br/></p><p><br/></p><table class=\"pro_data\"><caption>adidas/阿迪达斯 经典款全保护背壳 手机保护壳 for iPhone 7-天空蓝</caption><thead><tr class=\"firstRow\"><th class=\"pro_data_col\">规格名</th><th>内容</th></tr></thead><tbody><tr><td class=\"pro_data_col\">支持类型</td><td>iPhone 7</td></tr><tr class=\"pro_data_even\"><td class=\"pro_data_col\">品牌名称</td><td>adidas/阿迪达斯</td></tr><tr><td class=\"pro_data_col\">品牌地点</td><td>德国(Germany)</td></tr><tr class=\"pro_data_even\"><td class=\"pro_data_col\">商品型号</td><td>adidas/阿迪达斯 经典款全保护背壳</td></tr><tr class=\"pro_data_even\"><td class=\"pro_data_col\">商品材质</td><td>TPU&PC材质</td></tr></tbody></table><p><br/></p><p><br/></p><p><br/></p><p><br/></p><p><br/></p><h3>产品实拍Product Photos</h3><p><br/></p><p><br/></p><p><br/></p><p><img alt=\"\" src=\"http://www.fengbuy.com/media/catalog/photos/product/9426/_750-1.jpg\" longdesc=\"http://www.fengbuy.com/media/catalog/photos/product/9426/_750-1.jpg\" style=\"\" width=\"762\" height=\"762\"/></p><p><br/></p><p><img alt=\"\" src=\"http://www.fengbuy.com/media/catalog/photos/product/9426/_750-2.jpg\" longdesc=\"http://www.fengbuy.com/media/catalog/photos/product/9426/_750-2.jpg\" style=\"\" width=\"750\" height=\"750\"/></p><p><br/></p><p><br/></p><p><br/></p><p><br/></p><p><br/></p><h3>包装清单Packing List</h3><p><br/></p><p><br/></p><p><br/></p><table class=\"pro_data pro_data_nohead pro_pack\"><thead><tr class=\"firstRow\"><th class=\"pro_data_col\">规格名</th><th>内容</th></tr></thead><tbody><tr><td class=\"pro_data_col\">保护壳</td><td>adidas/阿迪达斯 经典款全保护背壳 x1</td></tr></tbody></table><p><br/></p><p><br/></p><p><br/></p><p><br/></p><h3>售后服务Customer Service</h3><p><br/></p><p><br/></p><p>威锋商城所售产品均为正品,如有任何问题可与我们的客服人员联系,我们会在第一时间跟您沟通处理。<br/>详情请查看<a href=\"http://www.fengbuy.com/others/index/index/id/13/\" target=\"_blank\"><strong style=\"color:#09f; padding:0 3px; text-decoration:underline\">售后服务政策</strong></a></p><p><br/></p><p><br/></p><table class=\"pro_data\"><tbody><tr class=\"firstRow\"><td class=\"pro_data_col\"><strong>售后服务</strong></td><td style=\"padding: 10px; text-align: left;\">支持<span style=\"color: red;\">7天无理由退换货<span style=\"color: #333333;\">、</span>30天质量问题换货</span>以及<span style=\"color: red;\">30天原品退换货</span>服务!</td></tr><tr><td class=\"pro_data_col\"><strong>质保及维修</strong></td><td style=\"padding: 10px; text-align: left;\">该商品为外观保护用途,属易耗品,不提供质保及维修。</td></tr><tr class=\"pro_data_even\"><td class=\"pro_data_col\"><strong>保修方式</strong></td><td style=\"padding: 10px; text-align: left;\">不提供保修。</td></tr></tbody></table><p><br/></p>','','','',1,'',1,1,0,0,0,0,0,1,1,1,0,0,0,0,'',0,-1,NULL,NULL,'','2016-11-23 11:57:56','2016-11-23 03:57:56',''),
(7,2,'ps-20161027052327-cBx','手机壳','+',0,0,'',1111,0.000,111.00,21.00,0.00,0.00,0,0,0,'','',' \r\n ','','','',1,'',1,1,0,0,0,32,0,0,1,0,0,0,0,0,'',0,-1,NULL,NULL,'','2016-11-22 15:36:37','2016-11-22 07:36:37',''),
(8,2,'ps-20161027052627-x5V','弗莱明发现青霉素','+',0,0,'',1111,0.000,111.00,21.00,0.00,0.00,0,0,1,'','','<h2>产品信息</h2><p><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477545998118788.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477545998242554.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"/ueditor/php/upload/image/20161027/1477545998395923.jpg\" style=\"opacity: 1;\"/></p><p><br/></p>','','','',1,'',1,1,0,0,0,1,0,1,1,1,0,0,0,0,'',0,-1,NULL,NULL,'qms','2017-01-09 11:07:20','2017-01-09 03:07:20',''),
(9,2,'ps-20161027132627-GK3','告别宝丽来','+',0,4,'',5,0.000,111.00,25.00,0.00,0.00,0,0,0,'','TPU环保材质、细腻防滑、防油污','<h2>产品信息</h2><p><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/1_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/2_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/3_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/4_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/5_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/6_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/7_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/8_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/9_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/10_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/11_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/12_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/13_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/14_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/15_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/16_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/17_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/18_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/19_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/20_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/21_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/22_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/23_1478759958_detail.jpg\" style=\"opacity: 1;\"/><img class=\"ng-scope ng-isolate-scope\" src=\"http://img01.smartisanos.cn/9D/1000231/pieces/24_1478759958_detail.jpg\" style=\"opacity: 1;\"/></p><p><br/></p>','','','',1,'',1,1,0,0,0,123,0,1,0,0,0,0,0,0,'',0,-1,NULL,NULL,'','2017-10-31 14:23:34','2017-10-31 06:23:34','');
/*Table structure for table `ps_goods_article` */
DROP TABLE IF EXISTS `ps_goods_article`;
CREATE TABLE `ps_goods_article` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '主键',
`goods_id` int(10) NOT NULL COMMENT '商品编号',
`article_id` int(10) NOT NULL COMMENT '文章编号',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=93 DEFAULT CHARSET=utf8;
/*Data for the table `ps_goods_article` */
insert into `ps_goods_article`(`id`,`goods_id`,`article_id`,`created_at`,`updated_at`) values
(89,9,5,'2017-10-31 06:23:34','2017-10-31 06:23:34'),
(90,9,6,'2017-10-31 06:23:34','2017-10-31 06:23:34'),
(91,9,8,'2017-10-31 06:23:34','2017-10-31 06:23:34'),
(92,9,9,'2017-10-31 06:23:34','2017-10-31 06:23:34');
/*Table structure for table `ps_goods_attr` */
DROP TABLE IF EXISTS `ps_goods_attr`;
CREATE TABLE `ps_goods_attr` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`goods_id` mediumint(8) NOT NULL,
`attr_id` tinyint(5) NOT NULL,
`attr_value` text COLLATE utf8_bin NOT NULL,
`attr_price` varchar(255) COLLATE utf8_bin NOT NULL,
`color_value` varchar(255) COLLATE utf8_bin NOT NULL COMMENT '颜色的16进制值',
`color_img` varchar(255) COLLATE utf8_bin NOT NULL COMMENT '颜色图片',
`sort_order` int(10) NOT NULL COMMENT '颜色属性排序',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=32 DEFAULT CHARSET=utf8 COLLATE=utf8_bin;
/*Data for the table `ps_goods_attr` */
insert into `ps_goods_attr`(`id`,`goods_id`,`attr_id`,`attr_value`,`attr_price`,`color_value`,`color_img`,`sort_order`,`created_at`,`updated_at`) values
(1,1,9,'红色','','rgb(211, 22, 164)','images//201610/c6ceeb6273e7ea0d3cd55b60ca36e3ba.jpg',0,'2016-10-27 12:29:26','2016-10-27 04:29:26'),
(2,1,9,'白色','','rgb(227, 233, 218)','images//201610/6aad527bce2a1c556fc6125f8e1e573f.jpg',0,'2016-10-27 12:29:42','2016-10-27 04:29:42'),
(3,1,9,'黑色','','rgb(38, 35, 33)','images//201610/fa05e3babb27219cb3f7b37ac2bd612b.jpg',0,'2016-10-27 12:29:50','2016-10-27 04:29:50'),
(4,1,9,'绿色','','rgb(26, 169, 75)','images//201610/d2aa67b0c4f7b242997483382e743b3b.jpg',0,'2016-10-27 12:29:58','2016-10-27 04:29:58'),
(24,9,10,'老挝','','','',0,'2016-11-22 11:06:24','2016-11-22 03:06:24'),
(23,9,10,'柬埔寨','','','',0,'2016-11-22 11:06:24','2016-11-22 03:06:24'),
(22,9,10,'北京','','','',0,'2016-11-22 11:06:24','2016-11-22 03:06:24'),
(20,6,9,'白色','','','',0,'2016-11-17 11:13:40','2016-11-17 03:13:40'),
(17,9,9,'紫色','','','',0,'2016-11-22 11:06:24','2016-11-22 03:06:24'),
(16,9,9,'天湖蓝','','','',0,'2016-11-22 11:06:24','2016-11-22 03:06:24'),
(21,6,9,'红色','','','',0,'2016-11-17 11:13:40','2016-11-17 03:13:40'),
(25,9,9,'红色','','','',0,'2017-01-08 23:04:08','2017-01-08 15:04:08'),
(26,8,9,'红色','','','',0,'2017-01-09 11:07:20','2017-01-09 03:07:20'),
(27,8,10,'老挝','','','',0,'2017-01-09 11:07:20','2017-01-09 03:07:20'),
(28,2,9,'红色','','','',0,'2017-01-09 11:08:18','2017-01-09 03:08:18'),
(29,2,10,'北京','','','',0,'2017-01-09 11:08:18','2017-01-09 03:08:18'),
(30,3,9,'黑色','','','',0,'2017-01-09 11:08:35','2017-01-09 03:08:35'),
(31,3,10,'新加坡','','','',0,'2017-01-09 11:08:35','2017-01-09 03:08:35');
/*Table structure for table `ps_goods_cat` */
DROP TABLE IF EXISTS `ps_goods_cat`;
CREATE TABLE `ps_goods_cat` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`goods_id` mediumint(8) unsigned NOT NULL DEFAULT '0',
`cat_id` smallint(5) unsigned NOT NULL DEFAULT '0',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=33 DEFAULT CHARSET=utf8;
/*Data for the table `ps_goods_cat` */
insert into `ps_goods_cat`(`id`,`goods_id`,`cat_id`,`created_at`,`updated_at`) values
(1,40,207,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(2,41,215,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(3,55,215,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(4,56,216,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(5,57,216,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(6,61,215,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(7,62,207,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(8,63,216,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(9,65,216,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(10,64,215,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(11,66,216,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(12,66,123,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(13,66,216,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(14,69,215,'0000-00-00 00:00:00','0000-00-00 00:00:00'),
(20,71,215,'2014-11-10 22:31:29','2014-11-10 22:31:29'),
(19,71,210,'2014-11-10 22:31:29','2014-11-10 22:31:29'),
(17,71,208,'2014-11-10 18:46:35','2014-11-10 18:46:35'),
(18,71,123,'2014-11-10 18:46:35','2014-11-10 18:46:35'),
(22,74,213,'2014-11-10 22:43:19','2014-11-10 22:43:19'),
(23,74,123,'2014-11-10 22:43:19','2014-11-10 22:43:19'),
(24,1,213,'2014-11-11 00:20:44','2014-11-11 00:20:44'),
(25,8,211,'2014-11-14 11:02:30','2014-11-14 11:02:30'),
(26,12,216,'2014-11-14 11:11:15','2014-11-14 11:11:15'),
(27,1,207,'2014-11-14 17:48:31','2014-11-14 17:48:31'),
(28,12,206,'2014-11-18 21:58:41','2014-11-18 21:58:41'),
(29,13,216,'2014-11-18 22:15:19','2014-11-18 22:15:19'),
(30,13,207,'2014-11-18 22:15:19','2014-11-18 22:15:19'),
(31,14,217,'2014-11-18 23:05:00','2014-11-18 23:05:00'),
(32,26,220,'2014-11-24 23:49:06','2014-11-24 23:49:06');
/*Table structure for table `ps_goods_colors` */
DROP TABLE IF EXISTS `ps_goods_colors`;
CREATE TABLE `ps_goods_colors` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`goods_id` int(11) NOT NULL COMMENT '商品编号',
`goods_attr_id` int(11) NOT NULL COMMENT '商品属性编号',
`thumb` varchar(255) NOT NULL COMMENT '颜色相册的缩略图',
`img` varchar(255) NOT NULL COMMENT '颜色相册的详情页面的图片',
`original` varchar(255) NOT NULL COMMENT '颜色详细的原始图片',
`color_value` varchar(255) NOT NULL COMMENT '颜色的12进制的值',
`created_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*Data for the table `ps_goods_colors` */
/*Table structure for table `ps_goods_field` */
DROP TABLE IF EXISTS `ps_goods_field`;
CREATE TABLE `ps_goods_field` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '主键',
`goods_id` int(10) NOT NULL COMMENT '商品编号',
`field_id` int(10) NOT NULL COMMENT '规格编号',
`field_value` varchar(255) NOT NULL COMMENT '规格值',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8 COMMENT='商品规格值表';
/*Data for the table `ps_goods_field` */
insert into `ps_goods_field`(`id`,`goods_id`,`field_id`,`field_value`,`created_at`,`updated_at`) values
(7,9,4,'不锈钢','2017-10-31 14:23:34','0000-00-00 00:00:00'),
(8,9,5,'北京','2017-10-31 14:23:34','0000-00-00 00:00:00'),
(9,9,8,'美国','2017-10-31 14:23:34','0000-00-00 00:00:00');
/*Table structure for table `ps_goods_gallery` */
DROP TABLE IF EXISTS `ps_goods_gallery`;
CREATE TABLE `ps_goods_gallery` (
`id` int(10) NOT NULL AUTO_INCREMENT,
`goods_id` int(10) NOT NULL,
`thumb` varchar(255) NOT NULL,
`img` varchar(255) NOT NULL,
`original` varchar(255) NOT NULL,
`img_desc` varchar(255) NOT NULL,
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=71 DEFAULT CHARSET=utf8;
/*Data for the table `ps_goods_gallery` */
insert into `ps_goods_gallery`(`id`,`goods_id`,`thumb`,`img`,`original`,`img_desc`,`created_at`,`updated_at`) values
(44,1,'images/goods/201610/thumb/201610181726181476811582_chce9MGwHF-thumb.jpg','images/goods/201610/img/201610181726181476811582_chce9MGwHF-img.jpg','images/goods/201610/original/201610181726181476811582_chce9MGwHF-original.jpg','','2016-10-19 01:26:23','2016-10-18 17:26:23'),
(45,1,'images/goods/201610/thumb/201610181726181476811583_9kVvHQGvtu-thumb.jpg','images/goods/201610/img/201610181726181476811583_9kVvHQGvtu-img.jpg','images/goods/201610/original/201610181726181476811583_9kVvHQGvtu-original.jpg','','2016-10-19 01:26:23','2016-10-18 17:26:23'),
(46,2,'images/goods/201610/thumb/201610270403271477541004_bp7eGxGHEZ-thumb.jpg','images/goods/201610/img/201610270403271477541004_bp7eGxGHEZ-img.jpg','images/goods/201610/original/201610270403271477541004_bp7eGxGHEZ-original.jpg','','2016-10-27 12:03:30','2016-10-27 04:03:30'),
(47,2,'images/goods/201610/thumb/201610270403271477541010_UU8s4AB5DH-thumb.jpg','images/goods/201610/img/201610270403271477541010_UU8s4AB5DH-img.jpg','images/goods/201610/original/201610270403271477541010_UU8s4AB5DH-original.jpg','','2016-10-27 12:04:55','2016-10-27 04:04:55'),
(49,3,'images/goods/201610/thumb/201610270435271477542942_HrkcIA70HM-thumb.jpg','images/goods/201610/img/201610270435271477542942_HrkcIA70HM-img.jpg','images/goods/201610/original/201610270435271477542942_HrkcIA70HM-original.jpg','','2016-10-27 12:35:43','2016-10-27 04:35:43'),
(50,3,'images/goods/201610/thumb/201610270435271477542943_tK6vlDEcB4-thumb.jpg','images/goods/201610/img/201610270435271477542943_tK6vlDEcB4-img.jpg','images/goods/201610/original/201610270435271477542943_tK6vlDEcB4-original.jpg','','2016-10-27 12:35:43','2016-10-27 04:35:43'),
(51,3,'images/goods/201610/thumb/201610270435271477542943_wR6vzW03M8-thumb.jpg','images/goods/201610/img/201610270435271477542943_wR6vzW03M8-img.jpg','images/goods/201610/original/201610270435271477542943_wR6vzW03M8-original.jpg','','2016-10-27 12:35:43','2016-10-27 04:35:43'),
(52,4,'images/goods/201610/thumb/201610270447271477543667_VuzxoyCEP0-thumb.jpg','images/goods/201610/img/201610270447271477543667_VuzxoyCEP0-img.jpg','images/goods/201610/original/201610270447271477543667_VuzxoyCEP0-original.jpg','','2016-10-27 12:47:48','2016-10-27 04:47:48'),
(53,4,'images/goods/201610/thumb/201610270447271477543668_qzWKfz9Mxo-thumb.jpg','images/goods/201610/img/201610270447271477543668_qzWKfz9Mxo-img.jpg','images/goods/201610/original/201610270447271477543668_qzWKfz9Mxo-original.jpg','','2016-10-27 12:47:48','2016-10-27 04:47:48'),
(54,4,'images/goods/201610/thumb/201610270447271477543668_Q2UO4CJHK6-thumb.jpg','images/goods/201610/img/201610270447271477543668_Q2UO4CJHK6-img.jpg','images/goods/201610/original/201610270447271477543668_Q2UO4CJHK6-original.jpg','','2016-10-27 12:47:49','2016-10-27 04:47:49'),
(55,4,'images/goods/201610/thumb/201610270447271477543669_GB9HTjUDiV-thumb.jpg','images/goods/201610/img/201610270447271477543669_GB9HTjUDiV-img.jpg','images/goods/201610/original/201610270447271477543669_GB9HTjUDiV-original.jpg','','2016-10-27 12:47:49','2016-10-27 04:47:49'),
(57,5,'images/goods/201610/thumb/201610270505271477544708_MYJ3iGT0Uu-thumb.jpg','images/goods/201610/img/201610270505271477544708_MYJ3iGT0Uu-img.jpg','images/goods/201610/original/201610270505271477544708_MYJ3iGT0Uu-original.jpg','','2016-10-27 13:05:09','2016-10-27 05:05:09'),
(58,5,'images/goods/201610/thumb/201610270505271477544709_RomWiJgldP-thumb.jpg','images/goods/201610/img/201610270505271477544709_RomWiJgldP-img.jpg','images/goods/201610/original/201610270505271477544709_RomWiJgldP-original.jpg','','2016-10-27 13:05:09','2016-10-27 05:05:09'),
(59,5,'images/goods/201610/thumb/201610270505271477544709_76YQSyahcO-thumb.jpg','images/goods/201610/img/201610270505271477544709_76YQSyahcO-img.jpg','images/goods/201610/original/201610270505271477544709_76YQSyahcO-original.jpg','','2016-10-27 13:05:10','2016-10-27 05:05:10'),
(60,5,'images/goods/201610/thumb/201610270505271477544710_yl0Oc1fNdM-thumb.jpg','images/goods/201610/img/201610270505271477544710_yl0Oc1fNdM-img.jpg','images/goods/201610/original/201610270505271477544710_yl0Oc1fNdM-original.jpg','','2016-10-27 13:05:10','2016-10-27 05:05:10'),
(62,6,'images/goods/201610/thumb/201610270509271477544995_KDDIXUEouo-thumb.jpg','images/goods/201610/img/201610270509271477544995_KDDIXUEouo-img.jpg','images/goods/201610/original/201610270509271477544995_KDDIXUEouo-original.jpg','','2016-10-27 13:09:56','2016-10-27 05:09:56'),
(63,6,'images/goods/201610/thumb/201610270509271477544996_XaW35MgSRZ-thumb.jpg','images/goods/201610/img/201610270509271477544996_XaW35MgSRZ-img.jpg','images/goods/201610/original/201610270509271477544996_XaW35MgSRZ-original.jpg','','2016-10-27 13:09:56','2016-10-27 05:09:56'),
(64,7,'images/goods/201610/thumb/201610270524271477545853_ROdfwfDmJe-thumb.jpg','images/goods/201610/img/201610270524271477545853_ROdfwfDmJe-img.jpg','images/goods/201610/original/201610270524271477545853_ROdfwfDmJe-original.jpg','','2016-10-27 13:24:14','2016-10-27 05:24:14'),
(65,7,'images/goods/201610/thumb/201610270524271477545854_oM4Ifup0cU-thumb.jpg','images/goods/201610/img/201610270524271477545854_oM4Ifup0cU-img.jpg','images/goods/201610/original/201610270524271477545854_oM4Ifup0cU-original.jpg','','2016-10-27 13:24:15','2016-10-27 05:24:15'),
(66,8,'images/goods/201610/thumb/201610270527271477546039_bgrSwUEEJw-thumb.jpg','images/goods/201610/img/201610270527271477546039_bgrSwUEEJw-img.jpg','images/goods/201610/original/201610270527271477546039_bgrSwUEEJw-original.jpg','','2016-10-27 13:27:19','2016-10-27 05:27:19'),
(67,8,'images/goods/201610/thumb/201610270527271477546039_wsYSwplCT9-thumb.jpg','images/goods/201610/img/201610270527271477546039_wsYSwplCT9-img.jpg','images/goods/201610/original/201610270527271477546039_wsYSwplCT9-original.jpg','','2016-10-27 13:27:20','2016-10-27 05:27:20'),
(68,9,'images/goods/201610/thumb/201610271327271477574864_kIpo5yu7v4-thumb.jpg','images/goods/201610/img/201610271327271477574864_kIpo5yu7v4-img.jpg','images/goods/201610/original/201610271327271477574864_kIpo5yu7v4-original.jpg','','2016-10-27 21:27:44','2016-10-27 13:27:44'),
(69,9,'images/goods/201610/thumb/201610271327271477574864_x67G7F0H5U-thumb.jpg','images/goods/201610/img/201610271327271477574864_x67G7F0H5U-img.jpg','images/goods/201610/original/201610271327271477574864_x67G7F0H5U-original.jpg','','2016-10-27 21:27:45','2016-10-27 13:27:45'),
(70,3,'images/goods/201611/thumb/201611130716131479021377_IMZTIX2MNs-thumb.jpg','images/goods/201611/img/201611130716131479021377_IMZTIX2MNs-img.jpg','images/goods/201611/original/201611130716131479021377_IMZTIX2MNs-original.jpg','','2016-11-13 15:16:18','2016-11-13 07:16:18');
/*Table structure for table `ps_goods_relation` */
DROP TABLE IF EXISTS `ps_goods_relation`;
CREATE TABLE `ps_goods_relation` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '主键',
`goods_id` int(10) NOT NULL COMMENT '商品编号',
`relation_goods_id` int(10) NOT NULL COMMENT '关联的商品编号',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=34 DEFAULT CHARSET=utf8 COMMENT='关联商品表';
/*Data for the table `ps_goods_relation` */
insert into `ps_goods_relation`(`id`,`goods_id`,`relation_goods_id`,`created_at`,`updated_at`) values
(31,9,1,'2016-10-31 15:41:25','2016-10-31 15:41:25'),
(32,9,2,'2016-10-31 15:41:25','2016-10-31 15:41:25'),
(33,9,3,'2016-10-31 15:41:25','2016-10-31 15:41:25');
/*Table structure for table `ps_goods_type` */
DROP TABLE IF EXISTS `ps_goods_type`;
CREATE TABLE `ps_goods_type` (
`id` int(10) NOT NULL AUTO_INCREMENT COMMENT '主键',
`type_name` varchar(255) NOT NULL COMMENT '类型名称',
`sort_order` int(10) NOT NULL COMMENT '排序',
`created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
`updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;