-- MySQL dump 10.13  Distrib 5.1.73, for redhat-linux-gnu (x86_64)
--
-- Host: 192.168.4.39    Database: mall
-- ------------------------------------------------------
-- Server version	5.6.26-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `home_page`
--

DROP TABLE IF EXISTS `home_page`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `home_page` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `home_id` bigint(20) NOT NULL COMMENT 'home_config_id',
  `template_name` varchar(255) NOT NULL COMMENT '模块名称',
  `template_key` varchar(80) DEFAULT '',
  `sort` int(10) NOT NULL COMMENT '排序',
  `channel` int(5) NOT NULL DEFAULT '0' COMMENT '渠道',
  `hot_category_id` int(20) NOT NULL DEFAULT '-1',
  `category_sort` int(10) NOT NULL DEFAULT '-1' COMMENT '热门分类排序',
  `removed` bit(1) NOT NULL DEFAULT b'0' COMMENT '状态(是否隐藏)',
  PRIMARY KEY (`id`),
  KEY `idx_home_id` (`home_id`) USING BTREE
) ENGINE=InnoDB AUTO_INCREMENT=40 DEFAULT CHARSET=utf8 COMMENT='home 分页';
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `home_page`
--

/*!40000 ALTER TABLE `home_page` DISABLE KEYS */;
INSERT INTO `home_page` VALUES (1,1,'搜索',NULL,1,0,-1,-1,'\0'),(2,2,'顶部导航',NULL,2,0,-1,-1,'\0'),(3,3,'轮播图','banner',3,0,-1,-1,'\0'),(4,4,'白条运营位',NULL,4,0,-1,-1,'\0'),(5,5,'秒杀','seckill',5,0,-1,-1,'\0'),(6,6,'新品首发/热销榜单','newhot',8,0,-1,-1,'\0'),(7,7,'长期运营位','operation',7,0,-1,-1,'\0'),(8,8,'生活馆','lifehall',6,0,-1,-1,'\0'),(9,9,'精选专辑','album',9,0,-1,-1,'\0'),(10,10,'类目热销榜','hotcategory',10,0,1,8,'\0'),(11,10,'类目热销榜','hotcategory',10,0,2,2,'\0'),(12,10,'类目热销榜','hotcategory',10,0,3,7,'\0'),(13,10,'类目热销榜','hotcategory',10,0,4,11,''),(14,10,'类目热销榜','hotcategory',10,0,5,4,'\0'),(15,10,'类目热销榜','hotcategory',10,0,6,9,'\0'),(16,10,'类目热销榜','hotcategory',10,0,7,13,''),(17,10,'类目热销榜','hotcategory',10,0,8,18,''),(18,10,'类目热销榜','hotcategory',10,0,9,3,'\0'),(19,10,'类目热销榜','hotcategory',10,0,10,5,'\0'),(20,10,'类目热销榜','hotcategory',10,0,11,10,'\0'),(21,10,'类目热销榜','hotcategory',10,0,12,14,''),(22,10,'类目热销榜','hotcategory',10,0,13,12,''),(23,10,'类目热销榜','hotcategory',10,0,14,15,''),(24,10,'类目热销榜','hotcategory',10,0,15,1,'\0'),(25,10,'类目热销榜','hotcategory',10,0,16,16,''),(26,10,'类目热销榜','hotcategory',10,0,17,17,''),(27,10,'类目热销榜','hotcategory',10,0,19,6,'\0'),(29,10,'类目热销榜','hotcategory',10,0,20,20,''),(31,10,'类目热销榜','hotcategory',10,0,21,21,''),(33,10,'类目热销榜','hotcategory',10,0,22,22,''),(35,10,'类目热销榜','hotcategory',10,0,23,23,''),(37,10,'类目热销榜','hotcategory',10,0,24,24,''),(39,10,'类目热销榜','hotcategory',10,0,25,25,'');
/*!40000 ALTER TABLE `home_page` ENABLE KEYS */;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2017-10-20 21:01:23
