You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

1303 lines
2.0 MiB

8 years ago
8 years ago
8 years ago
7 years ago
7 years ago
7 years ago
8 years ago
7 years ago
7 years ago
8 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
7 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
7 years ago
6 years ago
7 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
7 years ago
7 years ago
8 years ago
8 years ago
8 years ago
8 years ago
8 years ago
7 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
8 years ago
7 years ago
8 years ago
8 years ago
7 years ago
8 years ago
8 years ago
7 years ago
8 years ago
7 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
7 years ago
8 years ago
7 years ago
8 years ago
7 years ago
8 years ago
7 years ago
8 years ago
8 years ago
8 years ago
7 years ago
8 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
6 years ago
7 years ago
8 years ago
8 years ago
6 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
8 years ago
7 years ago
8 years ago
8 years ago
8 years ago
7 years ago
7 years ago
8 years ago
7 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
6 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
7 years ago
8 years ago
7 years ago
8 years ago
7 years ago
7 years ago
6 years ago
7 years ago
6 years ago
7 years ago
6 years ago
7 years ago
7 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
7 years ago
8 years ago
7 years ago
8 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
8 years ago
  1. /*
  2. SQLyog - MySQL GUI v7.14
  3. MySQL - 5.7.26 : Database - lqycms
  4. *********************************************************************
  5. */
  6. /*!40101 SET NAMES utf8 */;
  7. /*!40101 SET SQL_MODE=''*/;
  8. /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
  9. /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
  10. CREATE DATABASE /*!32312 IF NOT EXISTS*/`lqycms` /*!40100 DEFAULT CHARACTER SET utf8 */;
  11. USE `lqycms`;
  12. /*Table structure for table `ecs_push` */
  13. DROP TABLE IF EXISTS `ecs_push`;
  14. CREATE TABLE `ecs_push` (
  15. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  16. `user_id` int(11) NOT NULL DEFAULT '0',
  17. `title` varchar(200) NOT NULL COMMENT '标题',
  18. `content` varchar(200) NOT NULL COMMENT '内容',
  19. `photo` varchar(200) DEFAULT NULL COMMENT '图片',
  20. `objectId` varchar(200) DEFAULT NULL COMMENT 'leancloud返回的objectId',
  21. `link` varchar(200) DEFAULT NULL COMMENT '链接',
  22. `platform` tinyint(4) NOT NULL DEFAULT '3' COMMENT '平台类型',
  23. `push_type` tinyint(4) DEFAULT '0' COMMENT '任务类型1定时任务0即时推送',
  24. `message_type` tinyint(4) DEFAULT '1' COMMENT '消息类型1系统消息2物流消息',
  25. `isPush` tinyint(4) DEFAULT '0' COMMENT '定时任务是否已经推送',
  26. `push_at` timestamp NULL DEFAULT NULL COMMENT '定时推送时间',
  27. `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态 0:关闭 1:开启 默认开启',
  28. `created_at` timestamp NULL DEFAULT NULL,
  29. `updated_at` timestamp NULL DEFAULT NULL,
  30. PRIMARY KEY (`id`),
  31. KEY `push_user_id_index` (`user_id`),
  32. KEY `push_title_index` (`title`),
  33. KEY `push_content_index` (`content`),
  34. KEY `push_photo_index` (`photo`),
  35. KEY `push_objectid_index` (`objectId`),
  36. KEY `push_link_index` (`link`),
  37. KEY `push_status_index` (`status`)
  38. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  39. /*Data for the table `ecs_push` */
  40. /*Table structure for table `ecs_topic` */
  41. DROP TABLE IF EXISTS `ecs_topic`;
  42. CREATE TABLE `ecs_topic` (
  43. `topic_id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  44. `title` varchar(255) NOT NULL DEFAULT '''''',
  45. `intro` text NOT NULL,
  46. `start_time` int(11) NOT NULL DEFAULT '0',
  47. `end_time` int(10) NOT NULL DEFAULT '0',
  48. `data` text NOT NULL,
  49. `template` varchar(255) NOT NULL DEFAULT '''''',
  50. `css` text NOT NULL,
  51. `topic_img` varchar(255) DEFAULT NULL,
  52. `title_pic` varchar(255) DEFAULT NULL,
  53. `base_style` char(6) DEFAULT NULL,
  54. `htmls` mediumtext,
  55. `keywords` varchar(255) DEFAULT NULL,
  56. `description` varchar(255) DEFAULT NULL,
  57. KEY `topic_id` (`topic_id`)
  58. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  59. /*Data for the table `ecs_topic` */
  60. insert into `ecs_topic`(`topic_id`,`title`,`intro`,`start_time`,`end_time`,`data`,`template`,`css`,`topic_img`,`title_pic`,`base_style`,`htmls`,`keywords`,`description`) values (1,'夏新优惠大酬宾','<p>夏新产品优惠开始了</p>',1241107200,1246291200,'O:8:\"stdClass\":1:{s:7:\"default\";a:1:{i:0;s:11:\"夏新N7|17\";}}','','',NULL,NULL,NULL,NULL,NULL,NULL);
  61. /*Table structure for table `fl_access` */
  62. DROP TABLE IF EXISTS `fl_access`;
  63. CREATE TABLE `fl_access` (
  64. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  65. `role_id` int(11) unsigned NOT NULL DEFAULT '0',
  66. `menu_id` int(11) unsigned NOT NULL DEFAULT '0',
  67. PRIMARY KEY (`id`)
  68. ) ENGINE=InnoDB AUTO_INCREMENT=565 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC;
  69. /*Data for the table `fl_access` */
  70. insert into `fl_access`(`id`,`role_id`,`menu_id`) values (1,3,1),(2,3,11),(3,3,12),(4,3,13),(5,3,14),(6,3,15),(7,3,16),(8,3,17),(9,3,18),(10,3,19),(11,3,20),(12,3,21),(13,3,22),(14,3,23),(15,3,24),(16,3,25),(17,3,32),(18,3,33),(19,3,34),(20,3,35),(21,3,36),(22,3,37),(23,3,6),(24,3,78),(25,3,83),(26,1,1),(27,1,2),(28,1,3),(29,1,4),(30,1,5),(31,1,6),(32,1,7),(33,1,8),(34,1,9),(35,1,10),(36,1,11),(37,1,12),(38,1,13),(39,1,14),(40,1,15),(41,1,16),(42,1,17),(43,1,18),(44,1,19),(45,1,20),(46,1,21),(47,1,22),(48,1,23),(49,1,24),(50,1,25),(51,1,26),(52,1,27),(53,1,28),(54,1,29),(55,1,30),(56,1,31),(57,1,32),(58,1,33),(59,1,34),(60,1,35),(61,1,36),(62,1,37),(63,1,38),(64,1,39),(65,1,40),(66,1,41),(67,1,42),(68,1,43),(69,1,44),(70,1,45),(71,1,46),(72,1,47),(73,1,48),(74,1,49),(75,1,50),(76,1,51),(77,1,52),(78,1,53),(79,1,54),(80,1,55),(81,1,56),(82,1,57),(83,1,58),(84,1,59),(85,1,60),(86,1,61),(87,1,62),(88,1,63),(89,1,64),(90,1,65),(91,1,66),(92,1,67),(93,1,68),(94,1,69),(95,1,70),(96,1,71),(97,1,72),(98,1,73),(99,1,74),(100,1,75),(101,1,76),(102,1,77),(103,1,78),(104,1,79),(105,1,80),(106,1,81),(107,1,82),(108,1,83),(109,1,84),(110,1,85),(111,1,86),(112,1,87),(113,1,88),(114,1,89),(115,1,90),(116,1,91),(117,1,92),(118,1,93),(119,1,94),(120,1,95),(121,1,96),(122,1,97),(123,1,98),(124,1,99),(125,1,100),(126,1,101),(127,1,102),(128,1,103),(129,1,104),(130,1,105),(131,1,106),(132,1,107),(133,1,108),(134,1,109),(135,1,110),(136,1,111),(137,1,112),(138,1,113),(139,1,114),(140,1,115),(141,1,116),(142,1,117),(170,1,118),(171,1,119),(172,1,120),(173,1,121),(174,1,122),(175,1,123),(176,1,124),(177,1,125),(178,1,126),(179,1,127),(180,1,128),(181,1,129),(486,1,130),(487,2,1),(488,2,11),(489,2,12),(490,2,13),(491,2,14),(492,2,15),(493,2,16),(494,2,17),(495,2,18),(496,2,19),(497,2,20),(498,2,21),(499,2,22),(500,2,23),(501,2,24),(502,2,25),(503,2,32),(504,2,33),(505,2,34),(506,2,35),(507,2,36),(508,2,37),(509,2,2),(510,2,38),(511,2,39),(512,2,40),(513,2,41),(514,2,42),(515,2,50),(516,2,43),(517,2,44),(518,2,45),(519,2,46),(520,2,47),(521,2,48),(522,2,49),(523,2,51),(524,2,107),(525,2,108),(526,2,109),(527,2,110),(528,2,111),(529,2,112),(530,2,3),(531,2,96),(532,2,97),(533,2,98),(534,2,99),(535,2,100),(536,2,101),(537,2,4),(538,2,84),(539,2,85),(540,2,86),(541,2,87),(542,2,88),(543,2,89),(544,2,90),(545,2,91),(546,2,92),(547,2,93),(548,2,94),(549,2,95),(550,2,102),(551,2,103),(552,2,118),(553,2,119),(554,2,5),(555,2,7),(556,2,8),(557,2,9),(558,2,10),(559,2,104),(560,1,131),(561,1,132),(562,1,133),(563,1,134),(564,1,135);
  71. /*Table structure for table `fl_ad` */
  72. DROP TABLE IF EXISTS `fl_ad`;
  73. CREATE TABLE `fl_ad` (
  74. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  75. `name` varchar(60) NOT NULL DEFAULT '' COMMENT '名称',
  76. `description` varchar(255) NOT NULL DEFAULT '' COMMENT '描述',
  77. `content` mediumtext COMMENT '内容',
  78. `content_wap` mediumtext COMMENT '内容-移动端',
  79. `flag` varchar(30) NOT NULL DEFAULT '' COMMENT '标识',
  80. `is_expire` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0永不过期',
  81. `start_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '投放开始时间',
  82. `end_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '投放结束时间',
  83. `add_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  84. PRIMARY KEY (`id`),
  85. KEY `tagname` (`is_expire`,`end_time`,`start_time`)
  86. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='广告位';
  87. /*Data for the table `fl_ad` */
  88. insert into `fl_ad`(`id`,`name`,`description`,`content`,`content_wap`,`flag`,`is_expire`,`start_time`,`end_time`,`add_time`) values (1,'广告位名称','','<img src=\\\"https://www.meyu6.com/images/banner.gif\\\"/>',NULL,'',0,1600418553,1603010553,0);
  89. /*Table structure for table `fl_admin` */
  90. DROP TABLE IF EXISTS `fl_admin`;
  91. CREATE TABLE `fl_admin` (
  92. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  93. `name` varchar(30) NOT NULL DEFAULT '' COMMENT 'admin888',
  94. `email` varchar(30) NOT NULL DEFAULT '' COMMENT '邮箱',
  95. `login_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '登录时间',
  96. `pwd` char(32) NOT NULL DEFAULT '' COMMENT 'admin',
  97. `role_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '角色id',
  98. `status` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '用户状态 0:正常; 1:禁用 ;2:未验证',
  99. `mobile` varchar(20) NOT NULL DEFAULT '' COMMENT '手机号',
  100. `avatar` varchar(150) NOT NULL DEFAULT '' COMMENT '头像',
  101. `add_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '注册时间',
  102. PRIMARY KEY (`id`)
  103. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='管理员';
  104. /*Data for the table `fl_admin` */
  105. insert into `fl_admin`(`id`,`name`,`email`,`login_time`,`pwd`,`role_id`,`status`,`mobile`,`avatar`,`add_time`) values (1,'admin888','admin@qq.com',1604974045,'e10adc3949ba59abbe56e057f20f883e',1,0,'','',4294967295),(2,'abc','abc@qq.com',1497285296,'e10adc3949ba59abbe56e057f20f883e',2,0,'','',4294967295),(3,'xyz','xyz@qq.com',0,'e10adc3949ba59abbe56e057f20f883e',1,0,'','',4294967295);
  106. /*Table structure for table `fl_admin_role` */
  107. DROP TABLE IF EXISTS `fl_admin_role`;
  108. CREATE TABLE `fl_admin_role` (
  109. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  110. `name` varchar(30) NOT NULL DEFAULT '' COMMENT '角色名',
  111. `des` varchar(150) NOT NULL DEFAULT '' COMMENT '描述',
  112. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '状态,0启用,1禁用',
  113. `pid` smallint(11) unsigned NOT NULL DEFAULT '0' COMMENT '父角色id',
  114. `listorder` int(5) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
  115. PRIMARY KEY (`id`),
  116. UNIQUE KEY `rolename` (`name`)
  117. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='角色表';
  118. /*Data for the table `fl_admin_role` */
  119. insert into `fl_admin_role`(`id`,`name`,`des`,`status`,`pid`,`listorder`) values (1,'超级管理员','拥有网站最高管理员权限!',0,0,0),(2,'普通角色','',0,0,0);
  120. /*Table structure for table `fl_appsign` */
  121. DROP TABLE IF EXISTS `fl_appsign`;
  122. CREATE TABLE `fl_appsign` (
  123. `id` int(4) unsigned NOT NULL AUTO_INCREMENT,
  124. `name` varchar(100) NOT NULL DEFAULT '',
  125. `app_key` varchar(128) NOT NULL DEFAULT '',
  126. `app_secret` varchar(128) NOT NULL DEFAULT '',
  127. `type` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '0:app, 1:admin, 2:weixin, 3:wap, 4: pc',
  128. `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  129. `updated_at` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00',
  130. PRIMARY KEY (`id`)
  131. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='接口应用认证信息';
  132. /*Data for the table `fl_appsign` */
  133. insert into `fl_appsign`(`id`,`name`,`app_key`,`app_secret`,`type`,`created_at`,`updated_at`) values (1,'W星球后台签名','WSTAR-ADMIN-KEY-20170315','WSTAR-ADMIN-SECRET-20170315',1,'2017-03-14 12:48:09','2018-03-27 15:50:06'),(2,'W星球象盟API接口签名','WSTAR-XIANGMENG-KEY-20170420','WSTAR-XIANGMENG-SECRET-20170420',1,'2017-04-20 16:48:44','2018-03-27 15:50:06'),(3,'商户管理','WSTAR-WAP-KEY-20160314','WSTAR-WAP-SECRET-20160314',1,'2017-05-02 10:32:34','2018-03-27 15:50:06'),(4,'W星球后铺API接口签名','WSTAR-HOUPU-KEY-20170502','WSTAR-HOUPU-SECRET-20170502',1,'2017-05-02 10:54:19','2018-03-27 15:50:06');
  134. /*Table structure for table `fl_arctype` */
  135. DROP TABLE IF EXISTS `fl_arctype`;
  136. CREATE TABLE `fl_arctype` (
  137. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  138. `pid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '父级栏目id',
  139. `addtime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  140. `name` varchar(30) NOT NULL DEFAULT '' COMMENT '栏目名称',
  141. `seotitle` varchar(150) NOT NULL DEFAULT '' COMMENT 'SEO标题',
  142. `keywords` varchar(60) NOT NULL DEFAULT '' COMMENT '关键词',
  143. `description` varchar(255) NOT NULL DEFAULT '' COMMENT '描述',
  144. `content` mediumtext COMMENT '内容',
  145. `typedir` varchar(30) NOT NULL DEFAULT '' COMMENT '别名',
  146. `templist` varchar(50) NOT NULL DEFAULT '' COMMENT '列表页模板',
  147. `temparticle` varchar(50) NOT NULL DEFAULT '' COMMENT '文章页模板',
  148. `litpic` varchar(100) NOT NULL DEFAULT '' COMMENT '封面或缩略图',
  149. `seokeyword` varchar(60) NOT NULL DEFAULT '' COMMENT '判断相关,可不填',
  150. `model` int(4) unsigned NOT NULL DEFAULT '0' COMMENT '栏目所属的模型',
  151. `listorder` int(5) unsigned NOT NULL DEFAULT '50' COMMENT '排序',
  152. `is_show` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否显示,默认0显示',
  153. PRIMARY KEY (`id`),
  154. UNIQUE KEY `typename` (`name`),
  155. UNIQUE KEY `typedir` (`typedir`),
  156. KEY `pid` (`pid`)
  157. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='文章分类表';
  158. /*Data for the table `fl_arctype` */
  159. insert into `fl_arctype`(`id`,`pid`,`addtime`,`name`,`seotitle`,`keywords`,`description`,`content`,`typedir`,`templist`,`temparticle`,`litpic`,`seokeyword`,`model`,`listorder`,`is_show`) values (1,0,1483345707,'新闻中心','','新闻中心','新闻中心','<p>新闻中心</p>','news','category','detail','','新闻中心',0,50,0),(2,0,1476063429,'案例中心','','案例中心','案例中心','<p>案例中心</p>','case','category','detail','','案例中心',0,50,0),(3,1,1476063419,'行业新闻','','行业新闻','行业新闻','<p>行业新闻</p>','hangye','category','detail','','行业新闻',0,50,0),(4,1,1476068069,'企业新闻','','企业新闻','企业新闻','<p>企业新闻</p>','qiye','category','detail','','企业新闻',0,50,0);
  160. /*Table structure for table `fl_article` */
  161. DROP TABLE IF EXISTS `fl_article`;
  162. CREATE TABLE `fl_article` (
  163. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  164. `typeid` int(5) unsigned NOT NULL DEFAULT '0' COMMENT '栏目ID',
  165. `tuijian` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '推荐等级',
  166. `click` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '点击量',
  167. `title` varchar(150) NOT NULL DEFAULT '' COMMENT '标题',
  168. `body` mediumtext COMMENT '内容',
  169. `writer` varchar(20) NOT NULL DEFAULT '' COMMENT '作者',
  170. `source` varchar(30) NOT NULL DEFAULT '' COMMENT '来源',
  171. `litpic` varchar(100) NOT NULL DEFAULT '' COMMENT '缩略图',
  172. `pubdate` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  173. `addtime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  174. `keywords` varchar(60) NOT NULL DEFAULT '' COMMENT '关键词',
  175. `seotitle` varchar(150) NOT NULL DEFAULT '' COMMENT 'SEO标题',
  176. `description` varchar(250) NOT NULL DEFAULT '' COMMENT '描述',
  177. `ischeck` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否审核,默认0审核',
  178. `typeid2` int(5) unsigned NOT NULL DEFAULT '0' COMMENT '副栏目id',
  179. `user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '是谁发布的',
  180. `listorder` int(5) unsigned NOT NULL DEFAULT '50' COMMENT '排序',
  181. PRIMARY KEY (`id`),
  182. KEY `writer` (`writer`),
  183. KEY `idx_typeid_ischeck` (`typeid`,`ischeck`)
  184. ) ENGINE=InnoDB AUTO_INCREMENT=16 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='文章表';
  185. /*Data for the table `fl_article` */
  186. insert into `fl_article`(`id`,`typeid`,`tuijian`,`click`,`title`,`body`,`writer`,`source`,`litpic`,`pubdate`,`addtime`,`keywords`,`seotitle`,`description`,`ischeck`,`typeid2`,`user_id`,`listorder`) values (1,4,0,467,'移动网站建设常见问题','<p>移动网站兴起时间不长,站长有很多相似的问题。在2014年11月份的百度移动搜索沙龙上,移动专家针对站长提问较多的问题进行了统一回答,与往期沙龙的零星回答合并整理如下:<br/></p><p><br/></p><p>问:我的移动站内容和PC站是一样的,这样需不需要屏蔽百度的PC搜索蜘蛛?</p><p><br/></p><p>答:由于百度的PC搜索和移动搜索共用同一个spider,都带有baidu标示,不要进行屏蔽。Spider在抓取时会对页面进行识别,自动判断是PC页还是mobile页,因此建议站长使用规范的html5/xhtml协议语言来建设移动站。</p><p><br/></p><p>问:手机站使用xhtml与html5开发,对搜索引擎是否有区别?</p><p><br/></p><p>答:大家使用手机搜索时会发现用2G的情况下移动搜索会给你到极速版,就是保证你得到结果的速度足够快,但是结果样式比较简单。一般情况下极速版我们会优先给Xhtml的结果,触屏版优先给html5,效果更加炫酷。</p><p><br/></p><p>问:如果是URL、PC访问和移动访问分别识别不同的模版,例如我们有一个URL,PC访问是是这个模版,手机访问是那个模版。那么我们是使用相同的URL好,还是单独的做一个M站好?</p><p><br/></p><p>答:理想状态下同一套url是最优的。目前受限于机制问题,还有待进一步解决,预期14年底能够完成。目前仍然建议大家移动站使用单独的m链接。同时,暂时不要使用类似这样的url:http://m.site.com?src=http://www.site.com。</p><p><br/></p><p>问:感谢,我们是这样理解吧,未来的话如果以用户习惯来说,是同一个URL好?</p><p><br/></p><p>答:理想的技术角度看,是同一个url更好,但是目前尽量仍然使用单独的m链接。</p><p><br/></p><p>问:一个站点有M站和PC站,采用完全相同的TDK,是否有问题,手机站的SEO规则是否跟PC站相同?</p><p><br/></p><p>答:TDK代表标题、摘要、关键词是吧?先理解一下。是这样的,PC端和移动端搜索结果展现标题和摘要的字数限制等都是不同的,PC端30多个中文汉字才截断,移动端不到20个就折行了,20多个就省略看不到了。所以,建议移动站使用单独的TDK。</p><p><br/></p><p>问:如果两个站点它的TDK都是完全相同的,每一个页面,会不会导致站点被惩罚?</p><p><br/></p><p>答:这里说的两个站如果指同一个站点的PC和移动,肯定是不会导致被惩罚的。</p><p><br/></p><p>问:外链对手机站是否有效果?</p><p><br/></p><p>答:外链还是有效果的,但不要做那些垃圾外链,比如说论坛的标签里面或者说买卖链接或者是说批量的发链接有可能被惩罚。正常交换一下链接是有帮助的。0和1是明显不同的。</p><p><br/></p><p>问:百度移动搜索对我的移动站收录较少,该如何做?</p><p><br/></p><p>答:1.如果您同时具有PC站,且PC与移动站是一一对应的关系,请利用开放适配工具进行提交,既可以帮助移动站的收录又可以帮助您将PC站的排名转移至移动搜索;2.如果您只有移动站,也可以通过我们的移动sitemap工具向百度进行提交。</p>','','','',1476454862,1476063853,'移动,网站建设,常见问题','','移动网站兴起时间不长,站长有很多相似的问题。在2014年11月份的百度移动搜索沙龙上,移动专家针对站长提问较多的问题进行了统一回答,与往期沙龙的零星回答合并整理如下:问:我的',0,0,0,50),(2,2,1,353,'对百度搜索引擎友好的网站结构','<p>我们在做网站结构相关SEO工作时,都应该考虑以下四个问题:<br/></p><p>1,Baiduspider能不能找到��
  187. /*Table structure for table `fl_attachment` */
  188. DROP TABLE IF EXISTS `fl_attachment`;
  189. CREATE TABLE `fl_attachment` (
  190. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  191. `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '上传用户ID',
  192. `storage_type` tinyint(11) unsigned NOT NULL DEFAULT '2' COMMENT '附件存储类型: 0.本地自有服务器存储, 1.普通外部URL链接, 2.阿里云OSS云存储',
  193. `file_key` varchar(256) NOT NULL DEFAULT '' COMMENT '存储平台的key值',
  194. `file_url` varchar(256) NOT NULL DEFAULT '' COMMENT '文件Url访问地址',
  195. `filesize` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '文件大小, 以KB记',
  196. `ip` varchar(20) NOT NULL DEFAULT '' COMMENT '文件上传IP地址',
  197. `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  198. `updated_at` timestamp NULL DEFAULT NULL COMMENT '修改时间',
  199. PRIMARY KEY (`id`),
  200. KEY `file_url` (`file_url`(255)),
  201. KEY `admin_id` (`user_id`),
  202. KEY `storage_type` (`storage_type`)
  203. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  204. /*Data for the table `fl_attachment` */
  205. /*Table structure for table `fl_bonus` */
  206. DROP TABLE IF EXISTS `fl_bonus`;
  207. CREATE TABLE `fl_bonus` (
  208. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '优惠券就是红包',
  209. `name` varchar(60) NOT NULL DEFAULT '' COMMENT '名称',
  210. `money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '金额',
  211. `min_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '满多少使用',
  212. `start_time` datetime NOT NULL COMMENT '开始时间',
  213. `end_time` datetime NOT NULL COMMENT '结束时间',
  214. `point` int(5) unsigned NOT NULL DEFAULT '0' COMMENT '兑换优惠券所需积分,如果是0表示禁止兑换',
  215. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '状态:0可用,1不可用',
  216. `add_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  217. `num` int(11) NOT NULL DEFAULT '-1' COMMENT '优惠券数量,预留,-1表示不限',
  218. `delete_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '删除时间,默认0未删除',
  219. PRIMARY KEY (`id`)
  220. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='优惠券表';
  221. /*Data for the table `fl_bonus` */
  222. insert into `fl_bonus`(`id`,`name`,`money`,`min_amount`,`start_time`,`end_time`,`point`,`status`,`add_time`,`num`,`delete_time`) values (1,'用户红包','12.00','11.00','2010-10-10 00:00:00','2018-10-10 00:00:00',0,1,0,100,0),(2,'商品红包','10.00','2.00','2010-10-10 00:00:00','2018-10-10 00:00:00',0,0,0,1,0),(3,'订单红包','20.00','1500.00','2010-10-10 00:00:00','2018-10-10 00:00:00',0,0,0,2,0),(4,'线下红包','5.00','4.00','2010-10-10 00:00:00','2018-10-10 00:00:00',0,0,0,4,0),(5,'水岸东方','1.00','10.00','2010-10-10 12:12:12','2012-10-10 12:12:12',0,0,1527063161,-1,0);
  223. /*Table structure for table `fl_cart` */
  224. DROP TABLE IF EXISTS `fl_cart`;
  225. CREATE TABLE `fl_cart` (
  226. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  227. `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
  228. `goods_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '商品id',
  229. `shop_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '商品所属的商店id,预留',
  230. `goods_number` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '商品数量',
  231. `goods_attr` text COMMENT '商品属性',
  232. `type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '购物车商品类型;0普通;1团够;2拍卖;3夺宝奇兵',
  233. `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  234. PRIMARY KEY (`id`)
  235. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='购物车表';
  236. /*Data for the table `fl_cart` */
  237. /*Table structure for table `fl_collect_goods` */
  238. DROP TABLE IF EXISTS `fl_collect_goods`;
  239. CREATE TABLE `fl_collect_goods` (
  240. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  241. `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '该条收藏记录的会员id,取值于users的user_id',
  242. `goods_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '收藏的商品id,取值于goods的goods_id',
  243. `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '收藏时间',
  244. `is_attention` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否关注该收藏商品;1是;0否',
  245. PRIMARY KEY (`id`),
  246. KEY `user_id` (`user_id`),
  247. KEY `goods_id` (`goods_id`),
  248. KEY `is_attention` (`is_attention`)
  249. ) ENGINE=InnoDB AUTO_INCREMENT=17 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='商品/文章收藏表';
  250. /*Data for the table `fl_collect_goods` */
  251. insert into `fl_collect_goods`(`id`,`user_id`,`goods_id`,`add_time`,`is_attention`) values (6,5,3,1509102460,0),(9,5,4,1509380131,0),(11,3,1,1512660255,0),(12,3,4,1513612675,0),(13,1,1,1527074009,0),(14,3,2,1527172190,0),(15,3,5,1527240832,0),(16,1,5,1539670596,0);
  252. /*Table structure for table `fl_comment` */
  253. DROP TABLE IF EXISTS `fl_comment`;
  254. CREATE TABLE `fl_comment` (
  255. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  256. `comment_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '用户评论的类型;0评论的是商品,1评论的是文章',
  257. `id_value` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '文章或者商品的id,文章对应的是article的article_id;商品对应的是goods的goods_id',
  258. `content` text COMMENT '评论的内容',
  259. `comment_rank` tinyint(1) unsigned NOT NULL DEFAULT '5' COMMENT '该文章或者商品的重星级;只有1到5星;由数字代替;其中5代表5星',
  260. `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '评论的时间',
  261. `ip_address` varchar(20) NOT NULL DEFAULT '' COMMENT '评论时的用户IP',
  262. `status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否被管理员批准显示;1是;0未批准显示',
  263. `parent_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '评论的父节点,取值该表的comment_id字段,如果该字段为0,则是一个普通评论,否则该条评论就是该字段的值所对应的评论的回复',
  264. `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '发表该评论的用户的用户id,取值user的user_id',
  265. `is_anonymous` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否匿名,0否',
  266. `order_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '订单id',
  267. PRIMARY KEY (`id`),
  268. KEY `idx_comment_type_user_id` (`comment_type`,`user_id`)
  269. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='商品/文章评论表';
  270. /*Data for the table `fl_comment` */
  271. /*Table structure for table `fl_failed_jobs` */
  272. DROP TABLE IF EXISTS `fl_failed_jobs`;
  273. CREATE TABLE `fl_failed_jobs` (
  274. `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  275. `connection` text COLLATE utf8mb4_unicode_ci NOT NULL,
  276. `queue` text COLLATE utf8mb4_unicode_ci NOT NULL,
  277. `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  278. `exception` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  279. `failed_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  280. PRIMARY KEY (`id`)
  281. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='任务执行失败表';
  282. /*Data for the table `fl_failed_jobs` */
  283. /*Table structure for table `fl_feedback` */
  284. DROP TABLE IF EXISTS `fl_feedback`;
  285. CREATE TABLE `fl_feedback` (
  286. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  287. `content` text COMMENT '意见反馈内容',
  288. `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  289. `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
  290. `title` varchar(150) NOT NULL DEFAULT '' COMMENT '标题,选填',
  291. `mobile` varchar(20) NOT NULL DEFAULT '' COMMENT '手机号码,选填',
  292. `type` varchar(20) NOT NULL DEFAULT '' COMMENT '意见反馈类型,选填',
  293. PRIMARY KEY (`id`)
  294. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
  295. /*Data for the table `fl_feedback` */
  296. insert into `fl_feedback`(`id`,`content`,`add_time`,`user_id`,`title`,`mobile`,`type`) values (1,'内容内容内容',1599902268,1,'标题标题标题','13599123456','产品建议');
  297. /*Table structure for table `fl_friendlink` */
  298. DROP TABLE IF EXISTS `fl_friendlink`;
  299. CREATE TABLE `fl_friendlink` (
  300. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  301. `webname` varchar(60) NOT NULL DEFAULT '' COMMENT '友情链接名称',
  302. `url` varchar(100) NOT NULL DEFAULT '' COMMENT '友情链接URL',
  303. `group_id` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '分组ID',
  304. `listorder` int(5) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
  305. PRIMARY KEY (`id`)
  306. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='友情链接表';
  307. /*Data for the table `fl_friendlink` */
  308. insert into `fl_friendlink`(`id`,`webname`,`url`,`group_id`,`listorder`) values (1,'百度','https://www.baidu.com/',0,0),(2,'知乎','https://www.zhihu.com/',0,0);
  309. /*Table structure for table `fl_goods` */
  310. DROP TABLE IF EXISTS `fl_goods`;
  311. CREATE TABLE `fl_goods` (
  312. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  313. `typeid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '栏目ID',
  314. `tuijian` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '推荐等级',
  315. `click` int(8) unsigned NOT NULL DEFAULT '0' COMMENT '点击量',
  316. `title` varchar(150) NOT NULL DEFAULT '' COMMENT '标题',
  317. `body` mediumtext COMMENT '内容',
  318. `sn` varchar(60) NOT NULL DEFAULT '' COMMENT '货号',
  319. `price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '产品价格',
  320. `litpic` varchar(100) NOT NULL DEFAULT '' COMMENT '缩略图',
  321. `pubdate` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  322. `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  323. `keywords` varchar(60) NOT NULL DEFAULT '' COMMENT '关键词',
  324. `seotitle` varchar(150) NOT NULL DEFAULT '' COMMENT 'SEO标题',
  325. `description` varchar(240) NOT NULL DEFAULT '' COMMENT '描述',
  326. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '商品状态 0正常 1已删除 2下架 3申请上架',
  327. `shipping_fee` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '运费',
  328. `market_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '原价',
  329. `goods_number` int(5) unsigned NOT NULL DEFAULT '0' COMMENT '库存',
  330. `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '谁发布的',
  331. `sale` int(8) unsigned NOT NULL DEFAULT '0' COMMENT '销量',
  332. `cost_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '成本价格',
  333. `goods_weight` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '重量',
  334. `point` int(6) unsigned NOT NULL DEFAULT '0' COMMENT '购买该商品时每笔成功交易赠送的积分数量',
  335. `comments` int(8) unsigned NOT NULL DEFAULT '0' COMMENT '评论次数',
  336. `promote_start_date` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '促销价格开始日期',
  337. `promote_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '促销价格',
  338. `promote_end_date` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '促销价格结束日期',
  339. `goods_img` varchar(250) NOT NULL DEFAULT '' COMMENT '商品的实际大小图片,如进入该商品页时介绍商品属性所显示的大图片',
  340. `warn_number` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '商品报警数量',
  341. `spec` mediumtext COMMENT '商品规格,json',
  342. `listorder` int(5) unsigned NOT NULL DEFAULT '50' COMMENT '排序',
  343. `brand_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商品品牌',
  344. PRIMARY KEY (`id`),
  345. UNIQUE KEY `idx_uqe_sn` (`sn`)
  346. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='商品表';
  347. /*Data for the table `fl_goods` */
  348. insert into `fl_goods`(`id`,`typeid`,`tuijian`,`click`,`title`,`body`,`sn`,`price`,`litpic`,`pubdate`,`add_time`,`keywords`,`seotitle`,`description`,`status`,`shipping_fee`,`market_price`,`goods_number`,`user_id`,`sale`,`cost_price`,`goods_weight`,`point`,`comments`,`promote_start_date`,`promote_price`,`promote_end_date`,`goods_img`,`warn_number`,`spec`,`listorder`,`brand_id`) values (1,2,1,5727,'示例产品一','<p>是的发生</p>','sn123456','45000.00','/uploads/2018/04/1.jpg',1512273964,1496577749,'示例,产品,一','','是的发生',0,'0.00','50000.00',99,1,123,'0.00','0.00',0,0,0,'0.00',0,'/uploads/2017/06/201706041951031181.jpg',0,'',50,0),(2,1,1,59,'示例产品二','说的是','sn987','1.00','/uploads/2018/04/2.jpg',1496578330,1496578313,'产品,示例,二','','',0,'3.00','2.00',105,1,67,'0.00','0.00',0,0,0,'0.00',0,'/uploads/2017/06/201706042011354141.jpg',0,'',50,0),(3,1,0,51,'示例产品三','是的发生','sn232143','5.10','/uploads/2018/04/3.jpg',1496578380,1496578380,'示例,产品,三','','',0,'3.00','4.00',103,1,99,'0.00','0.00',0,0,0,'0.00',0,'/uploads/2017/06/201706042012428057.jpg',0,'',50,1),(4,1,0,141,'示例产品四','<p>电热熔</p>','sn9809702','5.00','/uploads/2018/04/4.jpg',1519736409,1496578429,'示例,产品,四','','电热熔',0,'3.00','6.00',89,1,345,'0.00','0.00',0,0,1518435963,'2.00',1519905139,'/uploads/2017/06/201706042013331349.jpg',0,'',50,0),(5,1,0,77,'示例产品五','<p>就回家好看</p>','kjkhk3','989.00','/uploads/2018/04/5.jpg',1527237789,1522849066,'示例,产品,五','','就回家好看',0,'898.00','98.00',8987,1,1234,'0.00','0.00',0,0,1523281235,'909.00',1524750039,'/uploads/2018/04/5.jpg',1,'',50,0);
  349. /*Table structure for table `fl_goods_brand` */
  350. DROP TABLE IF EXISTS `fl_goods_brand`;
  351. CREATE TABLE `fl_goods_brand` (
  352. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  353. `pid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '父级id',
  354. `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  355. `title` varchar(150) NOT NULL DEFAULT '' COMMENT '名称',
  356. `seotitle` varchar(150) NOT NULL DEFAULT '' COMMENT 'SEO标题',
  357. `keywords` varchar(60) NOT NULL DEFAULT '' COMMENT '关键词',
  358. `description` varchar(240) NOT NULL DEFAULT '' COMMENT '描述',
  359. `content` text COMMENT '内容',
  360. `litpic` varchar(100) NOT NULL DEFAULT '' COMMENT '缩略图',
  361. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否显示,0显示',
  362. `listorder` int(5) unsigned NOT NULL DEFAULT '50' COMMENT '排序',
  363. `cover_img` varchar(100) NOT NULL DEFAULT '' COMMENT '封面',
  364. `click` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '点击量',
  365. PRIMARY KEY (`id`)
  366. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='商品品牌表';
  367. /*Data for the table `fl_goods_brand` */
  368. insert into `fl_goods_brand`(`id`,`pid`,`add_time`,`title`,`seotitle`,`keywords`,`description`,`content`,`litpic`,`status`,`listorder`,`cover_img`,`click`) values (1,0,1496576972,'书籍','','','','<p>书籍</p>','/uploads/2017/12/1472434992773488209.jpg',0,50,'',0),(2,0,1496576993,'数码','','','','','/uploads/2017/12/1472434939893485963.jpg',1,50,'',0),(3,0,1500994389,'qq2','qq','qq','','<p>qq2</p>','/uploads/2017/12/1472435142739815095.jpg',0,2,'/uploads/2017/12/201712030021046553.jpg',2);
  369. /*Table structure for table `fl_goods_img` */
  370. DROP TABLE IF EXISTS `fl_goods_img`;
  371. CREATE TABLE `fl_goods_img` (
  372. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  373. `url` varchar(150) NOT NULL DEFAULT '' COMMENT '图片地址',
  374. `goods_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '产品id',
  375. `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  376. `des` varchar(150) NOT NULL DEFAULT '' COMMENT '图片说明信息',
  377. `listorder` int(5) unsigned NOT NULL DEFAULT '50' COMMENT '排序',
  378. PRIMARY KEY (`id`)
  379. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='商品图片表';
  380. /*Data for the table `fl_goods_img` */
  381. insert into `fl_goods_img`(`id`,`url`,`goods_id`,`add_time`,`des`,`listorder`) values (1,'/uploads/2018/04/5.jpg',5,1527237789,'',50),(2,'/uploads/2018/04/4.jpg',5,1527237789,'',50),(3,'/uploads/2018/04/3.jpg',5,1527237789,'',50),(4,'/uploads/2018/04/2.jpg',5,1527237789,'',50);
  382. /*Table structure for table `fl_goods_searchword` */
  383. DROP TABLE IF EXISTS `fl_goods_searchword`;
  384. CREATE TABLE `fl_goods_searchword` (
  385. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  386. `name` varchar(60) NOT NULL DEFAULT '' COMMENT '标题',
  387. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0显示',
  388. `add_time` int(11) unsigned NOT NULL DEFAULT '0',
  389. `listorder` int(11) unsigned NOT NULL DEFAULT '50' COMMENT '排序,升序',
  390. `click` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '搜索次数',
  391. PRIMARY KEY (`id`)
  392. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='商品搜索词表';
  393. /*Data for the table `fl_goods_searchword` */
  394. insert into `fl_goods_searchword`(`id`,`name`,`status`,`add_time`,`listorder`,`click`) values (3,'示例',0,1456292804,2,14),(4,'',0,1456292815,4,4),(5,'',0,0,50,4);
  395. /*Table structure for table `fl_goods_type` */
  396. DROP TABLE IF EXISTS `fl_goods_type`;
  397. CREATE TABLE `fl_goods_type` (
  398. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  399. `pid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '父级栏目id',
  400. `addtime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  401. `name` varchar(30) NOT NULL DEFAULT '' COMMENT '栏目名称',
  402. `seotitle` varchar(150) NOT NULL DEFAULT '' COMMENT 'SEO标题',
  403. `keywords` varchar(60) NOT NULL DEFAULT '' COMMENT '关键词',
  404. `description` varchar(255) NOT NULL DEFAULT '' COMMENT '描述',
  405. `content` text COMMENT '内容',
  406. `typedir` varchar(30) NOT NULL DEFAULT '' COMMENT '别名',
  407. `templist` varchar(50) NOT NULL DEFAULT '' COMMENT '列表页模板',
  408. `temparticle` varchar(50) NOT NULL DEFAULT '' COMMENT '详情页模板',
  409. `litpic` varchar(100) NOT NULL DEFAULT '' COMMENT '缩略图',
  410. `seokeyword` varchar(60) NOT NULL DEFAULT '' COMMENT '判断相关,可不填',
  411. `status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否显示,1显示',
  412. `listorder` int(5) unsigned NOT NULL DEFAULT '50' COMMENT '排序',
  413. `cover_img` varchar(100) NOT NULL DEFAULT '' COMMENT '封面',
  414. PRIMARY KEY (`id`),
  415. UNIQUE KEY `typename` (`name`),
  416. UNIQUE KEY `typedir` (`typedir`),
  417. KEY `pid` (`pid`)
  418. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='商品分类表';
  419. /*Data for the table `fl_goods_type` */
  420. insert into `fl_goods_type`(`id`,`pid`,`addtime`,`name`,`seotitle`,`keywords`,`description`,`content`,`typedir`,`templist`,`temparticle`,`litpic`,`seokeyword`,`status`,`listorder`,`cover_img`) values (1,0,1496576972,'手机数码','','','','<p>书籍</p>','shuma','goodscat','goods','','',1,50,''),(2,0,1496576993,'食品保健','','','','','food','goodscat','goods','','',1,50,''),(3,0,1500994389,'母婴玩具','','','','<p>qq</p>','muying','goodscat','goods','','',1,50,'');
  421. /*Table structure for table `fl_guestbook` */
  422. DROP TABLE IF EXISTS `fl_guestbook`;
  423. CREATE TABLE `fl_guestbook` (
  424. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  425. `title` varchar(150) NOT NULL DEFAULT '' COMMENT '标题',
  426. `addtime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  427. `msg` varchar(250) NOT NULL DEFAULT '' COMMENT '描述',
  428. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否阅读,默认0未阅读',
  429. `name` varchar(30) NOT NULL DEFAULT '' COMMENT '姓名',
  430. `phone` varchar(20) NOT NULL DEFAULT '' COMMENT '电话',
  431. `email` varchar(60) NOT NULL DEFAULT '' COMMENT '邮箱',
  432. PRIMARY KEY (`id`)
  433. ) ENGINE=InnoDB AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='用户留言表';
  434. /*Data for the table `fl_guestbook` */
  435. insert into `fl_guestbook`(`id`,`title`,`addtime`,`msg`,`status`,`name`,`phone`,`email`) values (3,'在移动搜索展现端获得良好表现的注意事项',1476063946,'移动网站优化和PC网站的很多方面都是相似甚至相同的,但由于移动搜索界面大小受限,移动网站在标题和摘要的撰写上有很多有别有PC端的情况。1,有吸引力的title用户在百度移动搜索中输',0,'','',''),(4,'撰写搜索引擎喜欢的标题',1476063980,'通过观察可以发现,那些可以从搜索引擎获得大批流量的站点来说,SEO思维渗透到了每个岗位,产品人员在提交项目MRD时,网页标题的写法是必不可少的一部分;编辑对文章内容负责的同时',0,'','',''),(5,'Baiduspider主要抓取策略类型',1476064033,'Baiduspider在抓取过程中面对的是一个超级复杂的网络环境,为了使系统可以抓取到尽可能多的有价值资源并保持系统及实际环境中页面的一致性同时不给网站体验造成压力,会设计多种复杂',0,'','',''),(6,'百度移动搜索优化前期准备工作',1476064079,'域名:与PC网站一样,域名是用户对一个网站的第一印象。一个好的移动域名,不仅容易记忆、易于输入,还能方便用户向其他人推荐。域名应尽量简短易懂,越短的域名记忆成本越低,越',0,'','',''),(9,'网页优化的大忌',1476064241,'网页进行正常优化,有助于搜索引擎更好地了解网页主体内容,而网页优化同样是一柄双刃剑,搞不好会造成费力不讨好、甚至被搜索引擎惩罚的后果。在百度看来,网页优化的大忌有三点',0,'','',''),(10,'百度优先建重要库的原则',1476064284,'Baiduspider抓了多少页面并不是最重要的,重要的是有多少页面被建索引库,即我们常说的“建库”。众所周知,搜索引擎的索引库是分层级的,优质的网页会被分配到重要索引库,普通网页',0,'','','');
  436. /*Table structure for table `fl_jobs` */
  437. DROP TABLE IF EXISTS `fl_jobs`;
  438. CREATE TABLE `fl_jobs` (
  439. `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,
  440. `queue` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL,
  441. `payload` longtext COLLATE utf8mb4_unicode_ci NOT NULL,
  442. `attempts` tinyint(3) unsigned NOT NULL,
  443. `reserved_at` int(10) unsigned DEFAULT NULL,
  444. `available_at` int(10) unsigned NOT NULL,
  445. `created_at` int(10) unsigned NOT NULL,
  446. PRIMARY KEY (`id`),
  447. KEY `jobs_queue_index` (`queue`(250))
  448. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='队列任务表';
  449. /*Data for the table `fl_jobs` */
  450. /*Table structure for table `fl_keyword` */
  451. DROP TABLE IF EXISTS `fl_keyword`;
  452. CREATE TABLE `fl_keyword` (
  453. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  454. `keyword` varchar(30) NOT NULL DEFAULT '' COMMENT '关键词',
  455. `rpurl` varchar(150) NOT NULL DEFAULT '' COMMENT '链接网址',
  456. PRIMARY KEY (`id`),
  457. UNIQUE KEY `keyword` (`keyword`)
  458. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
  459. /*Data for the table `fl_keyword` */
  460. insert into `fl_keyword`(`id`,`keyword`,`rpurl`) values (1,'优化','http://www.pe7.org/'),(2,'搜索引擎','http://www.baidu.com/'),(3,'百度移动','http://www.ui.com'),(4,'MACD','http://www.baidu.com/');
  461. /*Table structure for table `fl_kuaidi` */
  462. DROP TABLE IF EXISTS `fl_kuaidi`;
  463. CREATE TABLE `fl_kuaidi` (
  464. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  465. `name` varchar(30) NOT NULL DEFAULT '' COMMENT '快递公司名称',
  466. `code` varchar(20) NOT NULL DEFAULT '' COMMENT '公司编码',
  467. `money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '金额',
  468. `country` varchar(20) NOT NULL DEFAULT '' COMMENT '国家编码',
  469. `des` varchar(150) NOT NULL DEFAULT '' COMMENT '说明',
  470. `tel` varchar(60) NOT NULL DEFAULT '' COMMENT '电话',
  471. `website` varchar(60) NOT NULL DEFAULT '' COMMENT '官网',
  472. `listorder` int(5) unsigned NOT NULL DEFAULT '50' COMMENT '排序',
  473. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否显示,0显示',
  474. PRIMARY KEY (`id`)
  475. ) ENGINE=InnoDB AUTO_INCREMENT=15 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='快递表';
  476. /*Data for the table `fl_kuaidi` */
  477. insert into `fl_kuaidi`(`id`,`name`,`code`,`money`,`country`,`des`,`tel`,`website`,`listorder`,`status`) values (1,'顺丰','shunfeng','0.00','','','95338','http://www.sf-express.com',50,0),(2,'EMS','ems','0.00','CN','','11183','http://www.ems.com.cn/',50,0),(3,'申通','shentong','0.00','','','95543','http://www.sto.cn',50,0),(4,'圆通','yuantong','0.00','','','95554','http://www.yto.net.cn/',50,0),(5,'中通','zhongtong','0.00','','','95311','http://www.zto.cn',50,0),(6,'汇通','huitongkuaidi','0.00','','特指百世汇通、百世快递,百世物流(百世快运)请用baishiwuliu','95320','http://www.800bestex.com/',50,0),(7,'韵达','yunda','0.00','','','95546','http://www.yundaex.com',50,0),(8,'宅急送','zhaijisong','0.00','','','400-6789-000','http://www.zjs.com.cn',50,0),(9,'德邦','debangwuliu','0.00','','','95353','http://www.deppon.com',50,0),(10,'天天','tiantian','0.00','','','400-188-8888','http://www.ttkdex.com',50,0),(11,'全峰','quanfengkuaidi','0.00','','','400-100-0001','http://www.qfkd.com.cn',50,0),(12,'邮政小包','youzhengguonei','0.00','','','','',50,0),(13,'国通快递','guotongkuaidi','0.00','','','','',50,0),(14,'快捷快递','kuaijiesudi','0.00','','','','',50,0);
  478. /*Table structure for table `fl_log` */
  479. DROP TABLE IF EXISTS `fl_log`;
  480. CREATE TABLE `fl_log` (
  481. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  482. `type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '类型:默认0未知,1fladmin,2index,3api,4wap,5weixin,6shop,7mobile',
  483. `ip` varchar(15) NOT NULL DEFAULT '0' COMMENT 'IP',
  484. `domain_name` varchar(60) NOT NULL DEFAULT '' COMMENT '域名',
  485. `url` varchar(255) NOT NULL DEFAULT '' COMMENT 'URL',
  486. `http_method` varchar(10) NOT NULL DEFAULT '' COMMENT '请求方式',
  487. `content` varchar(255) NOT NULL DEFAULT '' COMMENT '操作内容',
  488. `http_referer` varchar(255) NOT NULL DEFAULT '' COMMENT '上个页面的URL',
  489. `login_name` varchar(60) NOT NULL DEFAULT '' COMMENT '管理员名称',
  490. `login_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '管理员ID',
  491. `add_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  492. PRIMARY KEY (`id`)
  493. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  494. /*Data for the table `fl_log` */
  495. /*Table structure for table `fl_menu` */
  496. DROP TABLE IF EXISTS `fl_menu`;
  497. CREATE TABLE `fl_menu` (
  498. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  499. `name` varchar(50) NOT NULL DEFAULT '' COMMENT '菜单名称',
  500. `pid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '父级id',
  501. `action` varchar(50) NOT NULL DEFAULT '' COMMENT '操作名称',
  502. `data` varchar(50) NOT NULL DEFAULT '' COMMENT '额外参数',
  503. `type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '菜单类型 1:权限认证+菜单;0:只作为菜单',
  504. `icon` varchar(50) NOT NULL DEFAULT '' COMMENT '菜单图标',
  505. `des` varchar(250) NOT NULL DEFAULT '' COMMENT '备注',
  506. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '状态,1显示,0不显示',
  507. `listorder` int(5) unsigned NOT NULL DEFAULT '50' COMMENT '排序ID',
  508. PRIMARY KEY (`id`),
  509. KEY `status` (`status`),
  510. KEY `parentid` (`pid`)
  511. ) ENGINE=InnoDB AUTO_INCREMENT=136 DEFAULT CHARSET=utf8 COMMENT='后台菜单表';
  512. /*Data for the table `fl_menu` */
  513. insert into `fl_menu`(`id`,`name`,`pid`,`action`,`data`,`type`,`icon`,`des`,`status`,`listorder`) values (1,'文章管理',0,'article_default','',0,'glyphicon glyphicon-pencil','',1,0),(2,'商品管理',0,'goods_default','',0,'glyphicon glyphicon-shopping-cart','',1,10),(3,'菜单管理',0,'menu_default','',0,'glyphicon glyphicon-th-list','',1,20),(4,'用户管理',0,'user_default','',0,'glyphicon glyphicon-user','',1,30),(5,'批量维护',0,'extension_default','',0,'glyphicon glyphicon-cloud','',1,40),(6,'设置',0,'sysconfig_default','',0,'glyphicon glyphicon-wrench','',1,1000),(7,'页面跳转',5,'admin_jump','',1,'','',0,1),(8,'后台首页',5,'admin','',1,'','',0,2),(9,'更新系统参数配置',5,'admin_index_upconfig','',1,'','',0,3),(10,'更新缓存',5,'admin_index_upcache','',1,'','',0,4),(11,'文章列表',1,'admin_article','',1,'','',1,50),(12,'发布文章',1,'admin_article_add','',1,'','',1,50),(13,'发布文章提交',12,'admin_article_doadd','',1,'','',0,50),(14,'文章修改',1,'admin_article_edit','',1,'','',0,50),(15,'文章修改提交',14,'admin_article_doedit','',1,'','',0,50),(16,'文章删除',1,'admin_article_del','',1,'','',0,50),(17,'重复文档检测',1,'admin_article_repetarc','',1,'','',1,50),(18,'文章推荐',1,'admin_article_recommendarc','',1,'','',0,50),(19,'文章是否存在',1,'admin_article_articleexists','',1,'','',0,50),(20,'文章栏目',1,'admin_category','',1,'','',1,50),(21,'文章栏目添加',20,'admin_category_add','',1,'','',0,50),(22,'文章栏目添加提交',21,'admin_category_doadd','',1,'','',0,50),(23,'文章栏目修改',20,'admin_category_edit','',1,'','',0,50),(24,'文章栏目修改提交',23,'admin_category_doedit','',1,'','',0,50),(25,'文章栏目删除',20,'admin_category_del','',1,'','',0,50),(26,'Tag标签管理',5,'admin_tag','',1,'','',1,50),(27,'Tag标签添加',26,'admin_tag_add','',1,'','',0,50),(28,'Tag标签添加提交',27,'admin_tag_doadd','',1,'','',0,50),(29,'Tag标签修改',26,'admin_tag_edit','',1,'','',0,50),(30,'Tag标签修改提交',29,'admin_tag_doedit','',1,'','',0,50),(31,'Tag标签删除',26,'admin_tag_del','',1,'','',0,50),(32,'单页管理',1,'admin_page','',1,'','',1,50),(33,'单页添加',32,'admin_page_add','',1,'','',0,50),(34,'单页添加提交',33,'admin_page_doadd','',1,'','',0,50),(35,'单页修改',32,'admin_page_edit','',1,'','',0,50),(36,'单页修改提交',35,'admin_page_doedit','',1,'','',0,50),(37,'单页删除',32,'admin_page_del','',1,'','',0,50),(38,'商品列表',2,'admin_goods','',1,'','',1,50),(39,'商品添加',2,'admin_goods_add','',1,'','',1,50),(40,'商品添加提交',39,'admin_goods_doadd','',1,'','',0,50),(41,'商品修改',2,'admin_goods_edit','',1,'','',0,50),(42,'商品修改提交',41,'admin_goods_doedit','',1,'','',0,50),(43,'商品删除',2,'admin_goods_del','',1,'','',0,50),(44,'重复商品',2,'admin_goods_recommendarc','',1,'','',0,50),(45,'商品是否存在',2,'admin_goods_goodsexists','',1,'','',0,50),(46,'商品分类',2,'admin_goodstype','',1,'','',1,50),(47,'商品分类添加',46,'admin_goodstype_add','',1,'','',1,50),(48,'商品分类添加提交',47,'admin_goodstype_doadd','',1,'','',0,50),(49,'商品分类修改',46,'admin_producttype_edit','',1,'','',0,50),(50,'商品分类修改提交',42,'admin_producttype_doedit','',1,'','',0,50),(51,'商品分类删除',46,'admin_goodstype_del','',1,'','',0,50),(52,'友情链接',5,'admin_friendlink','',1,'','',1,50),(53,'友情链接添加',52,'admin_friendlink_add','',1,'','',0,50),(54,'友情链接添加提交',53,'admin_friendlink_doadd','',1,'','',0,50),(55,'友情链接修改',52,'admin_friendlink_edit','',1,'','',0,50),(56,'友情链接修改提交',55,'admin_friendlink_doedit','',1,'','',0,50),(57,'友情链接删除',52,'admin_friendlink_del','',1,'','',0,50),(58,'关键词管理',5,'admin_keyword','',1,'','',1,50),(59,'关键词添加',58,'admin_keyword_add','',1,'','',0,50),(60,'关键词添加提交',59,'admin_keyword_doadd','',1,'','',0,50),(61,'关键词修改',58,'admin_keyword_edit','',1,'','',0,50),(62,'关键词修改提交',61
  514. /*Table structure for table `fl_order` */
  515. DROP TABLE IF EXISTS `fl_order`;
  516. CREATE TABLE `fl_order` (
  517. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  518. `order_sn` varchar(30) NOT NULL DEFAULT '' COMMENT '订单号',
  519. `user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
  520. `shop_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商家id',
  521. `add_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '订单生成时间',
  522. `order_status` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '订单状态,0生成订单,1已取消(客户触发),2无效(管理员触发),3完成订单',
  523. `refund_status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '退货退款(订单完成后),0无退货,1有退货,2退货成功,3拒绝',
  524. `shipping_status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '商品配送情况;0未发货,1已发货,2已收货',
  525. `pay_status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '支付状态;0未付款;1已付款',
  526. `goods_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '商品的总金额',
  527. `order_amount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '应付金额=商品总价+运费-优惠(积分、红包)',
  528. `discount` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '优惠金额',
  529. `pay_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '支付金额',
  530. `pay_id` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '支付方式,与payment表id对应',
  531. `pay_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '订单支付时间',
  532. `pay_name` varchar(30) NOT NULL DEFAULT '' COMMENT '支付方式名称,wxpay_jsapi',
  533. `trade_no` varchar(60) NOT NULL DEFAULT '' COMMENT '支付订单号',
  534. `shipping_name` varchar(20) NOT NULL DEFAULT '' COMMENT '配送方式名称',
  535. `shipping_id` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '配送方式',
  536. `shipping_sn` varchar(30) NOT NULL DEFAULT '' COMMENT '发货单',
  537. `shipping_fee` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '配送费用',
  538. `shipping_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '发货时间',
  539. `name` varchar(10) NOT NULL DEFAULT '' COMMENT '收货人姓名',
  540. `province` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '省份',
  541. `city` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '城市',
  542. `district` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '区域',
  543. `address` varchar(250) NOT NULL DEFAULT '' COMMENT '地址',
  544. `zipcode` varchar(10) NOT NULL DEFAULT '' COMMENT '邮编',
  545. `mobile` varchar(60) NOT NULL DEFAULT '' COMMENT '电话',
  546. `message` varchar(250) NOT NULL DEFAULT '' COMMENT '买家留言',
  547. `is_comment` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否评论,1已评价',
  548. `integral_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '使用积分金额',
  549. `integral` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '使用的积分的数量',
  550. `bonus_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '使用优惠劵支付金额',
  551. `bonus_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '优惠券id',
  552. `is_delete` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否删除,1删除',
  553. `note` varchar(240) NOT NULL DEFAULT '' COMMENT '商家/后台操作备注',
  554. `invoice` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '发票:0不索要,1个人,2企业',
  555. `invoice_title` varchar(100) NOT NULL DEFAULT '' COMMENT '发票抬头',
  556. `invoice_taxpayer_number` varchar(100) NOT NULL DEFAULT '' COMMENT '纳税人识别号',
  557. `place_type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '订单来源,1pc,2weixin,3app,4wap',
  558. `updated_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  559. PRIMARY KEY (`id`),
  560. UNIQUE KEY `uniq_order_sn` (`order_sn`),
  561. KEY `idx_user_id` (`user_id`)
  562. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='订单表';
  563. /*Data for the table `fl_order` */
  564. /*Table structure for table `fl_order_goods` */
  565. DROP TABLE IF EXISTS `fl_order_goods`;
  566. CREATE TABLE `fl_order_goods` (
  567. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  568. `order_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '订单id',
  569. `goods_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商品id',
  570. `goods_name` varchar(120) NOT NULL DEFAULT '' COMMENT '商品名称',
  571. `goods_number` smallint(5) unsigned NOT NULL DEFAULT '1' COMMENT '商品数量',
  572. `market_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '市场价格',
  573. `goods_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '商品价格',
  574. `goods_attr` text COMMENT '商品属性',
  575. `goods_img` varchar(150) NOT NULL DEFAULT '' COMMENT '商品缩略图',
  576. `refund_status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '退货状态,0无退货,1退款中,2退款成功,3不同意退款',
  577. `refund_reason` varchar(100) NOT NULL DEFAULT '' COMMENT '退货原因,客户操作',
  578. `refund_handle_des` varchar(240) NOT NULL DEFAULT '' COMMENT '退货处理结果,管理员操作',
  579. `refund_sn` varchar(30) NOT NULL DEFAULT '' COMMENT '退货单号',
  580. PRIMARY KEY (`id`),
  581. KEY `order_id` (`order_id`),
  582. KEY `goods_id` (`goods_id`)
  583. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='订单商品表';
  584. /*Data for the table `fl_order_goods` */
  585. /*Table structure for table `fl_page` */
  586. DROP TABLE IF EXISTS `fl_page`;
  587. CREATE TABLE `fl_page` (
  588. `id` int(5) unsigned NOT NULL AUTO_INCREMENT,
  589. `title` varchar(150) NOT NULL DEFAULT '' COMMENT '单页标题',
  590. `seotitle` varchar(150) NOT NULL DEFAULT '' COMMENT 'seo标题',
  591. `keywords` varchar(100) NOT NULL DEFAULT '' COMMENT '关键词',
  592. `template` varchar(30) NOT NULL DEFAULT '' COMMENT '模板名称',
  593. `description` varchar(250) NOT NULL DEFAULT '' COMMENT '页面摘要信息',
  594. `pubdate` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  595. `body` mediumtext COMMENT '内容',
  596. `filename` varchar(60) NOT NULL DEFAULT '' COMMENT '别名',
  597. `litpic` varchar(100) NOT NULL DEFAULT '' COMMENT '缩略图',
  598. `click` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '点击量',
  599. `listorder` int(5) unsigned NOT NULL DEFAULT '50' COMMENT '排序',
  600. PRIMARY KEY (`id`),
  601. UNIQUE KEY `filename` (`filename`)
  602. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='单页面表';
  603. /*Data for the table `fl_page` */
  604. insert into `fl_page`(`id`,`title`,`seotitle`,`keywords`,`template`,`description`,`pubdate`,`body`,`filename`,`litpic`,`click`,`listorder`) values (1,'公司简介','','公司简介','page','LQYCMS企业网站管理系统采用PHP+Mysql架构,全站内置了SEO搜索引擎优化机制,支持用户自定义界面语言,拥有企业网站常用的模块功能(企业简介模块、新闻模块、产品模块、下载模块、图片模块、招聘模块、在线留言、反馈系统、在线交流、友情链接、会员与权限管理)。强大灵活的后台管理功能、静态页面生成功能、个性化模块添加功能、不同栏目自定义FLASH样式功能等可为企业打造出大气漂亮且具有营销力的',1496540889,'<p>我们专注于网络信息化及网络营销领域,通过整合团队专业的市场营销理念与网络技术为客户提供优质的网络营销服务。</p><p><br/></p><p>我们的主要业务包括:网站系统开发、网站建设、网站推广、空间域名以及网络营销策划与运行。</p><p><br/></p><p>我们主打产品——LQYCMS企业网站管理系统采用PHP+Mysql架构,全站内置了SEO搜索引擎优化机制,支持用户自定义界面语言,拥有企业网站常用的模块功能(企业简介模块、新闻模块、产品模块、下载模块、图片模块、招聘模块、在线留言、反馈系统、在线交流、友情链接、会员与权限管理)。强大灵活的后台管理功能、静态页面生成功能、个性化模块添加功能、不同栏目自定义FLASH样式功能等可为企业打造出大气漂亮且具有营销力的精品网站。</p><p><br/></p><p>我们秉承“为合作伙伴创造价值”的核心价值观,并以“诚实、宽容、创新、服务”为企业精神,通过自主创新和真诚合作为电子商务及信息服务行业创造价值。</p><p><br/></p><p><strong>关于“为合作伙伴创造价值”</strong></p><p><br/></p><p>我们认为客户、供应商、公司股东、公司员工等一切和自身有合作关系的单位和个人都是自己的合作伙伴,并只有通过努力为合作伙伴创造价值,才能体现自身的价值并获得发展和成功。</p><p><br/></p><p><strong>关于“诚实、宽容、创新、服务”</strong></p><p><br/></p><p>我们认为诚信是一切合作的基础,宽容是解决问题的前提,创新是发展事业的利器,服务是创造价值的根本。</p>','about','',393,50),(2,'联系我们','','','page','',1496540844,'<p>XX有限公司</p><p>地址:XX市XX区XXX号XXX栋XXX房</p><p>电话:0000-888888 13300000000</p><p>Q &nbsp;Q:374861669</p><p>邮编:000000</p><p>邮箱:374861669@</p><p>网址:www.1104.org</p>','contact','',259,50),(3,'企业文化','','','page','​企业文化,或称组织文化(Corporate Culture或Organizational Culture),是一个组织由其价值观、信念、仪式、符号、处事方式等组成的其特有的文化形象。',1496541077,'<p>企业文化,或称组织文化(Corporate Culture或Organizational Culture),是一个组织由其价值观、信念、仪式、符号、处事方式等组成的其特有的文化形象。<br/></p><p><br/></p><p>职工文化,也称企业职工文化,是与企业文化相对应的文化形态,职工文化以职工为本,是一种素质文化,企业文化以企业为本,是一种管理文化。</p><p>企业文化是在一定的条件下,企业生产经营和管理活动中所创造的具有该企业特色的精神财富和物质形态。它包括文化观念、价值观念、企业精神、道德规范、行为准则、历史传统、企业制度、文化环境、企业产品等。其中价值观是企业文化的核心。</p><p><br/></p><p>企业文化是企业的灵魂,是推动企业发展的不竭动力。它包含着非常丰富的内容,其核心是企业的精神和价值观。这里的价值观不是泛指企业管理中的各种文化现象,而是企业或企业中的员工在从事商品生产与经营中所��
  605. /*Table structure for table `fl_payment` */
  606. DROP TABLE IF EXISTS `fl_payment`;
  607. CREATE TABLE `fl_payment` (
  608. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  609. `pay_code` varchar(20) NOT NULL DEFAULT '' COMMENT '支付方式的英文缩写',
  610. `pay_name` varchar(100) NOT NULL DEFAULT '' COMMENT '支付方式名称',
  611. `pay_fee` decimal(10,1) unsigned NOT NULL DEFAULT '0.0' COMMENT '支付费用',
  612. `pay_des` text COMMENT '支付方式描述',
  613. `pay_config` text COMMENT '支付方式的配置信息,包括商户号和密钥什么的',
  614. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否可用;0否;1是',
  615. `listorder` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
  616. PRIMARY KEY (`id`),
  617. UNIQUE KEY `pay_code` (`pay_code`)
  618. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='支付方式表';
  619. /*Data for the table `fl_payment` */
  620. insert into `fl_payment`(`id`,`pay_code`,`pay_name`,`pay_fee`,`pay_des`,`pay_config`,`status`,`listorder`) values (1,'balance','余额支付','0.0','使用帐户余额支付。只有会员才能使用,通过设置信用额度,可以透支。','a:0:{}',1,0),(2,'weixin','微信','0.0','微信','a:0:{}',1,0),(3,'alipay','支付宝','0.0','支付宝','a:0:{}',1,0),(4,'cod','货到付款','0.0','开通城市:×××\r\n货到付款区域:×××','a:0:{}',0,0),(5,'bank','银行汇款/转帐','0.0','银行名称\r\n收款人信息:全称 ××× ;帐号或地址 ××× ;开户行 ×××。\r\n注意事项:办理电汇时,请在电汇单“汇款用途”一栏处注明您的订单号。','a:0:{}',0,0);
  621. /*Table structure for table `fl_refund` */
  622. DROP TABLE IF EXISTS `fl_refund`;
  623. CREATE TABLE `fl_refund` (
  624. `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '售后编号',
  625. `order_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '订单id',
  626. `goods_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商品id',
  627. `user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
  628. `add_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '退货申请时间',
  629. `check_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '退款审核时间',
  630. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0申请退款,1同意,2不同意',
  631. `type` varchar(30) NOT NULL DEFAULT '' COMMENT '售后类型:仅退款,退货退款',
  632. `money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '退款金额',
  633. `des` varchar(250) NOT NULL DEFAULT '' COMMENT '退款说明',
  634. `reason` varchar(60) NOT NULL DEFAULT '' COMMENT '退款原因',
  635. `shipping_sn` varchar(60) NOT NULL DEFAULT '' COMMENT '快递单号',
  636. `shipping_name` varchar(30) NOT NULL DEFAULT '' COMMENT '快递公司',
  637. PRIMARY KEY (`id`)
  638. ) ENGINE=InnoDB DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='退款申请表';
  639. /*Data for the table `fl_refund` */
  640. /*Table structure for table `fl_region` */
  641. DROP TABLE IF EXISTS `fl_region`;
  642. CREATE TABLE `fl_region` (
  643. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  644. `name` varchar(64) NOT NULL DEFAULT '' COMMENT '名称',
  645. `parent_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '父级id',
  646. `type` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '层级,0国家,1省,2市,3区',
  647. `sort_name` varchar(50) NOT NULL DEFAULT '' COMMENT '拼音或英文简写',
  648. `is_oversea` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '0国内地址,1国外地址',
  649. `area_code` varchar(10) NOT NULL DEFAULT '' COMMENT '电话区号',
  650. `status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '状态',
  651. PRIMARY KEY (`id`),
  652. KEY `parent_id` (`parent_id`)
  653. ) ENGINE=InnoDB AUTO_INCREMENT=55763 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='地区表';
  654. /*Data for the table `fl_region` */
  655. insert into `fl_region`(`id`,`name`,`parent_id`,`type`,`sort_name`,`is_oversea`,`area_code`,`status`) values (1,'北京',86,1,'',0,'',1),(2,'上海',86,1,'',0,'',1),(3,'天津',86,1,'',0,'',1),(4,'重庆',86,1,'',0,'',1),(5,'河北',86,1,'',0,'',1),(6,'山西',86,1,'',0,'',1),(7,'河南',86,1,'',0,'',1),(8,'辽宁',86,1,'',0,'',1),(9,'吉林',86,1,'',0,'',1),(10,'黑龙江',86,1,'',0,'',1),(11,'内蒙古',86,1,'',0,'',1),(12,'江苏',86,1,'',0,'',1),(13,'山东',86,1,'',0,'',1),(14,'安徽',86,1,'',0,'',1),(15,'浙江',86,1,'',0,'',1),(16,'福建',86,1,'',0,'',1),(17,'湖北',86,1,'',0,'',1),(18,'湖南',86,1,'',0,'',1),(19,'广东',86,1,'',0,'',1),(20,'广西',86,1,'',0,'',1),(21,'江西',86,1,'',0,'',1),(22,'四川',86,1,'',0,'',1),(23,'海南',86,1,'',0,'',1),(24,'贵州',86,1,'',0,'',1),(25,'云南',86,1,'',0,'',1),(26,'西藏',86,1,'',0,'',1),(27,'陕西',86,1,'',0,'',1),(28,'甘肃',86,1,'',0,'',1),(29,'青海',86,1,'',0,'',1),(30,'宁夏',86,1,'',0,'',1),(31,'新疆',86,1,'',0,'',1),(72,'朝阳区',52129,3,'',0,'',1),(78,'黄浦区',52130,3,'',0,'',1),(86,'中国',0,0,'CHN',0,'+86',1),(88,'内环以内',50950,3,'',0,'',1),(98,'全境',51041,3,'',0,'',1),(103,'全境',51026,3,'',0,'',1),(106,'内环以内',50952,3,'',0,'',1),(111,'内环以内',50954,3,'',0,'',1),(113,'万州区',52132,3,'',0,'',1),(114,'涪陵区',52132,3,'',0,'',1),(115,'梁平县',52132,3,'',0,'',1),(119,'南川区',52132,3,'',0,'',1),(123,'潼南县',52132,3,'',0,'',1),(126,'大足区',52132,3,'',0,'',1),(128,'黔江区',52132,3,'',0,'',1),(129,'武隆县',52132,3,'',0,'',1),(130,'丰都县',52132,3,'',0,'',1),(131,'奉节县',52132,3,'',0,'',1),(132,'开县',52132,3,'',0,'',1),(133,'云阳县',52132,3,'',0,'',1),(134,'忠县',52132,3,'',0,'',1),(135,'巫溪县',52132,3,'',0,'',1),(136,'巫山县',52132,3,'',0,'',1),(137,'石柱县',52132,3,'',0,'',1),(138,'彭水县',52132,3,'',0,'',1),(139,'垫江县',52132,3,'',0,'',1),(140,'酉阳县',52132,3,'',0,'',1),(141,'秀山县',52132,3,'',0,'',1),(142,'石家庄市',5,2,'',0,'',1),(143,'辛集市',142,3,'',0,'',1),(145,'晋州市',142,3,'',0,'',1),(146,'新乐市',142,3,'',0,'',1),(148,'邯郸市',5,2,'',0,'',1),(153,'井陉县',142,3,'',0,'',1),(154,'栾城县',142,3,'',0,'',1),(156,'行唐县',142,3,'',0,'',1),(157,'灵寿县',142,3,'',0,'',1),(158,'高邑县',142,3,'',0,'',1),(159,'赵县',142,3,'',0,'',1),(160,'赞皇县',142,3,'',0,'',1),(161,'深泽县',142,3,'',0,'',1),(162,'无极县',142,3,'',0,'',1),(163,'元氏县',142,3,'',0,'',1),(164,'邢台市',5,2,'',0,'',1),(167,'邯郸县',148,3,'',0,'',1),(168,'峰峰矿区',148,3,'',0,'',1),(169,'曲周县',148,3,'',0,'',1),(170,'馆陶县',148,3,'',0,'',1),(171,'魏县',148,3,'',0,'',1),(172,'成安县',148,3,'',0,'',1),(173,'大名县',148,3,'',0,'',1),(174,'涉县',148,3,'',0,'',1),(175,'鸡泽县',148,3,'',0,'',1),(176,'邱县',148,3,'',0,'',1),(177,'广平县',148,3,'',0,'',1),(178,'肥乡县',148,3,'',0,'',1),(180,'磁县',148,3,'',0,'',1),(183,'邢台县',164,3,'',0,'',1),(184,'南宫市',164,3,'',0,'',1),(185,'沙河市',164,3,'',0,'',1),(186,'柏乡县',164,3,'',0,'',1),(187,'任县',164,3,'',0,'',1),(188,'清河县',164,3,'',0,'',1),(189,'隆尧县',164,3,'',0,'',1),(190,'临城县',164,3,'',0,'',1),(191,'广宗县',164,3,'',0,'',1),(192,'临西县',164,3,'',0,'',1),(193,'内丘县',164,3,'',0,'',1),(194,'平乡县',164,3,'',0,'',1),(195,'巨鹿县',164,3,'',0,'',1),(196,'新河县',164,3,'',0,'',1),(197,'南和县',164,3,'',0,'',1),(199,'保定市',5,2,'',0,'',1),(203,'安国市',199,3,'',0,'',1),(205,'满城县',199,3,'',0,'',1),(206,'清苑县',199,3,'',0,'',1),(207,'涞水县',199,3,'',0,'',1),(208,'阜平县',199,3,'',0,'',1),(210,'定兴县',199,3,'',0,'',1),(211,'唐县',199,3,'',0,'',1),(212,'高阳县',199,3,'',0,'',1),(213,'容城县',199,3,'',0,'',1),(214,'涞源县',199,3,'',0,'',1),(215,'望都县',199,3,'',0,'',1),(217,'易县',199,3,'',0,'',1),(218,'曲阳县',199,3,'',0,'',1),(219,'蠡县',199,3,'',0,'',1),(220,'顺平县',199,3,'',0,'',1),(221,'博野县',199,3,'',0,'',1),(222,'雄县',199,3,'',0,'',1),(224,'张家��
  656. /*Table structure for table `fl_search` */
  657. DROP TABLE IF EXISTS `fl_search`;
  658. CREATE TABLE `fl_search` (
  659. `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  660. `name` varchar(36) NOT NULL DEFAULT '' COMMENT '搜索词名称',
  661. `title` varchar(60) NOT NULL DEFAULT '' COMMENT 'seo标题',
  662. `description` varchar(150) NOT NULL DEFAULT '' COMMENT '描述',
  663. `content` text COMMENT '内容',
  664. `pubdate` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  665. `keywords` varchar(100) NOT NULL DEFAULT '' COMMENT '关键词',
  666. `click` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '点击量',
  667. `litpic` varchar(100) NOT NULL DEFAULT '' COMMENT '缩略图或封面',
  668. `template` varchar(30) NOT NULL DEFAULT '' COMMENT '模板名称',
  669. `filename` varchar(60) NOT NULL DEFAULT '' COMMENT '别名',
  670. `ischeck` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否审核,默认0未审核',
  671. `showaway` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '显示方式,默认0显示列表,1显示文章',
  672. PRIMARY KEY (`id`),
  673. UNIQUE KEY `name` (`name`)
  674. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='搜索词表';
  675. /*Data for the table `fl_search` */
  676. insert into `fl_search`(`id`,`name`,`title`,`description`,`content`,`pubdate`,`keywords`,`click`,`litpic`,`template`,`filename`,`ischeck`,`showaway`) values (1,'全本小说','全本小说_免费全本小说_全本免费小说_好看的全本小说_全本小说推荐','全本小说_免费全本小说_全本免费小说_好看的全本小说_全本小说推荐','<p>全本小说_免费全本小说_全本免费小说_好看的全本小说_全本小说推荐</p>',1486627422,'全本小说',319,'/zc/uploads/2017/02/201702091603283821.jpg','tag','quanbenxiaoshuo',0,0),(2,'星河','','','',1486643716,'',480,'/zc/uploads/2017/02/201702092035101085.jpg','tag','liuwenyang',1,0),(3,'柳文扬','','','',1486634456,'',249,'','','',0,0),(4,'凡尔纳','','','',1486634577,'',478,'','','',0,0);
  677. /*Table structure for table `fl_searchword` */
  678. DROP TABLE IF EXISTS `fl_searchword`;
  679. CREATE TABLE `fl_searchword` (
  680. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  681. `name` varchar(36) NOT NULL DEFAULT '' COMMENT '名称',
  682. `title` varchar(60) NOT NULL DEFAULT '' COMMENT 'seo标题',
  683. `description` varchar(150) NOT NULL DEFAULT '' COMMENT '描述',
  684. `content` text COMMENT '内容',
  685. `pubdate` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  686. `keywords` varchar(100) NOT NULL DEFAULT '' COMMENT '关键词',
  687. `click` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '点击量',
  688. `litpic` varchar(100) NOT NULL DEFAULT '' COMMENT '缩略图或封面',
  689. `template` varchar(30) NOT NULL DEFAULT '' COMMENT '模板名称',
  690. `filename` varchar(60) NOT NULL DEFAULT '' COMMENT '别名',
  691. PRIMARY KEY (`id`),
  692. UNIQUE KEY `name` (`name`)
  693. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
  694. /*Data for the table `fl_searchword` */
  695. insert into `fl_searchword`(`id`,`name`,`title`,`description`,`content`,`pubdate`,`keywords`,`click`,`litpic`,`template`,`filename`) values (1,'百度金融','百度金融title','百度金融description','<p>百度金融content</p>',1600047389,'百度金融keywords',250,'/uploads/2017/05/201705311643481302.png','tag','bdjr'),(2,'李彦宏','李彦宏title','李彦宏description','<p>李彦宏content</p>',1484910609,'李彦宏keywords',361,'','tag','leo');
  696. /*Table structure for table `fl_session` */
  697. DROP TABLE IF EXISTS `fl_session`;
  698. CREATE TABLE `fl_session` (
  699. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  700. `session_id` varchar(250) NOT NULL COMMENT 'session_id',
  701. `session_expire` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '过期时间',
  702. `session_data` blob NOT NULL COMMENT 'session数据',
  703. PRIMARY KEY (`id`),
  704. UNIQUE KEY `session_id` (`session_id`)
  705. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  706. /*Data for the table `fl_session` */
  707. /*Table structure for table `fl_slide` */
  708. DROP TABLE IF EXISTS `fl_slide`;
  709. CREATE TABLE `fl_slide` (
  710. `id` int(5) unsigned NOT NULL AUTO_INCREMENT,
  711. `title` varchar(60) NOT NULL DEFAULT '',
  712. `url` varchar(100) NOT NULL DEFAULT '' COMMENT '跳转的url',
  713. `target` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '跳转方式,0_blank,1_self,2_parent,3_top,4framename',
  714. `group_id` smallint(5) unsigned NOT NULL DEFAULT '0',
  715. `pic` varchar(100) NOT NULL DEFAULT '' COMMENT '图片地址',
  716. `listorder` int(5) unsigned NOT NULL DEFAULT '50' COMMENT '排序',
  717. `is_show` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否显示,默认0显示',
  718. `type` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '0pc,1weixin,2app,3wap',
  719. PRIMARY KEY (`id`)
  720. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='轮播图表';
  721. /*Data for the table `fl_slide` */
  722. insert into `fl_slide`(`id`,`title`,`url`,`target`,`group_id`,`pic`,`listorder`,`is_show`,`type`) values (1,'1','http://www.baidu.com',0,0,'/uploads/2017/09/201709242246099096.jpg',10,0,1),(2,'2','http://www.sina.com',0,0,'/uploads/2017/09/201709242246091005.jpg',0,0,2),(3,'3','http://www.163.com',0,0,'/uploads/2017/09/201709242246091160.jpg',0,0,0);
  723. /*Table structure for table `fl_sms_log` */
  724. DROP TABLE IF EXISTS `fl_sms_log`;
  725. CREATE TABLE `fl_sms_log` (
  726. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  727. `mobile` varchar(20) NOT NULL DEFAULT '' COMMENT '手机号',
  728. `text` varchar(200) NOT NULL DEFAULT '' COMMENT '发送的内容',
  729. `status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '1成功,2失败',
  730. `result` varchar(512) NOT NULL DEFAULT '' COMMENT '返回结果',
  731. `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  732. PRIMARY KEY (`id`)
  733. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='短信发送记录表';
  734. /*Data for the table `fl_sms_log` */
  735. insert into `fl_sms_log`(`id`,`mobile`,`text`,`status`,`result`,`created_at`) values (1,'15280719357','【后铺网】您在后铺商城的验证码是,千万别告诉别人哦',1,'{\"code\":0,\"msg\":\"\\u53d1\\u9001\\u6210\\u529f\",\"count\":1,\"fee\":0.05,\"unit\":\"RMB\",\"mobile\":\"15280719357\",\"sid\":16862570132}','2017-08-07 11:48:45'),(2,'15280719357','【后铺网】您的验证码是3403,有效期20分钟。',1,'{\"code\":0,\"msg\":\"\\u53d1\\u9001\\u6210\\u529f\",\"count\":1,\"fee\":0.05,\"unit\":\"RMB\",\"mobile\":\"15280719357\",\"sid\":16863109816}','2017-08-07 12:12:39'),(3,'15280719357','【后铺网】您的验证码是2429,有效期20分钟。',1,'{\"code\":0,\"msg\":\"\\u53d1\\u9001\\u6210\\u529f\",\"count\":1,\"fee\":0.05,\"unit\":\"RMB\",\"mobile\":\"15280719357\",\"sid\":16863116688}','2017-08-07 12:13:03');
  736. /*Table structure for table `fl_special` */
  737. DROP TABLE IF EXISTS `fl_special`;
  738. CREATE TABLE `fl_special` (
  739. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  740. `title` varchar(150) NOT NULL DEFAULT '' COMMENT '标题',
  741. `seotitle` varchar(150) NOT NULL DEFAULT '' COMMENT 'seo标题',
  742. `keywords` varchar(100) NOT NULL DEFAULT '' COMMENT '关键词',
  743. `description` varchar(250) NOT NULL DEFAULT '' COMMENT '页面摘要信息',
  744. `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
  745. `body` text COMMENT '内容',
  746. `litpic` varchar(100) NOT NULL DEFAULT '' COMMENT '缩略图',
  747. `click` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '点击量',
  748. `listorder` int(5) unsigned NOT NULL DEFAULT '50' COMMENT '排序',
  749. `updated_at` timestamp NULL DEFAULT NULL COMMENT '更新时间',
  750. `cover_pic` varchar(100) NOT NULL DEFAULT '' COMMENT '封面',
  751. PRIMARY KEY (`id`)
  752. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='专题';
  753. /*Data for the table `fl_special` */
  754. insert into `fl_special`(`id`,`title`,`seotitle`,`keywords`,`description`,`created_at`,`body`,`litpic`,`click`,`listorder`,`updated_at`,`cover_pic`) values (1,'公司简介','','公司简介','LQYCMS企业网站管理系统采用PHP+Mysql架构,全站内置了SEO搜索引擎优化机制,支持用户自定义界面语言,拥有企业网站常用的模块功能(企业简介模块、新闻模块、产品模块、下载模块、图片模块、招聘模块、在线留言、反馈系统、在线交流、友情链接、会员与权限管理)。强大灵活的后台管理功能、静态页面生成功能、个性化模块添加功能、不同栏目自定义FLASH样式功能等可为企业打造出大气漂亮且具有营销力的','0000-00-00 00:00:00','<p>我们专注于网络信息化及网络营销领域,通过整合团队专业的市场营销理念与网络技术为客户提供优质的网络营销服务。</p><p><br/></p><p>我们的主要业务包括:网站系统开发、网站建设、网站推广、空间域名以及网络营销策划与运行。</p><p><br/></p><p>我们主打产品——LQYCMS企业网站管理系统采用PHP+Mysql架构,全站内置了SEO搜索引擎优化机制,支持用户自定义界面语言,拥有企业网站常用的模块功能(企业简介模块、新闻模块、产品模块、下载模块、图片模块、招聘模块、在线留言、反馈系统、在线交流、友情链接、会员与权限管理)。强大灵活的后台管理功能、静态页面生成功能、个性化模块添加功能、不同栏目自定义FLASH样式功能等可为企业打造出大气漂亮且具有营销力的精品网站。</p><p><br/></p><p>我们秉承“为合作伙伴创造价值”的核心价值观,并以“诚实、宽容、创新、服务”为企业精神,通过自主创新和真诚合作为电子商务及信息服务行业创造价值。</p><p><br/></p><p><strong>关于“为合作伙伴创造价值”</strong></p><p><br/></p><p>我们认为客户、供应商、公司股东、公司员工等一切和自身有合作关系的单位和个人都是自己的合作伙伴,并只有通过努力为合作伙伴创造价值,才能体现自身的价值并获得发展和成功。</p><p><br/></p><p><strong>关于“诚实、宽容、创新、服务”</strong></p><p><br/></p><p>我们认为诚信是一切合作的基础,宽容是解决问题的前提,创新是发展事业的利器,服务是创造价值的根本。</p>','',393,50,'2018-03-27 16:47:57',''),(2,'联系我们','','','','0000-00-00 00:00:00','<p>XX有限公司</p><p>地址:XX市XX区XXX号XXX栋XXX房</p><p>电话:0000-888888 13300000000</p><p>Q &nbsp;Q:374861669</p><p>邮编:000000</p><p>邮箱:374861669@</p><p>网址:www.1104.org</p>','',259,50,'2018-03-27 16:47:57',''),(3,'企业文化','','','​企业文化,或称组织文化(Corporate Culture或Organizational Culture),是一个组织由其价值观、信念、仪式、符号、处事方式等组成的其特有的文化形象。','0000-00-00 00:00:00','<p>企业文化,或称组织文化(Corporate Culture或Organizational Culture),是一个组织由其价值观、信念、仪式、符号、处事方式等组成的其特有的文化形象。<br/></p><p><br/></p><p>职工文化,也称企业职工文化,是与企业文化相对应的文化形态,职工文化以职工为本,是一种素质文化,企业文化以企业为本,是一种管理文化。</p><p>企业文化是在一定的条件下,企业生产经营和管理活动中所创造的具有该企业特色的精神财富和物质形态。它包括文化观念、价值观念、企业精神、道德规范、行为准则、历史传统、企业制度、文化环境、企业产品等。其中价值观是企业文化的核心。</p><p><br/></p><p>企业文化是企业的灵魂,是推动企业发展的不竭动力。它包含着非常丰富的内容,其核心是企业的精神和价值观。这里的价值观不是泛指企业管理中的各种文化现象,而是企业或企
  755. /*Table structure for table `fl_sysconfig` */
  756. DROP TABLE IF EXISTS `fl_sysconfig`;
  757. CREATE TABLE `fl_sysconfig` (
  758. `id` int(5) unsigned NOT NULL AUTO_INCREMENT,
  759. `varname` varchar(100) NOT NULL DEFAULT '' COMMENT '变量名',
  760. `info` varchar(100) NOT NULL DEFAULT '' COMMENT '变量值',
  761. `value` text NOT NULL COMMENT '变量说明',
  762. `is_show` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否显示,默认0显示,让客户看不到',
  763. PRIMARY KEY (`id`),
  764. UNIQUE KEY `varname` (`varname`)
  765. ) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='系统参数配置表';
  766. /*Data for the table `fl_sysconfig` */
  767. insert into `fl_sysconfig`(`id`,`varname`,`info`,`value`,`is_show`) values (1,'CMS_WEBNAME','网站名称','LQYCMS企业建站系统',0),(2,'CMS_BASEHOST','站点根网址','http://www.lqycms.com',0),(3,'CMS_UPLOADS','图片/上传文件默认路径','/uploads',0),(4,'CMS_CSS','css默认存放路径','/css',0),(5,'CMS_JS','js默认存放路径','/js',0),(6,'CMS_INDEXNAME','主页链接名','首页',0),(7,'CMS_POWERBY','网站版权信息','Copyright &copy; LQYCMS 版权所有',0),(8,'CMS_IMGWIDTH','缩略图默认宽度','240',0),(9,'CMS_IMGHEIGHT','缩略图默认高度','180',0),(10,'CMS_SEOTITLE','网站seotitle','lqycms是一套完全免费、开源、无授权限制的网站管理系统',0),(11,'CMS_KEYWORDS','网站关键词Keywords','lqycms,无授权限制网站系统cms,免费cms系统,开源网站管理系统,开源cms',0),(12,'CMS_DESCRIPTION','网站描述','lqycms完全免费、开源、无授权限制,您可以使用lqycms在任何商业或者非商业网站上使用而不必支付任何费用,系统采用主流的mvc架构开发,更加容易进行二次开发。',0),(13,'CMS_ISCACHE','是否开启缓存,1开启,0关闭','1',0),(14,'CMS_MAXARC','最大返回列表结果数,默认300','300',0),(15,'CMS_PAGESIZE','列表每页显示的数量,默认15','15',0),(16,'CMS_SIGN_POINT','签到积分','5',0),(17,'CMS_WX_APPID','微信appid','wx3d216119fe23ef10',0),(18,'CMS_WX_APPSECRET','微信appsecret','dc8a69f061f595ea4db0d7f0e52fc971',0),(19,'CMS_WX_MCHID','微信支付商户号','1503321381',0),(20,'CMS_WXSHAER_TITLE','微信分享标题','微信分享测试-标题',0),(21,'CMS_WXSHAER_DESC','微信分享描述','微信分享描述',0),(22,'CMS_WXSHAER_LINK','微信分享链接','http://www.lqycms.com/weixin',0),(23,'CMS_WXSHAER_IMGURL','微信分享图标','http://www.lqycms.com/images/weixin/no_user.jpg',0),(24,'CMS_MIN_WITHDRAWAL_MONEY','最低提现金额(元)','100',0),(25,'CMS_SHOPPING_POINT','购物赠送积分','10',0),(26,'CMS_COMMISSION_PERCENT','推介赚钱计划-提成比例(5%)','0.05',0);
  768. /*Table structure for table `fl_tagindex` */
  769. DROP TABLE IF EXISTS `fl_tagindex`;
  770. CREATE TABLE `fl_tagindex` (
  771. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  772. `tag` varchar(36) NOT NULL DEFAULT '' COMMENT '标签名称',
  773. `title` varchar(60) NOT NULL DEFAULT '' COMMENT 'seo标题',
  774. `description` varchar(150) NOT NULL DEFAULT '' COMMENT '描述',
  775. `content` text COMMENT '内容',
  776. `pubdate` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  777. `keywords` varchar(100) NOT NULL DEFAULT '' COMMENT '关键词',
  778. `click` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '点击量',
  779. `litpic` varchar(100) NOT NULL DEFAULT '' COMMENT '缩略图或封面',
  780. `template` varchar(30) NOT NULL DEFAULT '' COMMENT '模板名称',
  781. `filename` varchar(60) NOT NULL DEFAULT '' COMMENT '别名',
  782. `ischeck` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否审核,默认0审核',
  783. PRIMARY KEY (`id`),
  784. UNIQUE KEY `tag` (`tag`)
  785. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='tag标签表';
  786. /*Data for the table `fl_tagindex` */
  787. insert into `fl_tagindex`(`id`,`tag`,`title`,`description`,`content`,`pubdate`,`keywords`,`click`,`litpic`,`template`,`filename`,`ischeck`) values (1,'百度金融2','百度金融title2','百度金融description2','<p>百度金融content2</p>',1496229526,'百度金融keywords2',250,'/uploads/2017/05/201705311643481302.png','tag2','bdjr2',0),(2,'李彦宏','李彦宏title','李彦宏description','<p>李彦宏content</p>',1484910609,'李彦宏keywords',361,'','tag','leo',0),(3,'asd','asd','asd','<p>asdsa</p>',1496229768,'asd',209,'','tag','asd',1);
  788. /*Table structure for table `fl_taglist` */
  789. DROP TABLE IF EXISTS `fl_taglist`;
  790. CREATE TABLE `fl_taglist` (
  791. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  792. `tid` int(11) unsigned NOT NULL COMMENT '标签id',
  793. `aid` int(11) unsigned NOT NULL COMMENT '文章id',
  794. PRIMARY KEY (`id`),
  795. UNIQUE KEY `idx_tid_aid` (`tid`,`aid`)
  796. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='tag标签-文章关系表';
  797. /*Data for the table `fl_taglist` */
  798. insert into `fl_taglist`(`id`,`tid`,`aid`) values (1,1,2),(2,1,5),(3,1,13),(4,2,10),(5,2,12);
  799. /*Table structure for table `fl_token` */
  800. DROP TABLE IF EXISTS `fl_token`;
  801. CREATE TABLE `fl_token` (
  802. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  803. `token` varchar(128) NOT NULL DEFAULT '',
  804. `type` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '0:app, 1:admin, 2:weixin, 3:wap, 4: pc',
  805. `uid` int(11) unsigned NOT NULL DEFAULT '0',
  806. `data` text COMMENT 'token相关信息,json_encode字串',
  807. `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  808. `expired_at` timestamp NULL DEFAULT NULL,
  809. PRIMARY KEY (`id`)
  810. ) ENGINE=InnoDB AUTO_INCREMENT=12 DEFAULT CHARSET=utf8 COMMENT='token表';
  811. /*Data for the table `fl_token` */
  812. insert into `fl_token`(`id`,`token`,`type`,`uid`,`data`,`created_at`,`expired_at`) values (1,'123456',1,1,'','2017-08-07 13:29:01','2020-05-22 11:15:27'),(2,'70a0c1ba8fb4a4c394dd2bdf7d6106ec',2,3,'','2018-03-09 12:22:03','2018-04-08 12:22:03'),(3,'0ecd2dd522d64f10d39ba95d4fb6adc2',2,3,'','2018-03-30 14:38:19','2020-04-29 14:38:19'),(4,'1f23ce0f617ea608ce69ba826169ab95',2,3,'','2018-04-08 10:34:19','2018-05-08 10:34:19'),(5,'87da4022a6358f024c8241405e38164b',2,3,'','2018-05-22 19:30:52','2018-06-21 19:30:52'),(6,'201fc40be3e1ea2d062e815510dc5b20',2,3,'','2018-05-25 15:37:13','2018-06-24 15:37:13'),(7,'4a8c36907b5589537d5f96509a707945',2,3,'','2018-05-26 09:26:09','2018-06-25 09:26:09'),(8,'16731ebfc9807efa08469711a61b0922',2,3,'','2018-05-26 09:34:39','2018-06-25 09:34:39'),(9,'9417f354ef61e336ac556184a44e15a8',2,3,'','2018-05-30 11:45:35','2018-06-29 11:45:35'),(10,'feeb98b07e22e1fad58e8a12810c2dca',2,1,'','2020-09-14 09:44:09','2020-10-14 09:44:09'),(11,'8f13c38aa4c3077a740823faf0fc360c',2,1,'','2020-09-14 14:06:38','2020-10-14 14:06:38');
  813. /*Table structure for table `fl_user` */
  814. DROP TABLE IF EXISTS `fl_user`;
  815. CREATE TABLE `fl_user` (
  816. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  817. `email` varchar(60) NOT NULL DEFAULT '' COMMENT '邮箱',
  818. `user_name` varchar(60) NOT NULL DEFAULT '' COMMENT '用户名',
  819. `password` varchar(50) NOT NULL DEFAULT '' COMMENT '密码',
  820. `pay_password` varchar(50) NOT NULL DEFAULT '' COMMENT '支付密码',
  821. `head_img` varchar(255) NOT NULL DEFAULT '' COMMENT '头像',
  822. `sex` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '性别1男2女',
  823. `birthday` date NOT NULL DEFAULT '1990-01-01' COMMENT '生日',
  824. `commission` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '累积佣金,只增不减,单位:元',
  825. `money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '用户余额,单位:元',
  826. `frozen_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '用户冻结资金,单位:元',
  827. `point` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '用户能用积分',
  828. `rank_points` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '会员等级积分',
  829. `address_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '收货信息id,表值表user_address',
  830. `add_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '注册时间',
  831. `user_rank` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '用户等级',
  832. `parent_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '推荐人id',
  833. `nickname` varchar(30) NOT NULL DEFAULT '' COMMENT '昵称',
  834. `mobile` varchar(20) NOT NULL DEFAULT '' COMMENT '手机号码',
  835. `status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '用户状态 0待审 1正常状态 2 删除至回收站 3锁定',
  836. `group_id` int(5) unsigned NOT NULL DEFAULT '0' COMMENT '分组',
  837. `updated_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  838. `signin_time` timestamp NULL DEFAULT NULL COMMENT '签到时间',
  839. `openid` varchar(100) NOT NULL DEFAULT '' COMMENT 'openid',
  840. `unionid` varchar(128) NOT NULL DEFAULT '' COMMENT 'unionid',
  841. `push_id` varchar(30) NOT NULL DEFAULT '' COMMENT '推送id',
  842. `refund_account` varchar(30) NOT NULL DEFAULT '' COMMENT '退款账户,支付宝账号',
  843. `refund_name` varchar(20) NOT NULL DEFAULT '' COMMENT '退款姓名',
  844. `consumption_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '累计消费金额',
  845. PRIMARY KEY (`id`),
  846. UNIQUE KEY `uniq_user_name` (`user_name`)
  847. ) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='会员表';
  848. /*Data for the table `fl_user` */
  849. insert into `fl_user`(`id`,`email`,`user_name`,`password`,`pay_password`,`head_img`,`sex`,`birthday`,`commission`,`money`,`frozen_money`,`point`,`rank_points`,`address_id`,`add_time`,`user_rank`,`parent_id`,`nickname`,`mobile`,`status`,`group_id`,`updated_at`,`signin_time`,`openid`,`unionid`,`push_id`,`refund_account`,`refund_name`,`consumption_money`) values (1,'374861669@qq.com','FLi','e10adc3949ba59abbe56e057f20f883e','e10adc3949ba59abbe56e057f20f883e','/uploads/2018/05/201805260914494190.jpg',0,'1960-03-03','0.00','1000.00','0.00',25,0,1,0,0,3,'大货','15280719357',1,0,1600051029,'2018-06-02 09:02:28','','','','','','0.00'),(2,'vip@ecshop.com','vip','e10adc3949ba59abbe56e057f20f883e','e10adc3949ba59abbe56e057f20f883e','/uploads/2017/06/201706041951031181.jpg',0,'1949-01-01','0.00','0.00','0.00',0,0,0,0,0,3,'','15280719356',2,0,4294967295,'2018-03-27 16:55:20','','','','','','0.00'),(3,'ecshop@ecshop.com','ecshop','e10adc3949ba59abbe56e057f20f883e','e10adc3949ba59abbe56e057f20f883e','/uploads/2018/05/201805260945305551.jpg',2,'1990-01-01','12.00','772.00','0.00',0,0,18,0,0,0,'阿什顿','15280719358',1,0,1527299130,'2018-03-27 16:55:20','','','','1234','4321','0.00'),(4,'','20180602u4','e10adc3949ba59abbe56e057f20f883e','','http://thirdwx.qlogo.cn/mmopen/vi_32/FyS7V79tMKK1DxXS3bDOdsy9q6PSey4xfmVeNbB6XrBGEu9HkpX4jxKMc1oflLsicgGePtdtTWic5dOibTib6KibA7g/132',1,'1990-01-01','0.00','0.00','0.00',0,0,0,1527910417,0,0,'林一峰','',1,0,0,NULL,'ocR9zwaV199hmpx1ZguixWV-kMeM','','','','','0.00');
  850. /*Table structure for table `fl_user_address` */
  851. DROP TABLE IF EXISTS `fl_user_address`;
  852. CREATE TABLE `fl_user_address` (
  853. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  854. `user_id` int(11) unsigned NOT NULL DEFAULT '0',
  855. `name` varchar(60) NOT NULL DEFAULT '' COMMENT '收货人的名字',
  856. `country` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '收货人的国家',
  857. `province` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '收货人的省份',
  858. `city` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '收货人城市',
  859. `district` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '收货人的地区',
  860. `address` varchar(120) NOT NULL DEFAULT '' COMMENT '收货人的详细地址',
  861. `zipcode` varchar(60) NOT NULL DEFAULT '' COMMENT '收货人的邮编',
  862. `telphone` varchar(60) NOT NULL DEFAULT '' COMMENT '收货人的电话',
  863. `mobile` varchar(60) NOT NULL DEFAULT '' COMMENT '收货人的手机号',
  864. `is_default` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否默认,0:为非默认,1:默认',
  865. PRIMARY KEY (`id`),
  866. KEY `idx_user_id` (`user_id`)
  867. ) ENGINE=InnoDB AUTO_INCREMENT=19 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='收货地址表';
  868. /*Data for the table `fl_user_address` */
  869. insert into `fl_user_address`(`id`,`user_id`,`name`,`country`,`province`,`city`,`district`,`address`,`zipcode`,`telphone`,`mobile`,`is_default`) values (1,1,'刘先生',0,1,32767,72,'海兴大厦','','010-25851234','13986765412',1),(2,2,'叶先生',1,2,52,510,'通州区旗舰凯旋小区','','13588104710','',0),(4,1,'梁朝伟',0,2,32767,72,'dasd2','','','assds2',0),(8,1,'韩寒',0,1,32767,72,'师范大学','','','15280719357',0),(9,1,'范蠡',0,1,32767,72,'士大夫','','','15280719234',0),(10,1,'谢霆锋',0,16,1315,32767,'阿斯顿','','','13912356543',0),(11,1,'林逸',0,16,1332,1337,'阿斯顿','','','13912356543',0),(12,3,'Kenny G',0,1,52129,72,'阿斯达','','','15280719357',0),(13,3,'许巍',0,1,52129,2805,'东风公司','','','15280719357',0),(14,3,'李宗盛',0,16,1329,1331,'红糖100号','','','15280765456',0),(15,3,'周杰伦',0,1,52129,72,'阿斯达','','','15278765456',0),(16,1,'电饭锅',1,1,2,3,'第三个','撒打发','123','321654',0),(18,3,'撒大哥',0,4,52132,113,'发电话告诉但是对方','','','15280748621',0);
  870. /*Table structure for table `fl_user_bonus` */
  871. DROP TABLE IF EXISTS `fl_user_bonus`;
  872. CREATE TABLE `fl_user_bonus` (
  873. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  874. `bonus_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '优惠券id',
  875. `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id',
  876. `used_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '优惠券使用的时间,0表示未使用',
  877. `get_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '优惠券获得时间',
  878. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0未使用1已使用2已过期',
  879. PRIMARY KEY (`id`),
  880. KEY `idx_user_id_status` (`user_id`,`status`)
  881. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='用户优惠券表';
  882. /*Data for the table `fl_user_bonus` */
  883. insert into `fl_user_bonus`(`id`,`bonus_id`,`user_id`,`used_time`,`get_time`,`status`) values (1,1,1,0,1527176114,0);
  884. /*Table structure for table `fl_user_goods_history` */
  885. DROP TABLE IF EXISTS `fl_user_goods_history`;
  886. CREATE TABLE `fl_user_goods_history` (
  887. `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '自增ID',
  888. `goods_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '商品ID',
  889. `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '会员ID',
  890. `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '浏览时间',
  891. PRIMARY KEY (`id`),
  892. KEY `idx_user_id` (`user_id`)
  893. ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 COMMENT='商品浏览历史表';
  894. /*Data for the table `fl_user_goods_history` */
  895. insert into `fl_user_goods_history`(`id`,`goods_id`,`user_id`,`add_time`) values (1,3,3,1512211519),(2,2,3,1512213451),(3,1,3,1512234528),(4,4,3,1513089678),(5,5,3,1523438828),(6,1,1,1527836160),(7,4,1,1527836167),(8,5,1,1531816626);
  896. /*Table structure for table `fl_user_message` */
  897. DROP TABLE IF EXISTS `fl_user_message`;
  898. CREATE TABLE `fl_user_message` (
  899. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  900. `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户id,如果id为0表示所有人',
  901. `type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '系统消息0,活动消息',
  902. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '查看状态:0未查看,1已查看',
  903. `title` varchar(150) NOT NULL DEFAULT '' COMMENT '标题',
  904. `des` varchar(250) NOT NULL DEFAULT '' COMMENT '说明',
  905. `litpic` varchar(100) NOT NULL DEFAULT '' COMMENT '缩略图',
  906. `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  907. PRIMARY KEY (`id`),
  908. KEY `idx_user_id_status_type` (`user_id`,`status`,`type`)
  909. ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='用户消息表';
  910. /*Data for the table `fl_user_message` */
  911. insert into `fl_user_message`(`id`,`user_id`,`type`,`status`,`title`,`des`,`litpic`,`add_time`) values (1,0,0,0,'保修结果反馈','啥地方撒旦啥地方撒旦啥地方撒旦啥地方撒旦啥地方撒旦啥地方撒旦啥地方撒旦','',1511963795),(2,3,1,0,'认证通知','士大夫撒旦官方店士大夫撒旦官方店士大夫撒旦官方店士大夫撒旦官方店士大夫撒旦官方店士大夫撒旦官方店','',1511963796),(3,3,0,0,'暂时无法修改头像和昵称','阿萨德股份三阿萨德股份三大阿萨德股份三大阿萨德股份三大阿萨德股份三大阿萨德股份三大','',1511963797),(4,1,0,0,'立即用处4','电风扇归属地电风扇归属地电风扇归属地电风扇归属地电风扇归属地','',1511963798),(5,0,0,0,'立即用处5','阿萨德股份三阿萨德股份三大阿萨德股份三大阿萨德股份三大阿萨德股份三大阿萨德股份三大','',1511963798),(6,3,2,0,'立即用处6','阿萨德股份三阿萨德股份三大阿萨德股份三大阿萨德股份三大阿萨德股份三大阿萨德股份三大','',1511963798),(7,3,1,0,'立即用处7','阿萨德股份三阿萨德股份三大阿萨德股份三大阿萨德股份三大阿萨德股份三大阿萨德股份三大','',1511963798),(8,3,0,0,'立即用处8','阿萨德股份三阿萨德股份三大阿萨德股份三大阿萨德股份三大阿萨德股份三大阿萨德股份三大','',1511963798);
  912. /*Table structure for table `fl_user_money` */
  913. DROP TABLE IF EXISTS `fl_user_money`;
  914. CREATE TABLE `fl_user_money` (
  915. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  916. `user_id` int(11) unsigned NOT NULL DEFAULT '0',
  917. `type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0增加,1减少',
  918. `money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '金额',
  919. `add_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  920. `des` varchar(100) NOT NULL DEFAULT '' COMMENT '描述,充值',
  921. `user_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '余额,每次增减后面的金额记录',
  922. PRIMARY KEY (`id`)
  923. ) ENGINE=InnoDB AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='用户余额明细';
  924. /*Data for the table `fl_user_money` */
  925. insert into `fl_user_money`(`id`,`user_id`,`type`,`money`,`add_time`,`des`,`user_money`) values (1,1,0,'12.00',1502158888,'微信转账','23.00'),(2,1,1,'23.00',1502158888,'士大夫','34.00'),(3,3,1,'5.00',1513089694,'订单余额支付','118.00'),(4,3,0,'0.00',1514200726,'退货-返余额','118.00'),(5,3,0,'0.00',1514201382,'退货-返余额','118.00'),(6,3,0,'0.00',1514201562,'退货-返余额','118.00'),(7,3,1,'5.00',1527728989,'订单余额支付','990.00'),(8,3,1,'10.00',1527729113,'订单余额支付','970.00'),(9,3,1,'10.00',1527733198,'订单余额支付','950.00'),(10,3,1,'10.00',1527733290,'订单余额支付','930.00'),(11,3,1,'10.00',1527734015,'订单余额支付','910.00'),(12,3,1,'10.00',1527734715,'订单余额支付','900.00'),(13,3,1,'5.00',1527759190,'订单余额支付','895.00');
  926. /*Table structure for table `fl_user_point` */
  927. DROP TABLE IF EXISTS `fl_user_point`;
  928. CREATE TABLE `fl_user_point` (
  929. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  930. `user_id` int(11) unsigned NOT NULL DEFAULT '0',
  931. `type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0增加,1减少',
  932. `point` int(6) unsigned NOT NULL DEFAULT '0' COMMENT '积分',
  933. `add_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  934. `des` varchar(250) NOT NULL DEFAULT '' COMMENT '备注',
  935. `user_point` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '每次增减后的积分',
  936. PRIMARY KEY (`id`)
  937. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='用户积分明细';
  938. /*Data for the table `fl_user_point` */
  939. insert into `fl_user_point`(`id`,`user_id`,`type`,`point`,`add_time`,`des`,`user_point`) values (1,1,1,82,1502158888,'等等',1),(2,1,0,82,1502158912,'林路',2),(3,1,1,5,1502158888,'签到',3),(4,1,1,5,1502158888,'签到',4),(5,1,1,5,1502158888,'签到',5),(6,1,1,5,1502158888,'签到',1);
  940. /*Table structure for table `fl_user_rank` */
  941. DROP TABLE IF EXISTS `fl_user_rank`;
  942. CREATE TABLE `fl_user_rank` (
  943. `id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT,
  944. `title` varchar(30) NOT NULL DEFAULT '' COMMENT '会员等级名称',
  945. `min_points` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '该等级的最低积分',
  946. `max_points` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '该等级的最高积分',
  947. `discount` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '该会员等级的商品折扣',
  948. `listorder` int(5) unsigned NOT NULL DEFAULT '50' COMMENT '排序',
  949. `rank` int(5) unsigned NOT NULL DEFAULT '0' COMMENT '等级',
  950. PRIMARY KEY (`id`)
  951. ) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='用户等级表';
  952. /*Data for the table `fl_user_rank` */
  953. insert into `fl_user_rank`(`id`,`title`,`min_points`,`max_points`,`discount`,`listorder`,`rank`) values (1,'注册用户',0,10000,100,50,0),(2,'vip',10000,10000000,95,50,0),(3,'代销用户',0,0,90,50,0);
  954. /*Table structure for table `fl_user_recharge` */
  955. DROP TABLE IF EXISTS `fl_user_recharge`;
  956. CREATE TABLE `fl_user_recharge` (
  957. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  958. `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户ID',
  959. `money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '充值金额',
  960. `pay_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '充值时间',
  961. `pay_type` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '充值类型:1微信,2支付宝',
  962. `pay_money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '支付金额',
  963. `trade_no` varchar(30) NOT NULL DEFAULT '' COMMENT '支付流水号',
  964. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '充值状态:0未处理,1已完成,2失败',
  965. `created_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  966. `updated_at` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  967. `recharge_sn` varchar(60) NOT NULL DEFAULT '' COMMENT '支付订单号',
  968. PRIMARY KEY (`id`)
  969. ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='用户在线充值明细表';
  970. /*Data for the table `fl_user_recharge` */
  971. insert into `fl_user_recharge`(`id`,`user_id`,`money`,`pay_time`,`pay_type`,`pay_money`,`trade_no`,`status`,`created_at`,`updated_at`,`recharge_sn`) values (1,1,'1.00',4294967295,1,'0.00','',0,4294967295,4294967295,''),(2,1,'123.00',4294967295,1,'0.00','',0,4294967295,4294967295,''),(3,1,'123.00',4294967295,1,'0.00','',0,4294967295,4294967295,''),(4,1,'123.00',4294967295,1,'0.00','',0,4294967295,4294967295,''),(5,1,'1.00',4294967295,1,'0.00','',0,4294967295,4294967295,''),(6,1,'2.00',4294967295,1,'0.00','',0,4294967295,4294967295,''),(7,3,'1.00',0,1,'0.00','',0,1527652389,0,'201805301153091703'),(8,3,'1.00',0,1,'0.00','',0,1527652610,0,'201805301156503759');
  972. /*Table structure for table `fl_user_withdraw` */
  973. DROP TABLE IF EXISTS `fl_user_withdraw`;
  974. CREATE TABLE `fl_user_withdraw` (
  975. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  976. `user_id` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '用户ID',
  977. `add_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '时间',
  978. `money` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '金额',
  979. `name` varchar(30) NOT NULL DEFAULT '' COMMENT '姓名',
  980. `status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '0未处理,1处理中,2成功,3取消,4拒绝',
  981. `note` varchar(250) NOT NULL DEFAULT '' COMMENT '用户备注',
  982. `re_note` varchar(250) NOT NULL DEFAULT '' COMMENT '回复备注信息',
  983. `bank_name` varchar(30) NOT NULL DEFAULT '' COMMENT '银行名称',
  984. `bank_place` varchar(150) NOT NULL DEFAULT '' COMMENT '开户行',
  985. `account` varchar(30) NOT NULL DEFAULT '' COMMENT '支付宝账号或者银行卡号',
  986. `method` varchar(20) NOT NULL DEFAULT '' COMMENT '提现方式,weixin,bank,alipay',
  987. `delete_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '是否删除,0未删除',
  988. PRIMARY KEY (`id`)
  989. ) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='提现记录';
  990. /*Data for the table `fl_user_withdraw` */
  991. insert into `fl_user_withdraw`(`id`,`user_id`,`add_time`,`money`,`name`,`status`,`note`,`re_note`,`bank_name`,`bank_place`,`account`,`method`,`delete_time`) values (2,3,1513082451,'1.00','asda',4,'','','','','1feng.2008','alipay',0),(3,3,1513082615,'100.00','qweqeqw',4,'','','asd','dfs','admin888','alipay',0),(4,3,1,'1.00','asd',2,'','','asfas','asd','asf','alipay',0),(5,1,0,'400.00','',0,'','','','','','alipay',0),(6,1,1527165632,'400.00','',0,'','','','','水岸东方','alipay',0);
  992. /*Table structure for table `fl_verify_code` */
  993. DROP TABLE IF EXISTS `fl_verify_code`;
  994. CREATE TABLE `fl_verify_code` (
  995. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  996. `code` varchar(10) NOT NULL DEFAULT '' COMMENT '验证码',
  997. `type` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '0通用,注册,1:手机绑定业务验证码,2:密码修改业务验证码',
  998. `mobile` varchar(20) NOT NULL DEFAULT '' COMMENT '手机号',
  999. `status` tinyint(4) unsigned NOT NULL DEFAULT '0' COMMENT '0:未使用 1:已使用',
  1000. `expired_at` timestamp NULL DEFAULT NULL COMMENT '过期时间',
  1001. `created_at` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  1002. PRIMARY KEY (`id`)
  1003. ) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='验证码记录表';
  1004. /*Data for the table `fl_verify_code` */
  1005. insert into `fl_verify_code`(`id`,`code`,`type`,`mobile`,`status`,`expired_at`,`created_at`) values (1,'9669',1,'15280719357',0,'2017-09-08 15:30:15','2017-08-08 15:30:15');
  1006. /*Table structure for table `fl_weixin_menu` */
  1007. DROP TABLE IF EXISTS `fl_weixin_menu`;
  1008. CREATE TABLE `fl_weixin_menu` (
  1009. `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  1010. `pid` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '父级菜单id',
  1011. `addtime` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  1012. `name` varchar(30) NOT NULL DEFAULT '' COMMENT '菜单标题,不超过16个字节,子菜单不超过60个字节',
  1013. `type` varchar(30) NOT NULL DEFAULT '' COMMENT '菜单的响应动作类型,view表示网页类型,click表示点击,miniprogram表示小程序',
  1014. `key` varchar(60) NOT NULL DEFAULT '' COMMENT '菜单KEY值,用于消息接口推送,不超过128字节,click等点击类型必须',
  1015. `url` varchar(255) NOT NULL DEFAULT '' COMMENT '网页链接,用户点击菜单可打开链接,不超过1024字节。view、miniprogram类型必须,type为miniprogram时,不支持小程序的老版本客户端将打开本url。',
  1016. `media_id` varchar(60) NOT NULL DEFAULT '' COMMENT '调用新增永久素材接口返回的合法media_id,media_id类型和view_limited类型必须',
  1017. `appid` varchar(150) NOT NULL DEFAULT '' COMMENT '小程序的appid(仅认证公众号可配置),miniprogram类型必须',
  1018. `pagepath` varchar(255) NOT NULL DEFAULT '' COMMENT '小程序的页面路径,miniprogram类型必须',
  1019. `litpic` varchar(100) NOT NULL DEFAULT '' COMMENT '封面或缩略图',
  1020. `listorder` int(5) unsigned NOT NULL DEFAULT '50' COMMENT '排序',
  1021. `is_show` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否显示,默认0显示',
  1022. PRIMARY KEY (`id`),
  1023. UNIQUE KEY `IndexNameUnique` (`name`)
  1024. ) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 CHECKSUM=1 DELAY_KEY_WRITE=1 ROW_FORMAT=DYNAMIC COMMENT='微信菜单表';
  1025. /*Data for the table `fl_weixin_menu` */
  1026. insert into `fl_weixin_menu`(`id`,`pid`,`addtime`,`name`,`type`,`key`,`url`,`media_id`,`appid`,`pagepath`,`litpic`,`listorder`,`is_show`) values (1,0,1510371034,'新闻中心','click','V2_GOOD','','','','','',50,0),(2,0,1476063429,'案例中心','click','V1002_GOOD','','','','','',50,0),(3,1,1476063419,'行业新闻','view','','http://www.sina.com','','','','',50,0),(4,1,1476068069,'企业新闻','view','','https://www.baidu.com','','','','',50,0),(5,2,1510295902,'奥术大师','view','qwe','http://www.baidu.com','asdf','dsfhgf','gfhjgf','',50,0);
  1027. /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
  1028. /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;