-- -----------------------------
-- SentCMS MySQL Data Transfer 
-- 
-- Host     : 127.0.0.1
-- Port     : 
-- Database : sentcms_www
-- 
-- Part : #1
-- Date : 2016-06-28 09:38:33
-- -----------------------------

SET FOREIGN_KEY_CHECKS = 0;


-- -----------------------------
-- Table structure for `sent_action`
-- -----------------------------
DROP TABLE IF EXISTS `sent_action`;
CREATE TABLE `sent_action` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `name` char(30) NOT NULL DEFAULT '' COMMENT '行为唯一标识',
  `title` char(80) NOT NULL DEFAULT '' COMMENT '行为说明',
  `remark` char(140) NOT NULL DEFAULT '' COMMENT '行为描述',
  `rule` text COMMENT '行为规则',
  `log` text COMMENT '日志规则',
  `type` tinyint(2) unsigned NOT NULL DEFAULT '1' COMMENT '类型',
  `status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '状态',
  `update_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '修改时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='系统行为表';

-- -----------------------------
-- Records of `sent_action`
-- -----------------------------
INSERT INTO `sent_action` VALUES ('1', 'user_login', '用户登录', '积分+10，每天一次', 'table:member|field:score|condition:uid={$self} AND status>-1|rule:score+10|cycle:24|max:1;', '[user|get_nickname]在[time|time_format]登录了后台', '1', '1', '1387181220');
INSERT INTO `sent_action` VALUES ('2', 'add_article', '发布文章', '积分+5，每天上限5次', 'table:member|field:score|condition:uid={$self}|rule:score+5|cycle:24|max:5', '', '2', '1', '1380173180');
INSERT INTO `sent_action` VALUES ('3', 'review', '评论', '评论积分+1，无限制', 'table:member|field:score|condition:uid={$self}|rule:score+1', '', '2', '1', '1383285646');
INSERT INTO `sent_action` VALUES ('4', 'add_document', '发表文档', '积分+10，每天上限5次', 'table:member|field:score|condition:uid={$self}|rule:score+10|cycle:24|max:5', '[user|get_nickname]在[time|time_format]发表了一篇文章。\r\n表[model]，记录编号[record]。', '2', '1', '1386139726');
INSERT INTO `sent_action` VALUES ('5', 'add_document_topic', '发表讨论', '积分+5，每天上限10次', 'table:member|field:score|condition:uid={$self}|rule:score+5|cycle:24|max:10', '', '2', '1', '1383285551');
INSERT INTO `sent_action` VALUES ('6', 'update_config', '更新配置', '新增或修改或删除配置', '', '', '1', '1', '1383294988');
INSERT INTO `sent_action` VALUES ('7', 'update_model', '更新模型', '新增或修改模型', '', '', '1', '1', '1383295057');
INSERT INTO `sent_action` VALUES ('8', 'update_attribute', '更新属性', '新增或更新或删除属性', '', '', '1', '1', '1383295963');
INSERT INTO `sent_action` VALUES ('9', 'update_channel', '更新导航', '新增或修改或删除导航', '', '', '1', '1', '1383296301');
INSERT INTO `sent_action` VALUES ('10', 'update_menu', '更新菜单', '新增或修改或删除菜单', '', '', '1', '1', '1383296392');
INSERT INTO `sent_action` VALUES ('11', 'update_category', '更新分类', '新增或修改或删除分类.', '', '', '1', '1', '1383296765');

-- -----------------------------
-- Table structure for `sent_action_log`
-- -----------------------------
DROP TABLE IF EXISTS `sent_action_log`;
CREATE TABLE `sent_action_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `action_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '行为id',
  `user_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '执行用户id',
  `action_ip` bigint(20) NOT NULL COMMENT '执行行为者ip',
  `model` varchar(50) NOT NULL DEFAULT '' COMMENT '触发行为的表',
  `record_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '触发行为的数据id',
  `remark` varchar(255) NOT NULL DEFAULT '' COMMENT '日志备注',
  `status` tinyint(2) NOT NULL DEFAULT '1' COMMENT '状态',
  `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '执行行为的时间',
  PRIMARY KEY (`id`),
  KEY `action_ip_ix` (`action_ip`),
  KEY `action_id_ix` (`action_id`),
  KEY `user_id_ix` (`user_id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=FIXED COMMENT='行为日志表';


-- -----------------------------
-- Table structure for `sent_ad`
-- -----------------------------
DROP TABLE IF EXISTS `sent_ad`;
CREATE TABLE `sent_ad` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `place_id` int(11) DEFAULT NULL COMMENT '广告位ID',
  `title` varchar(150) DEFAULT NULL COMMENT '广告名称',
  `cover_id` int(11) DEFAULT NULL COMMENT '广告图片',
  `photolist` varchar(20) NOT NULL COMMENT '辅助图片',
  `url` varchar(150) DEFAULT NULL COMMENT '广告链接',
  `listurl` varchar(255) DEFAULT NULL COMMENT '辅助链接',
  `background` varchar(150) DEFAULT NULL COMMENT '广告背景',
  `content` text COMMENT '广告描述',
  `create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  `update_time` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '广告位状态',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 COMMENT='广告表';

-- -----------------------------
-- Records of `sent_ad`
-- -----------------------------
INSERT INTO `sent_ad` VALUES ('1', '1', '电子商务系统设计与开发', '0', '', '', '', '', '<p>我们为客户提供专业的B2C、C2C、B2B、P2P等电子商务平台开发，同时紧扣企业运营，提供个性化的电子商务平台开发和运营管理平台。 </p>', '1440433466', '1440433466', '1');
INSERT INTO `sent_ad` VALUES ('2', '1', '企业网站设计与开发', '0', '', '', '', '', '<p>我们为您提供更加专业的企业网站建设、企业文化提升以及企业形象包装服务，为您量身打造更加适合当前网络时代的需求服务，让您的公司更加贴近客户。</p>', '1440433531', '1440433531', '1');
INSERT INTO `sent_ad` VALUES ('3', '1', 'WEB应用系统设计与开发', '14', '', '', '', '', '<p>我们为您的企业量身打造专业级别的企业OA系统、CRM系统等，为事、企业单位提供更好更高效的无纸化办公平台环境。</p>', '1440433554', '1462966106', '1');
INSERT INTO `sent_ad` VALUES ('4', '1', '手机APP应用设计与开发', '0', '', 'http://www.tensent.cn', '', '', '<p>腾速科技有限公司专注于手机客户端软件开发，是省内移动客户端开发商的先行者，做到行业内领先地位。 </p>', '1440433571', '1459489811', '1');

-- -----------------------------
-- Table structure for `sent_ad_place`
-- -----------------------------
DROP TABLE IF EXISTS `sent_ad_place`;
CREATE TABLE `sent_ad_place` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `title` varchar(150) DEFAULT NULL COMMENT '广告位名称',
  `name` varchar(20) NOT NULL COMMENT '调用名称',
  `show_type` int(11) NOT NULL DEFAULT '5' COMMENT '广告位类型',
  `show_num` int(11) NOT NULL DEFAULT '5' COMMENT '显示条数',
  `start_time` int(11) NOT NULL DEFAULT '0' COMMENT '开始时间',
  `end_time` int(11) NOT NULL DEFAULT '0' COMMENT '结束时间',
  `create_time` int(11) NOT NULL DEFAULT '0' COMMENT '创建时间',
  `update_time` int(11) NOT NULL DEFAULT '0' COMMENT '更新时间',
  `template` varchar(150) DEFAULT NULL COMMENT '广告位模板',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '广告位状态',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='广告位表';

-- -----------------------------
-- Records of `sent_ad_place`
-- -----------------------------
INSERT INTO `sent_ad_place` VALUES ('1', '首页幻灯片', 'banner', '1', '5', '0', '0', '1440433367', '1440433367', '', '1');

-- -----------------------------
-- Table structure for `sent_addons`
-- -----------------------------
DROP TABLE IF EXISTS `sent_addons`;
CREATE TABLE `sent_addons` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `name` varchar(40) NOT NULL COMMENT '插件名或标识',
  `title` varchar(20) NOT NULL DEFAULT '' COMMENT '中文名',
  `description` text COMMENT '插件描述',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '状态',
  `config` text COMMENT '配置',
  `author` varchar(40) DEFAULT '' COMMENT '作者',
  `version` varchar(20) DEFAULT '' COMMENT '版本号',
  `isinstall` int(10) DEFAULT 0 COMMENT '是否安装',
  `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '安装时间',
  `has_adminlist` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否有后台列表',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT='插件表';

-- -----------------------------
-- Records of `sent_addons`
-- -----------------------------
INSERT INTO `sent_addons` VALUES ('1', 'Devteam', '开发团队信息', '开发团队成员信息', '1', '', 'molong', '0.1', 1, '0', '0');
INSERT INTO `sent_addons` VALUES ('2', 'Sitestat', '站点统计信息', '统计站点的基础信息', '1', '', 'thinkphp', '0.2', 1, '0', '0');
INSERT INTO `sent_addons` VALUES ('3', 'Systeminfo', '系统环境信息', '用于显示一些服务器的信息', '1', '', 'molong', '0.1', 1, '0', '0');

-- -----------------------------
-- Table structure for `sent_attachment`
-- -----------------------------
DROP TABLE IF EXISTS `sent_attachment`;
CREATE TABLE `sent_attachment` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '用户ID',
  `title` char(30) NOT NULL DEFAULT '' COMMENT '附件显示名',
  `type` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '附件类型',
  `source` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '资源ID',
  `record_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '关联记录ID',
  `download` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '下载次数',
  `size` bigint(20) unsigned NOT NULL DEFAULT '0' COMMENT '附件大小',
  `dir` int(12) unsigned NOT NULL DEFAULT '0' COMMENT '上级目录ID',
  `sort` int(8) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
  `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  `update_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态',
  PRIMARY KEY (`id`),
  KEY `idx_record_status` (`record_id`,`status`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='附件表';


-- -----------------------------
-- Table structure for `sent_attribute`
-- -----------------------------
DROP TABLE IF EXISTS `sent_attribute`;
CREATE TABLE `sent_attribute` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(30) NOT NULL DEFAULT '' COMMENT '字段名',
  `title` varchar(100) NOT NULL DEFAULT '' COMMENT '字段注释',
  `length` varchar(100) NOT NULL DEFAULT '' COMMENT '字段定义',
  `type` varchar(20) NOT NULL DEFAULT '' COMMENT '数据类型',
  `value` varchar(100) NOT NULL DEFAULT '' COMMENT '字段默认值',
  `remark` varchar(100) NOT NULL DEFAULT '' COMMENT '备注',
  `is_show` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否显示',
  `extra` varchar(255) NOT NULL DEFAULT '' COMMENT '参数',
  `model_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '模型id',
  `is_must` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否必填',
  `status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '状态',
  `update_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  `create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  `validate_rule` varchar(255) NOT NULL DEFAULT '',
  `validate_time` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `error_info` varchar(100) NOT NULL DEFAULT '',
  `validate_type` varchar(25) NOT NULL DEFAULT '',
  `auto_rule` varchar(100) NOT NULL DEFAULT '',
  `auto_time` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `auto_type` varchar(25) NOT NULL DEFAULT '',
  PRIMARY KEY (`id`),
  KEY `model_id` (`model_id`)
) ENGINE=MyISAM AUTO_INCREMENT=55 DEFAULT CHARSET=utf8 COMMENT='模型属性表';

-- -----------------------------
-- Records of `sent_attribute`
-- -----------------------------
INSERT INTO `sent_attribute` VALUES ('1', 'uid', '用户ID', '10', 'num', '0', '', '0', '', '1', '0', '1', '1384508362', '1383891233', '', '0', '', '', '', '0', '');
INSERT INTO `sent_attribute` VALUES ('2', 'name', '标识', '40', 'string', '', '同一根节点下标识不重复', '1', '', '1', '0', '1', '1383894743', '1383891233', '', '0', '', '', '', '0', '');
INSERT INTO `sent_attribute` VALUES ('3', 'title', '标题', '80', 'string', '', '文档标题', '1', '', '1', '0', '1', '1383894778', '1383891233', '', '0', '', '', '', '0', '');
INSERT INTO `sent_attribute` VALUES ('4', 'category_id', '所属分类', '10', 'bind', '', '', '1', 'category', '1', '0', '1', '1384508336', '1383891233', '', '0', '', '', '', '0', '');
INSERT INTO `sent_attribute` VALUES ('5', 'description', '描述', '140', 'textarea', '', '', '1', '', '1', '0', '1', '1383894927', '1383891233', '', '0', '', '', '', '0', '');
INSERT INTO `sent_attribute` VALUES ('8', 'model_id', '内容模型ID', '3', 'num', '0', '该文档所对应的模型', '0', '', '1', '0', '1', '1384508350', '1383891233', '', '0', '', '', '', '0', '');
INSERT INTO `sent_attribute` VALUES ('10', 'position', '推荐位', '5', 'select', '0', '多个推荐则将其推荐值相加', '1', '[DOCUMENT_POSITION]', '1', '0', '1', '1383895640', '1383891233', '', '0', '', '', '', '0', '');
INSERT INTO `sent_attribute` VALUES ('11', 'link_id', '外链', '10', 'num', '0', '0-非外链，大于0-外链ID,需要函数进行链接与编号的转换', '1', '', '1', '0', '1', '1383895757', '1383891233', '', '0', '', '', '', '0', '');
INSERT INTO `sent_attribute` VALUES ('12', 'cover_id', '封面', '10', 'image', '0', '0-无封面，大于0-封面图片ID，需要函数处理', '1', '', '1', '0', '1', '1384147827', '1383891233', '', '0', '', '', '', '0', '');
INSERT INTO `sent_attribute` VALUES ('13', 'display', '可见性', '3', 'bool', '1', '', '1', '0:不可见\r\n1:所有人可见', '1', '0', '1', '1386662271', '1383891233', '', '0', '', 'regex', '', '0', 'function');
INSERT INTO `sent_attribute` VALUES ('14', 'deadline', '截至时间', '10', 'datetime', '0', '0-永久有效', '1', '', '1', '0', '1', '1387163248', '1383891233', '', '0', '', 'regex', '', '0', 'function');
INSERT INTO `sent_attribute` VALUES ('15', 'attach', '附件数量', '3', 'num', '0', '', '0', '', '1', '0', '1', '1387260355', '1383891233', '', '0', '', 'regex', '', '0', 'function');
INSERT INTO `sent_attribute` VALUES ('16', 'view', '浏览量', '10', 'num', '0', '', '1', '', '1', '0', '1', '1383895835', '1383891233', '', '0', '', '', '', '0', '');
INSERT INTO `sent_attribute` VALUES ('17', 'comment', '评论数', '10', 'num', '0', '', '1', '', '1', '0', '1', '1383895846', '1383891233', '', '0', '', '', '', '0', '');
INSERT INTO `sent_attribute` VALUES ('18', 'extend', '扩展统计字段', '10', 'num', '0', '根据需求自行使用', '0', '', '1', '0', '1', '1384508264', '1383891233', '', '0', '', '', '', '0', '');
INSERT INTO `sent_attribute` VALUES ('19', 'level', '优先级', '10', 'num', '0', '越高排序越靠前', '1', '', '1', '0', '1', '1453278679', '1383891233', '', '0', '', '0', '', '0', '0');
INSERT INTO `sent_attribute` VALUES ('20', 'create_time', '创建时间', '10', 'datetime', '0', '', '1', '', '1', '0', '1', '1383895903', '1383891233', '', '0', '', '', '', '0', '');
INSERT INTO `sent_attribute` VALUES ('21', 'update_time', '更新时间', '10', 'text', '0', '', '0', '', '1', '0', '1', '1453278665', '1383891233', '', '0', '', '0', '', '0', '0');
INSERT INTO `sent_attribute` VALUES ('22', 'status', '数据状态', '4', 'select', '1', '', '0', '-1:删除\r\n0:禁用\r\n1:正常\r\n2:待审核\r\n3:草稿', '1', '0', '1', '1453278660', '1383891233', '', '0', '', '0', '', '0', '0');
INSERT INTO `sent_attribute` VALUES ('24', 'content', '内容', '', 'editor', '', '', '1', '', '2', '0', '1', '1453859207', '1453859207', '', '0', '', '0', '', '0', '0');
INSERT INTO `sent_attribute` VALUES ('25', 'tags', '标签', '20', 'tags', '', '', '1', '', '2', '0', '1', '1453881165', '1453881107', '', '0', '', '0', '', '0', '0');
INSERT INTO `sent_attribute` VALUES ('26', 'photo_list', '图片列表', '50', 'images', '', '', '1', '', '3', '0', '1', '1454052339', '1454052339', '', '0', '', '0', '', '0', '0');
INSERT INTO `sent_attribute` VALUES ('27', 'content', '内容', '', 'editor', '', '', '1', '', '3', '0', '1', '1454052355', '1454052355', '', '0', '', '0', '', '0', '0');
INSERT INTO `sent_attribute` VALUES ('28', 'title', '标题', '200', 'text', '', '', '1', '', '4', '0', '0', '0', '0', '', '0', '', '0', '', '0', '0');
INSERT INTO `sent_attribute` VALUES ('29', 'model_id', '模型ID', '11', 'num', '', '', '0', '', '4', '1', '0', '0', '0', '', '0', '', '0', '', '0', '0');
INSERT INTO `sent_attribute` VALUES ('30', 'cover_id', '封面', '11', 'image', '0', '', '1', '', '4', '0', '0', '0', '0', '', '0', '', '0', '', '0', '0');
INSERT INTO `sent_attribute` VALUES ('31', 'content', '内容', '', 'editor', '', '', '1', '', '4', '0', '0', '0', '0', '', '0', '', '0', '', '0', '0');
INSERT INTO `sent_attribute` VALUES ('32', 'create_time', '创建时间', '11', 'datetime', '', '', '1', '', '4', '0', '0', '0', '0', '', '0', '', '0', '', '0', '0');
INSERT INTO `sent_attribute` VALUES ('33', 'update_time', '更新时间', '11', 'datetime', '', '', '1', '', '4', '0', '0', '0', '0', '', '0', '', '0', '', '0', '0');
INSERT INTO `sent_attribute` VALUES ('34', 'is_top', '是否置顶', '1', 'bool', '0', '', '1', '0:否\r\n1:是', '1', '0', '0', '1466041260', '1466041226', '', '0', '', '0', '', '0', '0');

-- -----------------------------
-- Table structure for `sent_auth_extend`
-- -----------------------------
DROP TABLE IF EXISTS `sent_auth_extend`;
CREATE TABLE `sent_auth_extend` (
  `group_id` mediumint(10) unsigned NOT NULL COMMENT '用户id',
  `extend_id` mediumint(8) unsigned NOT NULL COMMENT '扩展表中数据的id',
  `type` tinyint(1) unsigned NOT NULL COMMENT '扩展类型标识 1:栏目分类权限;2:模型权限',
  UNIQUE KEY `group_extend_type` (`group_id`,`extend_id`,`type`),
  KEY `uid` (`group_id`),
  KEY `group_id` (`extend_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='用户组与分类的对应关系表';


-- -----------------------------
-- Table structure for `sent_auth_group`
-- -----------------------------
DROP TABLE IF EXISTS `sent_auth_group`;
CREATE TABLE `sent_auth_group` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '用户组id,自增主键',
  `module` varchar(20) NOT NULL DEFAULT '' COMMENT '用户组所属模块',
  `type` varchar(10) NOT NULL DEFAULT '' COMMENT '组类型',
  `title` char(20) NOT NULL DEFAULT '' COMMENT '用户组中文名称',
  `description` varchar(80) NOT NULL DEFAULT '' COMMENT '描述信息',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '用户组状态：为1正常，为0禁用,-1为删除',
  `rules` varchar(500) NOT NULL DEFAULT '' COMMENT '用户组拥有的规则id，多个规则 , 隔开',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;

-- -----------------------------
-- Records of `sent_auth_group`
-- -----------------------------
INSERT INTO `sent_auth_group` VALUES ('1', 'admin', '1', '网站编辑', '网站编辑，针对内容进行管理', '1', '2,1');
INSERT INTO `sent_auth_group` VALUES ('2', 'admin', '1', '网站运营', '针对网站SEO进行管理', '1', '21,20,14,12,3,19,18,17,16,15,13,1');

-- -----------------------------
-- Table structure for `sent_auth_group_access`
-- -----------------------------
DROP TABLE IF EXISTS `sent_auth_group_access`;
CREATE TABLE `sent_auth_group_access` (
  `uid` int(10) unsigned NOT NULL COMMENT '用户id',
  `group_id` mediumint(8) unsigned NOT NULL COMMENT '用户组id',
  UNIQUE KEY `uid_group_id` (`uid`,`group_id`),
  KEY `uid` (`uid`),
  KEY `group_id` (`group_id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- -----------------------------
-- Records of `sent_auth_group_access`
-- -----------------------------
INSERT INTO `sent_auth_group_access` VALUES ('1', '2');
INSERT INTO `sent_auth_group_access` VALUES ('14', '2');

-- -----------------------------
-- Table structure for `sent_auth_rule`
-- -----------------------------
DROP TABLE IF EXISTS `sent_auth_rule`;
CREATE TABLE `sent_auth_rule` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '规则id,自增主键',
  `module` varchar(20) NOT NULL COMMENT '规则所属module',
  `type` tinyint(2) NOT NULL DEFAULT '1' COMMENT '1-url;2-主菜单',
  `name` char(80) NOT NULL DEFAULT '' COMMENT '规则唯一英文标识',
  `title` char(20) NOT NULL DEFAULT '' COMMENT '规则中文描述',
  `group` char(20) NOT NULL DEFAULT '' COMMENT '权限节点分组',
  `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否有效(0:无效,1:有效)',
  `condition` varchar(300) NOT NULL DEFAULT '' COMMENT '规则附加条件',
  PRIMARY KEY (`id`),
  KEY `module` (`module`,`status`,`type`)
) ENGINE=MyISAM AUTO_INCREMENT=34 DEFAULT CHARSET=utf8;

-- -----------------------------
-- Records of `sent_auth_rule`
-- -----------------------------
INSERT INTO `sent_auth_rule` VALUES ('1', 'admin', '2', 'admin/index/index', '后台首页', '首页管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('2', 'admin', '2', 'admin/form/index', '自定义表单', '运营管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('3', 'admin', '2', 'admin/addons/hooks', '钩子列表', '扩展管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('4', 'admin', '2', 'admin/addons/index', '插件列表', '扩展管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('5', 'admin', '2', 'admin/ad/index', '广告管理', '运营管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('6', 'admin', '2', 'admin/link/index', '友链管理', '运营管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('7', 'admin', '2', 'admin/action/log', '行为日志', '会员管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('8', 'admin', '2', 'admin/action/index', '行为列表', '会员管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('9', 'admin', '2', 'admin/group/access', '权限列表', '会员管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('10', 'admin', '2', 'admin/group/index', '用户组表', '会员管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('11', 'admin', '2', 'admin/user/index', '用户列表', '会员管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('12', 'admin', '2', 'admin/model/index', '模型管理', '内容管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('13', 'admin', '2', 'admin/category/index', '栏目管理', '内容管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('14', 'admin', '2', 'admin/seo/index', 'SEO设置', '系统管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('15', 'admin', '2', 'admin/database/index?type=import', '数据恢复', '系统管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('16', 'admin', '2', 'admin/database/index?type=export', '数据备份', '系统管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('17', 'admin', '2', 'admin/channel/index', '导航管理', '系统管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('18', 'admin', '2', 'admin/menu/index', '菜单管理', '系统管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('19', 'admin', '2', 'admin/config/group', '配置管理', '系统管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('20', 'admin', '2', 'admin/index/clear', '更新缓存', '首页管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('21', 'admin', '1', 'admin/config/add', '配置添加', '系统管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('22', 'admin', '2', 'admin/content/index', '内容列表', '内容管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('23', 'admin', '2', 'admin/content/add', '内容添加', '内容管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('24', 'admin', '1', 'admin/content/edit', '内容编辑', '内容管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('25', 'admin', '1', 'admin/content/del', '内容删除', '内容管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('26', 'admin', '1', 'admin/content/status', '内容设置状态', '内容管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('27', 'admin', '1', 'admin/category/add', '栏目添加', '内容管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('28', 'admin', '1', 'admin/category/edit', '栏目编辑', '内容管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('29', 'admin', '1', 'admin/category/editable', '栏目单字编辑', '内容管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('30', 'admin', '1', 'admin/category/remove', '栏目删除', '内容管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('31', 'admin', '1', 'admin/category/merge', '栏目合并', '内容管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('32', 'admin', '1', 'admin/category/move', '栏目移动', '内容管理', '1', '');
INSERT INTO `sent_auth_rule` VALUES ('33', 'admin', '1', 'admin/category/status', '栏目状态', '内容管理', '1', '');

-- -----------------------------
-- Table structure for `sent_category`
-- -----------------------------
DROP TABLE IF EXISTS `sent_category`;
CREATE TABLE `sent_category` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '分类ID',
  `name` varchar(30) NOT NULL COMMENT '标志',
  `title` varchar(50) NOT NULL COMMENT '标题',
  `pid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '上级分类ID',
  `sort` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '排序（同级有效）',
  `list_row` tinyint(3) unsigned NOT NULL DEFAULT '10' COMMENT '列表每页行数',
  `meta_title` varchar(50) NOT NULL DEFAULT '' COMMENT 'SEO的网页标题',
  `keywords` varchar(255) NOT NULL DEFAULT '' COMMENT '关键字',
  `description` varchar(255) NOT NULL DEFAULT '' COMMENT '描述',
  `template_index` varchar(100) NOT NULL DEFAULT '' COMMENT '频道页模板',
  `template_lists` varchar(100) NOT NULL DEFAULT '' COMMENT '列表页模板',
  `template_detail` varchar(100) NOT NULL DEFAULT '' COMMENT '详情页模板',
  `template_edit` varchar(100) NOT NULL DEFAULT '' COMMENT '编辑页模板',
  `model` varchar(100) NOT NULL DEFAULT '' COMMENT '列表绑定模型',
  `model_sub` varchar(100) NOT NULL DEFAULT '' COMMENT '子文档绑定模型',
  `type` varchar(100) NOT NULL DEFAULT '' COMMENT '允许发布的内容类型',
  `link_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '外链',
  `allow_publish` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否允许发布内容',
  `display` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '可见性',
  `reply` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '是否允许回复',
  `check` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '发布的文章是否需要审核',
  `reply_model` varchar(100) NOT NULL DEFAULT '',
  `extend` text COMMENT '扩展设置',
  `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '数据状态',
  `icon` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '分类图标',
  `groups` varchar(255) NOT NULL DEFAULT '' COMMENT '分组定义',
  PRIMARY KEY (`id`),
  KEY `pid` (`pid`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='分类表';

-- -----------------------------
-- Records of `sent_category`
-- -----------------------------
INSERT INTO `sent_category` VALUES ('1', 'news', '新闻动态', '0', '0', '10', '', '', '', '', '', '', '', '', '2', '2,1', '0', '0', '1', '0', '0', '1', 'null', '1379474947', '1463561497', '1', '0', '');
INSERT INTO `sent_category` VALUES ('2', 'company_news', '国内新闻', '1', '1', '10', '', '', '', '', '', '', '', '2,3', '2', '2,1,3', '0', '1', '1', '0', '1', '1', '', '1379475028', '1386839751', '1', '0', '');
INSERT INTO `sent_category` VALUES ('3', '', '国外新闻', '1', '2', '10', '', '', '', '', '', '', '', '', '', '', '0', '1', '1', '0', '0', '', '', '0', '0', '1', '0', '');

-- -----------------------------
-- Table structure for `sent_channel`
-- -----------------------------
DROP TABLE IF EXISTS `sent_channel`;
CREATE TABLE `sent_channel` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '频道ID',
  `pid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '上级频道ID',
  `title` char(30) NOT NULL COMMENT '频道标题',
  `url` char(100) NOT NULL COMMENT '频道连接',
  `sort` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '导航排序',
  `icon` varchar(20) DEFAULT NULL COMMENT '图标',
  `color` varchar(20) DEFAULT NULL COMMENT '导航颜色',
  `band_color` varchar(20) DEFAULT NULL COMMENT '标识点颜色',
  `band_text` varchar(30) DEFAULT NULL COMMENT '标志点文字',
  `active` char(100) NOT NULL DEFAULT '' COMMENT '当前链接',
  `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态',
  `target` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '新窗口打开',
  PRIMARY KEY (`id`),
  KEY `pid` (`pid`)
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;

-- -----------------------------
-- Records of `sent_channel`
-- -----------------------------
INSERT INTO `sent_channel` VALUES ('1', '0', '网站首页', 'index/index/index', '1', 'home', '', '', '', 'home', '1379475111', '1464490544', '1', '0');

-- -----------------------------
-- Table structure for `sent_config`
-- -----------------------------
DROP TABLE IF EXISTS `sent_config`;
CREATE TABLE `sent_config` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '配置ID',
  `name` varchar(30) NOT NULL DEFAULT '' COMMENT '配置名称',
  `type` varchar(10) NOT NULL DEFAULT 'text' COMMENT '配置类型',
  `title` varchar(50) NOT NULL DEFAULT '' COMMENT '配置说明',
  `group` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '配置分组',
  `extra` varchar(255) NOT NULL DEFAULT '' COMMENT '配置值',
  `remark` varchar(100) NOT NULL DEFAULT '' COMMENT '配置说明',
  `icon` varchar(50) NOT NULL DEFAULT '' COMMENT '小图标',
  `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态',
  `value` text COMMENT '配置值',
  `sort` smallint(3) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
  PRIMARY KEY (`id`),
  KEY `type` (`type`),
  KEY `group` (`group`)
) ENGINE=MyISAM AUTO_INCREMENT=41 DEFAULT CHARSET=utf8;

-- -----------------------------
-- Records of `sent_config`
-- -----------------------------
INSERT INTO `sent_config` VALUES ('1', 'config_group_list', 'textarea', '配置分组', '99', '', '', '', '1447305542', '1452323143', '1', '1:基本\r\n2:会员\r\n3:邮件\r\n4:微信\r\n99:系统', '0');
INSERT INTO `sent_config` VALUES ('2', 'hooks_type', 'textarea', '钩子的类型', '99', '', '类型 1-用于扩展显示内容，2-用于扩展业务处理', '', '1379313397', '1379313407', '1', '1:视图\r\n2:控制器', '6');
INSERT INTO `sent_config` VALUES ('3', 'auth_config', 'textarea', 'Auth配置', '99', '', '自定义Auth.class.php类配置', '', '1379409310', '1379409564', '1', 'AUTH_ON:1\r\nAUTH_TYPE:2', '8');
INSERT INTO `sent_config` VALUES ('5', 'data_backup_path', 'text', '数据库备份根路径', '99', '', '路径必须以 / 结尾', '', '1381482411', '1381482411', '1', './data/backup/', '5');
INSERT INTO `sent_config` VALUES ('6', 'data_backup_part_size', 'text', '数据库备份卷大小', '99', '', '该值用于限制压缩后的分卷最大长度。单位：B；建议设置20M', '', '1381482488', '1381729564', '1', '20971520', '7');
INSERT INTO `sent_config` VALUES ('7', 'data_backup_compress', 'bool', '数据库备份文件是否启用压缩', '99', '0:不压缩\r\n1:启用压缩', '压缩备份文件需要PHP环境支持gzopen,gzwrite函数', '', '1381713345', '1447306018', '1', '1', '9');
INSERT INTO `sent_config` VALUES ('8', 'data_backup_compress_level', 'select', '数据库备份文件压缩级别', '99', '1:普通\r\n4:一般\r\n9:最高', '数据库备份文件的压缩级别，该配置在开启压缩时生效', '', '1381713408', '1447305979', '1', '9', '10');
INSERT INTO `sent_config` VALUES ('9', 'develop_mode', 'bool', '开启开发者模式', '99', '0:关闭\r\n1:开启', '是否开启开发者模式', '', '1383105995', '1447305960', '1', '1', '11');
INSERT INTO `sent_config` VALUES ('10', 'allow_visit', 'textarea', '不受限控制器方法', '99', '', '', '', '1386644047', '1438075615', '1', '0:article/draftbox\r\n1:article/mydocument\r\n2:Category/tree\r\n3:Index/verify\r\n4:file/upload\r\n5:file/download\r\n6:user/updatePassword\r\n7:user/updateNickname\r\n8:user/submitPassword\r\n9:user/submitNickname\r\n10:file/uploadpicture', '0');
INSERT INTO `sent_config` VALUES ('11', 'deny_visit', 'textarea', '超管专限控制器方法', '99', '', '仅超级管理员可访问的控制器方法', '', '1386644141', '1438075628', '1', '0:Addons/addhook\r\n1:Addons/edithook\r\n2:Addons/delhook\r\n3:Addons/updateHook\r\n4:Admin/getMenus\r\n5:Admin/recordList\r\n6:AuthManager/updateRules\r\n7:AuthManager/tree', '0');
INSERT INTO `sent_config` VALUES ('12', 'admin_allow_ip', 'text', '后台允许访问IP', '99', '', '多个用逗号分隔，如果不配置表示不限制IP访问', '', '1387165454', '1452307198', '1', '', '12');
INSERT INTO `sent_config` VALUES ('13', 'show_page_trace', 'bool', '是否显示页面Trace', '99', '0:关闭\r\n1:开启', '是否显示页面Trace信息', '', '1387165685', '1447306056', '1', '0', '1');
INSERT INTO `sent_config` VALUES ('14', 'web_site_title', 'text', '网站标题', '1', '', '网站标题前台显示标题', '', '1378898976', '1379235274', '1', 'SentCMS网站管理系统', '0');
INSERT INTO `sent_config` VALUES ('15', 'web_site_url', 'text', '网站URL', '1', '', '网站网址', '', '1378898976', '1379235274', '1', 'http://www.tensent.cn', '1');
INSERT INTO `sent_config` VALUES ('16', 'web_site_description', 'textarea', '网站描述', '1', '', '网站搜索引擎描述', '', '1378898976', '1379235841', '1', 'SentCMS网站管理系统', '3');
INSERT INTO `sent_config` VALUES ('17', 'web_site_keyword', 'textarea', '网站关键字', '1', '', '网站搜索引擎关键字', '', '1378898976', '1381390100', '1', 'SentCMS网站管理系统,SentCMS', '6');
INSERT INTO `sent_config` VALUES ('18', 'web_site_close', 'bool', '关闭站点', '1', '0:否,1:是', '站点关闭后其他用户不能访问，管理员可以正常访问', '', '1378898976', '1447321395', '1', '0', '4');
INSERT INTO `sent_config` VALUES ('19', 'web_site_icp', 'text', '网站备案号', '1', '', '设置在网站底部显示的备案号，如“赣ICP备13006622号', '', '1378900335', '1379235859', '1', '赣ICP备13006622号', '7');
INSERT INTO `sent_config` VALUES ('20', 'open_mobile_site', 'bool', '开启手机站', '1', '0:关闭\r\n1:开启', '', '', '1440901307', '1440901543', '1', '0', '4');
INSERT INTO `sent_config` VALUES ('21', 'list_rows', 'num', '列表条数', '99', '', '', '', '1448937662', '1448937662', '1', '20', '10');
INSERT INTO `sent_config` VALUES ('22', 'user_allow_register', 'bool', '是否可注册', '2', '1:是\r\n0:否', '', '', '1449043544', '1449043586', '1', '1', '0');
INSERT INTO `sent_config` VALUES ('23', 'user_group_type', 'textarea', '会员分组类别', '2', '', '', '', '1449196835', '1449196835', '1', 'admin:系统管理员\r\nfront:会员等级', '1');
INSERT INTO `sent_config` VALUES ('24', 'config_type_list', 'textarea', '字段类型', '99', '', '', '', '1459136529', '1459136529', '1', 'text:单行文本:varchar\r\nstring:字符串:int\r\npassword:密码:[REDACTED]文本框:text\r\nbool:布尔型:int\r\nselect:选择:varchar\r\nnum:数字:int\r\ndecimal:金额:decimal\r\ntags:标签:varchar\r\ndatetime:时间控件:int\r\ndate:日期控件:varchar\r\neditor:编辑器:text\r\nbind:模型绑定:int\r\nimage:图片上传:int\r\nimages:多图上传:varchar\r\nattach:文件上传:varchar', '0');
INSERT INTO `sent_config` VALUES ('25', 'document_position', 'textarea', '文档推荐位', '99', '', '', '', '1453449698', '1453449698', '1', '1:首页推荐\r\n2:列表推荐', '0');
INSERT INTO `sent_config` VALUES ('26', 'mail_host', 'text', 'smtp服务器的名称', '3', '', 'smtp服务器的名称', '', '1455690530', '1455690556', '1', 'smtp.163.com', '0');
INSERT INTO `sent_config` VALUES ('27', 'mail_smtpauth', 'select', '启用smtp认证', '3', '0:否,1:是', '启用smtp认证', '', '1455690641', '1455690689', '1', '1', '0');
INSERT INTO `sent_config` VALUES ('28', 'mail_username', 'text', '邮件发送用户名', '3', '', '邮件发送用户名', '', '1455690771', '1455690771', '1', '你的邮箱账号', '0');
INSERT INTO `sent_config` VALUES ('29', 'mail_password', 'text', '邮箱密码', '3', '', '邮箱密码，如果是qq邮箱，则填安全密码', '', '1455690802', '1455690802', '1', '你的邮箱密码', '0');
INSERT INTO `sent_config` VALUES ('30', 'mail_fromname', 'text', '发件人姓名', '3', '', '发件人姓名', '', '1455690838', '1455690838', '1', '发件人姓名', '0');
INSERT INTO `sent_config` VALUES ('31', 'mail_ishtml', 'select', '是否HTML格式邮件', '3', '0:否,1:是', '是否HTML格式邮件', '', '1455690888', '1455690888', '1', '1', '0');
INSERT INTO `sent_config` VALUES ('32', 'mail_charset', 'text', '邮件编码', '3', '', '设置发送邮件的编码', '', '1455690920', '1455690920', '1', 'UTF8', '0');
INSERT INTO `sent_config` VALUES ('33', 'wechat_name', 'text', '微信名称', '4', '', '填写微信名称', '', '1459136529', '1461898406', '1', '', '0');

-- -----------------------------
-- Table structure for `sent_district`
-- -----------------------------
DROP TABLE IF EXISTS `sent_district`;
CREATE TABLE `sent_district` (
  `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL DEFAULT '',
  `level` tinyint(4) unsigned NOT NULL DEFAULT '0',
  `upid` mediumint(8) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=45052 DEFAULT CHARSET=utf8 COMMENT='中国省市区乡镇数据表';

-- -----------------------------
-- Records of `sent_district`
-- -----------------------------
INSERT INTO `sent_district` VALUES ('1', '北京市', '1', '0');
INSERT INTO `sent_district` VALUES ('2', '天津市', '1', '0');
INSERT INTO `sent_district` VALUES ('3', '河北省', '1', '0');
INSERT INTO `sent_district` VALUES ('4', '山西省', '1', '0');
INSERT INTO `sent_district` VALUES ('5', '内蒙古自治区', '1', '0');
INSERT INTO `sent_district` VALUES ('6', '辽宁省', '1', '0');
INSERT INTO `sent_district` VALUES ('7', '吉林省', '1', '0');
INSERT INTO `sent_district` VALUES ('8', '黑龙江省', '1', '0');
INSERT INTO `sent_district` VALUES ('9', '上海市', '1', '0');
INSERT INTO `sent_district` VALUES ('10', '江苏省', '1', '0');
INSERT INTO `sent_district` VALUES ('11', '浙江省', '1', '0');
INSERT INTO `sent_district` VALUES ('12', '安徽省', '1', '0');
INSERT INTO `sent_district` VALUES ('13', '福建省', '1', '0');
INSERT INTO `sent_district` VALUES ('14', '江西省', '1', '0');
INSERT INTO `sent_district` VALUES ('15', '山东省', '1', '0');
INSERT INTO `sent_district` VALUES ('16', '河南省', '1', '0');
INSERT INTO `sent_district` VALUES ('17', '湖北省', '1', '0');
INSERT INTO `sent_district` VALUES ('18', '湖南省', '1', '0');
INSERT INTO `sent_district` VALUES ('19', '广东省', '1', '0');
INSERT INTO `sent_district` VALUES ('20', '广西壮族自治区', '1', '0');
INSERT INTO `sent_district` VALUES ('21', '海南省', '1', '0');
INSERT INTO `sent_district` VALUES ('22', '重庆市', '1', '0');
INSERT INTO `sent_district` VALUES ('23', '四川省', '1', '0');
INSERT INTO `sent_district` VALUES ('24', '贵州省', '1', '0');
INSERT INTO `sent_district` VALUES ('25', '云南省', '1', '0');
INSERT INTO `sent_district` VALUES ('26', '西藏自治区', '1', '0');
INSERT INTO `sent_district` VALUES ('27', '陕西省', '1', '0');
INSERT INTO `sent_district` VALUES ('28', '甘肃省', '1', '0');
INSERT INTO `sent_district` VALUES ('29', '青海省', '1', '0');
INSERT INTO `sent_district` VALUES ('30', '宁夏回族自治区', '1', '0');
INSERT INTO `sent_district` VALUES ('31', '新疆维吾尔自治区', '1', '0');
INSERT INTO `sent_district` VALUES ('32', '台湾省', '1', '0');
INSERT INTO `sent_district` VALUES ('33', '香港特别行政区', '1', '0');
INSERT INTO `sent_district` VALUES ('34', '澳门特别行政区', '1', '0');
INSERT INTO `sent_district` VALUES ('35', '海外', '1', '0');
INSERT INTO `sent_district` VALUES ('36', '其他', '1', '0');
INSERT INTO `sent_district` VALUES ('37', '东城区', '2', '1');
INSERT INTO `sent_district` VALUES ('38', '西城区', '2', '1');
INSERT INTO `sent_district` VALUES ('39', '崇文区', '2', '1');
INSERT INTO `sent_district` VALUES ('40', '宣武区', '2', '1');
INSERT INTO `sent_district` VALUES ('41', '朝阳区', '2', '1');
INSERT INTO `sent_district` VALUES ('42', '丰台区', '2', '1');
INSERT INTO `sent_district` VALUES ('43', '石景山区', '2', '1');
INSERT INTO `sent_district` VALUES ('44', '海淀区', '2', '1');
INSERT INTO `sent_district` VALUES ('45', '门头沟区', '2', '1');
INSERT INTO `sent_district` VALUES ('46', '房山区', '2', '1');
INSERT INTO `sent_district` VALUES ('47', '通州区', '2', '1');
INSERT INTO `sent_district` VALUES ('48', '顺义区', '2', '1');
INSERT INTO `sent_district` VALUES ('49', '昌平区', '2', '1');
INSERT INTO `sent_district` VALUES ('50', '大兴区', '2', '1');
INSERT INTO `sent_district` VALUES ('51', '怀柔区', '2', '1');
INSERT INTO `sent_district` VALUES ('52', '平谷区', '2', '1');
INSERT INTO `sent_district` VALUES ('53', '密云县', '2', '1');
INSERT INTO `sent_district` VALUES ('54', '延庆县', '2', '1');
INSERT INTO `sent_district` VALUES ('55', '和平区', '2', '2');
INSERT INTO `sent_district` VALUES ('56', '河东区', '2', '2');
INSERT INTO `sent_district` VALUES ('57', '河西区', '2', '2');
INSERT INTO `sent_district` VALUES ('58', '南开区', '2', '2');
INSERT INTO `sent_district` VALUES ('59', '河北区', '2', '2');
INSERT INTO `sent_district` VALUES ('60', '红桥区', '2', '2');
INSERT INTO `sent_district` VALUES ('61', '塘沽区', '2', '2');
INSERT INTO `sent_district` VALUES ('62', '汉沽区', '2', '2');
INSERT INTO `sent_district` VALUES ('63', '大港区', '2', '2');
INSERT INTO `sent_district` VALUES ('64', '东丽区', '2', '2');
INSERT INTO `sent_district` VALUES ('65', '西青区', '2', '2');
INSERT INTO `sent_district` VALUES ('66', '津南区', '2', '2');
INSERT INTO `sent_district` VALUES ('67', '北辰区', '2', '2');
INSERT INTO `sent_district` VALUES ('68', '武清区', '2', '2');
INSERT INTO `sent_district` VALUES ('69', '宝坻区', '2', '2');
INSERT INTO `sent_district` VALUES ('70', '宁河县', '2', '2');
INSERT INTO `sent_district` VALUES ('71', '静海县', '2', '2');
INSERT INTO `sent_district` VALUES ('72', '蓟县', '2', '2');
INSERT INTO `sent_district` VALUES ('73', '石家庄市', '2', '3');
INSERT INTO `sent_district` VALUES ('74', '唐山市', '2', '3');
INSERT INTO `sent_district` VALUES ('75', '秦皇岛市', '2', '3');
INSERT INTO `sent_district` VALUES ('76', '邯郸市', '2', '3');
INSERT INTO `sent_district` VALUES ('77', '邢台市', '2', '3');
INSERT INTO `sent_district` VALUES ('78', '保定市', '2', '3');
INSERT INTO `sent_district` VALUES ('79', '张家口市', '2', '3');
INSERT INTO `sent_district` VALUES ('80', '承德市', '2', '3');
INSERT INTO `sent_district` VALUES ('81', '衡水市', '2', '3');
INSERT INTO `sent_district` VALUES ('82', '廊坊市', '2', '3');
INSERT INTO `sent_district` VALUES ('83', '沧州市', '2', '3');
INSERT INTO `sent_district` VALUES ('84', '太原市', '2', '4');
INSERT INTO `sent_district` VALUES ('85', '大同市', '2', '4');
INSERT INTO `sent_district` VALUES ('86', '阳泉市', '2', '4');
INSERT INTO `sent_district` VALUES ('87', '长治市', '2', '4');
INSERT INTO `sent_district` VALUES ('88', '晋城市', '2', '4');
INSERT INTO `sent_district` VALUES ('89', '朔州市', '2', '4');
INSERT INTO `sent_district` VALUES ('90', '晋中市', '2', '4');
INSERT INTO `sent_district` VALUES ('91', '运城市', '2', '4');
INSERT INTO `sent_district` VALUES ('92', '忻州市', '2', '4');
INSERT INTO `sent_district` VALUES ('93', '临汾市', '2', '4');
INSERT INTO `sent_district` VALUES ('94', '吕梁市', '2', '4');
INSERT INTO `sent_district` VALUES ('95', '呼和浩特市', '2', '5');
INSERT INTO `sent_district` VALUES ('96', '包头市', '2', '5');
INSERT INTO `sent_district` VALUES ('97', '乌海市', '2', '5');
INSERT INTO `sent_district` VALUES ('98', '赤峰市', '2', '5');
INSERT INTO `sent_district` VALUES ('99', '通辽市', '2', '5');
INSERT INTO `sent_district` VALUES ('100', '鄂尔多斯市', '2', '5');
INSERT INTO `sent_district` VALUES ('101', '呼伦贝尔市', '2', '5');
INSERT INTO `sent_district` VALUES ('102', '巴彦淖尔市', '2', '5');
INSERT INTO `sent_district` VALUES ('103', '乌兰察布市', '2', '5');
INSERT INTO `sent_district` VALUES ('104', '兴安盟', '2', '5');
INSERT INTO `sent_district` VALUES ('105', '锡林郭勒盟', '2', '5');
INSERT INTO `sent_district` VALUES ('106', '阿拉善盟', '2', '5');
INSERT INTO `sent_district` VALUES ('107', '沈阳市', '2', '6');
INSERT INTO `sent_district` VALUES ('108', '大连市', '2', '6');
INSERT INTO `sent_district` VALUES ('109', '鞍山市', '2', '6');
INSERT INTO `sent_district` VALUES ('110', '抚顺市', '2', '6');
INSERT INTO `sent_district` VALUES ('111', '本溪市', '2', '6');
INSERT INTO `sent_district` VALUES ('112', '丹东市', '2', '6');
INSERT INTO `sent_district` VALUES ('113', '锦州市', '2', '6');
INSERT INTO `sent_district` VALUES ('114', '营口市', '2', '6');
INSERT INTO `sent_district` VALUES ('115', '阜新市', '2', '6');
INSERT INTO `sent_district` VALUES ('116', '辽阳市', '2', '6');
INSERT INTO `sent_district` VALUES ('117', '盘锦市', '2', '6');
INSERT INTO `sent_district` VALUES ('118', '铁岭市', '2', '6');
INSERT INTO `sent_district` VALUES ('119', '朝阳市', '2', '6');
INSERT INTO `sent_district` VALUES ('120', '葫芦岛市', '2', '6');
INSERT INTO `sent_district` VALUES ('121', '长春市', '2', '7');
INSERT INTO `sent_district` VALUES ('122', '吉林市', '2', '7');
INSERT INTO `sent_district` VALUES ('123', '四平市', '2', '7');
INSERT INTO `sent_district` VALUES ('124', '辽源市', '2', '7');
INSERT INTO `sent_district` VALUES ('125', '通化市', '2', '7');
INSERT INTO `sent_district` VALUES ('126', '白山市', '2', '7');
INSERT INTO `sent_district` VALUES ('127', '松原市', '2', '7');
INSERT INTO `sent_district` VALUES ('128', '白城市', '2', '7');
INSERT INTO `sent_district` VALUES ('129', '延边朝鲜族自治州', '2', '7');
INSERT INTO `sent_district` VALUES ('130', '哈尔滨市', '2', '8');
INSERT INTO `sent_district` VALUES ('131', '齐齐哈尔市', '2', '8');
INSERT INTO `sent_district` VALUES ('132', '鸡西市', '2', '8');
INSERT INTO `sent_district` VALUES ('133', '鹤岗市', '2', '8');
INSERT INTO `sent_district` VALUES ('134', '双鸭山市', '2', '8');
INSERT INTO `sent_district` VALUES ('135', '大庆市', '2', '8');
INSERT INTO `sent_district` VALUES ('136', '伊春市', '2', '8');
INSERT INTO `sent_district` VALUES ('137', '佳木斯市', '2', '8');
INSERT INTO `sent_district` VALUES ('138', '七台河市', '2', '8');
INSERT INTO `sent_district` VALUES ('139', '牡丹江市', '2', '8');
INSERT INTO `sent_district` VALUES ('140', '黑河市', '2', '8');
INSERT INTO `sent_district` VALUES ('141', '绥化市', '2', '8');
INSERT INTO `sent_district` VALUES ('142', '大兴安岭地区', '2', '8');
INSERT INTO `sent_district` VALUES ('143', '黄浦区', '2', '9');
INSERT INTO `sent_district` VALUES ('144', '卢湾区', '2', '9');
INSERT INTO `sent_district` VALUES ('145', '徐汇区', '2', '9');
INSERT INTO `sent_district` VALUES ('146', '长宁区', '2', '9');
INSERT INTO `sent_district` VALUES ('147', '静安区', '2', '9');
INSERT INTO `sent_district` VALUES ('148', '普陀区', '2', '9');
INSERT INTO `sent_district` VALUES ('149', '闸北区', '2', '9');
INSERT INTO `sent_district` VALUES ('150', '虹口区', '2', '9');
INSERT INTO `sent_district` VALUES ('151', '杨浦区', '2', '9');
INSERT INTO `sent_district` VALUES ('152', '闵行区', '2', '9');
INSERT INTO `sent_district` VALUES ('153', '宝山区', '2', '9');
INSERT INTO `sent_district` VALUES ('154', '嘉定区', '2', '9');
INSERT INTO `sent_district` VALUES ('155', '浦东新区', '2', '9');
INSERT INTO `sent_district` VALUES ('156', '金山区', '2', '9');
INSERT INTO `sent_district` VALUES ('157', '松江区', '2', '9');
INSERT INTO `sent_district` VALUES ('158', '青浦区', '2', '9');
INSERT INTO `sent_district` VALUES ('159', '南汇区', '2', '9');
INSERT INTO `sent_district` VALUES ('160', '奉贤区', '2', '9');
INSERT INTO `sent_district` VALUES ('161', '崇明县', '2', '9');
INSERT INTO `sent_district` VALUES ('162', '南京市', '2', '10');
INSERT INTO `sent_district` VALUES ('163', '无锡市', '2', '10');
INSERT INTO `sent_district` VALUES ('164', '徐州市', '2', '10');
INSERT INTO `sent_district` VALUES ('165', '常州市', '2', '10');
INSERT INTO `sent_district` VALUES ('166', '苏州市', '2', '10');
INSERT INTO `sent_district` VALUES ('167', '南通市', '2', '10');
INSERT INTO `sent_district` VALUES ('168', '连云港市', '2', '10');
INSERT INTO `sent_district` VALUES ('169', '淮安市', '2', '10');
INSERT INTO `sent_district` VALUES ('170', '盐城市', '2', '10');
INSERT INTO `sent_district` VALUES ('171', '扬州市', '2', '10');
INSERT INTO `sent_district` VALUES ('172', '镇江市', '2', '10');
INSERT INTO `sent_district` VALUES ('173', '泰州市', '2', '10');
INSERT INTO `sent_district` VALUES ('174', '宿迁市', '2', '10');
INSERT INTO `sent_district` VALUES ('175', '杭州市', '2', '11');
INSERT INTO `sent_district` VALUES ('176', '宁波市', '2', '11');
INSERT INTO `sent_district` VALUES ('177', '温州市', '2', '11');
INSERT INTO `sent_district` VALUES ('178', '嘉兴市', '2', '11');
INSERT INTO `sent_district` VALUES ('179', '湖州市', '2', '11');
INSERT INTO `sent_district` VALUES ('180', '绍兴市', '2', '11');
INSERT INTO `sent_district` VALUES ('181', '舟山市', '2', '11');
INSERT INTO `sent_district` VALUES ('182', '衢州市', '2', '11');
INSERT INTO `sent_district` VALUES ('183', '金华市', '2', '11');
INSERT INTO `sent_district` VALUES ('184', '台州市', '2', '11');
INSERT INTO `sent_district` VALUES ('185', '丽水市', '2', '11');
INSERT INTO `sent_district` VALUES ('186', '合肥市', '2', '12');
INSERT INTO `sent_district` VALUES ('187', '芜湖市', '2', '12');
INSERT INTO `sent_district` VALUES ('188', '蚌埠市', '2', '12');
INSERT INTO `sent_district` VALUES ('189', '淮南市', '2', '12');
INSERT INTO `sent_district` VALUES ('190', '马鞍山市', '2', '12');
INSERT INTO `sent_district` VALUES ('191', '淮北市', '2', '12');
INSERT INTO `sent_district` VALUES ('192', '铜陵市', '2', '12');
INSERT INTO `sent_district` VALUES ('193', '安庆市', '2', '12');
INSERT INTO `sent_district` VALUES ('194', '黄山市', '2', '12');
INSERT INTO `sent_district` VALUES ('195', '滁州市', '2', '12');
INSERT INTO `sent_district` VALUES ('196', '阜阳市', '2', '12');
INSERT INTO `sent_district` VALUES ('197', '宿州市', '2', '12');
INSERT INTO `sent_district` VALUES ('198', '巢湖市', '2', '12');
INSERT INTO `sent_district` VALUES ('199', '六安市', '2', '12');
INSERT INTO `sent_district` VALUES ('200', '亳州市', '2', '12');
INSERT INTO `sent_district` VALUES ('201', '池州市', '2', '12');
INSERT INTO `sent_district` VALUES ('202', '宣城市', '2', '12');
INSERT INTO `sent_district` VALUES ('203', '福州市', '2', '13');
INSERT INTO `sent_district` VALUES ('204', '厦门市', '2', '13');
INSERT INTO `sent_district` VALUES ('205', '莆田市', '2', '13');
INSERT INTO `sent_district` VALUES ('206', '三明市', '2', '13');
INSERT INTO `sent_district` VALUES ('207', '泉州市', '2', '13');
INSERT INTO `sent_district` VALUES ('208', '漳州市', '2', '13');
INSERT INTO `sent_district` VALUES ('209', '南平市', '2', '13');
INSERT INTO `sent_district` VALUES ('210', '龙岩市', '2', '13');
INSERT INTO `sent_district` VALUES ('211', '宁德市', '2', '13');
INSERT INTO `sent_district` VALUES ('212', '南昌市', '2', '14');
INSERT INTO `sent_district` VALUES ('213', '景德镇市', '2', '14');
INSERT INTO `sent_district` VALUES ('214', '萍乡市', '2', '14');
INSERT INTO `sent_district` VALUES ('215', '九江市', '2', '14');
INSERT INTO `sent_district` VALUES ('216', '新余市', '2', '14');
INSERT INTO `sent_district` VALUES ('217', '鹰潭市', '2', '14');
INSERT INTO `sent_district` VALUES ('218', '赣州市', '2', '14');
INSERT INTO `sent_district` VALUES ('219', '吉安市', '2', '14');
INSERT INTO `sent_district` VALUES ('220', '宜春市', '2', '14');
INSERT INTO `sent_district` VALUES ('221', '抚州市', '2', '14');
INSERT INTO `sent_district` VALUES ('222', '上饶市', '2', '14');
INSERT INTO `sent_district` VALUES ('223', '济南市', '2', '15');
INSERT INTO `sent_district` VALUES ('224', '青岛市', '2', '15');
INSERT INTO `sent_district` VALUES ('225', '淄博市', '2', '15');
INSERT INTO `sent_district` VALUES ('226', '枣庄市', '2', '15');
INSERT INTO `sent_district` VALUES ('227', '东营市', '2', '15');
INSERT INTO `sent_district` VALUES ('228', '烟台市', '2', '15');
INSERT INTO `sent_district` VALUES ('229', '潍坊市', '2', '15');
INSERT INTO `sent_district` VALUES ('230', '济宁市', '2', '15');
INSERT INTO `sent_district` VALUES ('231', '泰安市', '2', '15');
INSERT INTO `sent_district` VALUES ('232', '威海市', '2', '15');
INSERT INTO `sent_district` VALUES ('233', '日照市', '2', '15');
INSERT INTO `sent_district` VALUES ('234', '莱芜市', '2', '15');
INSERT INTO `sent_district` VALUES ('235', '临沂市', '2', '15');
INSERT INTO `sent_district` VALUES ('236', '德州市', '2', '15');
INSERT INTO `sent_district` VALUES ('237', '聊城市', '2', '15');
INSERT INTO `sent_district` VALUES ('238', '滨州市', '2', '15');
INSERT INTO `sent_district` VALUES ('239', '菏泽市', '2', '15');
INSERT INTO `sent_district` VALUES ('240', '郑州市', '2', '16');
INSERT INTO `sent_district` VALUES ('241', '开封市', '2', '16');
INSERT INTO `sent_district` VALUES ('242', '洛阳市', '2', '16');
INSERT INTO `sent_district` VALUES ('243', '平顶山市', '2', '16');
INSERT INTO `sent_district` VALUES ('244', '安阳市', '2', '16');
INSERT INTO `sent_district` VALUES ('245', '鹤壁市', '2', '16');
INSERT INTO `sent_district` VALUES ('246', '新乡市', '2', '16');
INSERT INTO `sent_district` VALUES ('247', '焦作市', '2', '16');
INSERT INTO `sent_district` VALUES ('248', '濮阳市', '2', '16');
INSERT INTO `sent_district` VALUES ('249', '许昌市', '2', '16');
INSERT INTO `sent_district` VALUES ('250', '漯河市', '2', '16');
INSERT INTO `sent_district` VALUES ('251', '三门峡市', '2', '16');
INSERT INTO `sent_district` VALUES ('252', '南阳市', '2', '16');
INSERT INTO `sent_district` VALUES ('253', '商丘市', '2', '16');
INSERT INTO `sent_district` VALUES ('254', '信阳市', '2', '16');
INSERT INTO `sent_district` VALUES ('255', '周口市', '2', '16');
INSERT INTO `sent_district` VALUES ('256', '驻马店市', '2', '16');
INSERT INTO `sent_district` VALUES ('257', '济源市', '2', '16');
INSERT INTO `sent_district` VALUES ('258', '武汉市', '2', '17');
INSERT INTO `sent_district` VALUES ('259', '黄石市', '2', '17');
INSERT INTO `sent_district` VALUES ('260', '十堰市', '2', '17');
INSERT INTO `sent_district` VALUES ('261', '宜昌市', '2', '17');
INSERT INTO `sent_district` VALUES ('262', '襄樊市', '2', '17');
INSERT INTO `sent_district` VALUES ('263', '鄂州市', '2', '17');
INSERT INTO `sent_district` VALUES ('264', '荆门市', '2', '17');
INSERT INTO `sent_district` VALUES ('265', '孝感市', '2', '17');
INSERT INTO `sent_district` VALUES ('266', '荆州市', '2', '17');
INSERT INTO `sent_district` VALUES ('267', '黄冈市', '2', '17');
INSERT INTO `sent_district` VALUES ('268', '咸宁市', '2', '17');
INSERT INTO `sent_district` VALUES ('269', '随州市', '2', '17');
INSERT INTO `sent_district` VALUES ('270', '恩施土家族苗族自治州', '2', '17');
INSERT INTO `sent_district` VALUES ('271', '仙桃市', '2', '17');
INSERT INTO `sent_district` VALUES ('272', '潜江市', '2', '17');
INSERT INTO `sent_district` VALUES ('273', '天门市', '2', '17');
INSERT INTO `sent_district` VALUES ('274', '神农架林区', '2', '17');
INSERT INTO `sent_district` VALUES ('275', '长沙市', '2', '18');
INSERT INTO `sent_district` VALUES ('276', '株洲市', '2', '18');
INSERT INTO `sent_district` VALUES ('277', '湘潭市', '2', '18');
INSERT INTO `sent_district` VALUES ('278', '衡阳市', '2', '18');
INSERT INTO `sent_district` VALUES ('279', '邵阳市', '2', '18');
INSERT INTO `sent_district` VALUES ('280', '岳阳市', '2', '18');
INSERT INTO `sent_district` VALUES ('281', '常德市', '2', '18');
INSERT INTO `sent_district` VALUES ('282', '张家界市', '2', '18');
INSERT INTO `sent_district` VALUES ('283', '益阳市', '2', '18');
INSERT INTO `sent_district` VALUES ('284', '郴州市', '2', '18');
INSERT INTO `sent_district` VALUES ('285', '永州市', '2', '18');
INSERT INTO `sent_district` VALUES ('286', '怀化市', '2', '18');
INSERT INTO `sent_district` VALUES ('287', '娄底市', '2', '18');
INSERT INTO `sent_district` VALUES ('288', '湘西土家族苗族自治州', '2', '18');
INSERT INTO `sent_district` VALUES ('289', '广州市', '2', '19');
INSERT INTO `sent_district` VALUES ('290', '韶关市', '2', '19');
INSERT INTO `sent_district` VALUES ('291', '深圳市', '2', '19');
INSERT INTO `sent_district` VALUES ('292', '珠海市', '2', '19');
INSERT INTO `sent_district` VALUES ('293', '汕头市', '2', '19');
INSERT INTO `sent_district` VALUES ('294', '佛山市', '2', '19');
INSERT INTO `sent_district` VALUES ('295', '江门市', '2', '19');
INSERT INTO `sent_district` VALUES ('296', '湛江市', '2', '19');
INSERT INTO `sent_district` VALUES ('297', '茂名市', '2', '19');
INSERT INTO `sent_district` VALUES ('298', '肇庆市', '2', '19');
INSERT INTO `sent_district` VALUES ('299', '惠州市', '2', '19');
INSERT INTO `sent_district` VALUES ('300', '梅州市', '2', '19');
INSERT INTO `sent_district` VALUES ('301', '汕尾市', '2', '19');
INSERT INTO `sent_district` VALUES ('302', '河源市', '2', '19');
INSERT INTO `sent_district` VALUES ('303', '阳江市', '2', '19');
INSERT INTO `sent_district` VALUES ('304', '清远市', '2', '19');
INSERT INTO `sent_district` VALUES ('305', '东莞市', '2', '19');
INSERT INTO `sent_district` VALUES ('306', '中山市', '2', '19');
INSERT INTO `sent_district` VALUES ('307', '潮州市', '2', '19');
INSERT INTO `sent_district` VALUES ('308', '揭阳市', '2', '19');
INSERT INTO `sent_district` VALUES ('309', '云浮市', '2', '19');
INSERT INTO `sent_district` VALUES ('310', '南宁市', '2', '20');
INSERT INTO `sent_district` VALUES ('311', '柳州市', '2', '20');
INSERT INTO `sent_district` VALUES ('312', '桂林市', '2', '20');
INSERT INTO `sent_district` VALUES ('313', '梧州市', '2', '20');
INSERT INTO `sent_district` VALUES ('314', '北海市', '2', '20');
INSERT INTO `sent_district` VALUES ('315', '防城港市', '2', '20');
INSERT INTO `sent_district` VALUES ('316', '钦州市', '2', '20');
INSERT INTO `sent_district` VALUES ('317', '贵港市', '2', '20');
INSERT INTO `sent_district` VALUES ('318', '玉林市', '2', '20');
INSERT INTO `sent_district` VALUES ('319', '百色市', '2', '20');
INSERT INTO `sent_district` VALUES ('320', '贺州市', '2', '20');
INSERT INTO `sent_district` VALUES ('321', '河池市', '2', '20');
INSERT INTO `sent_district` VALUES ('322', '来宾市', '2', '20');
INSERT INTO `sent_district` VALUES ('323', '崇左市', '2', '20');
INSERT INTO `sent_district` VALUES ('324', '海口市', '2', '21');
INSERT INTO `sent_district` VALUES ('325', '三亚市', '2', '21');
INSERT INTO `sent_district` VALUES ('326', '五指山市', '2', '21');
INSERT INTO `sent_district` VALUES ('327', '琼海市', '2', '21');
INSERT INTO `sent_district` VALUES ('328', '儋州市', '2', '21');
INSERT INTO `sent_district` VALUES ('329', '文昌市', '2', '21');
INSERT INTO `sent_district` VALUES ('330', '万宁市', '2', '21');
INSERT INTO `sent_district` VALUES ('331', '东方市', '2', '21');
INSERT INTO `sent_district` VALUES ('332', '定安县', '2', '21');
INSERT INTO `sent_district` VALUES ('333', '屯昌县', '2', '21');
INSERT INTO `sent_district` VALUES ('334', '澄迈县', '2', '21');
INSERT INTO `sent_district` VALUES ('335', '临高县', '2', '21');
INSERT INTO `sent_district` VALUES ('336', '白沙黎族自治县', '2', '21');
INSERT INTO `sent_district` VALUES ('337', '昌江黎族自治县', '2', '21');
INSERT INTO `sent_district` VALUES ('338', '乐东黎族自治县', '2', '21');
INSERT INTO `sent_district` VALUES ('339', '陵水黎族自治县', '2', '21');
INSERT INTO `sent_district` VALUES ('340', '保亭黎族苗族自治县', '2', '21');
INSERT INTO `sent_district` VALUES ('341', '琼中黎族苗族自治县', '2', '21');
INSERT INTO `sent_district` VALUES ('342', '西沙群岛', '2', '21');
INSERT INTO `sent_district` VALUES ('343', '南沙群岛', '2', '21');
INSERT INTO `sent_district` VALUES ('344', '中沙群岛的岛礁及其海域', '2', '21');
INSERT INTO `sent_district` VALUES ('345', '万州区', '2', '22');
INSERT INTO `sent_district` VALUES ('346', '涪陵区', '2', '22');
INSERT INTO `sent_district` VALUES ('347', '渝中区', '2', '22');
INSERT INTO `sent_district` VALUES ('348', '大渡口区', '2', '22');
INSERT INTO `sent_district` VALUES ('349', '江北区', '2', '22');
INSERT INTO `sent_district` VALUES ('350', '沙坪坝区', '2', '22');
INSERT INTO `sent_district` VALUES ('351', '九龙坡区', '2', '22');
INSERT INTO `sent_district` VALUES ('352', '南岸区', '2', '22');
INSERT INTO `sent_district` VALUES ('353', '北碚区', '2', '22');
INSERT INTO `sent_district` VALUES ('354', '双桥区', '2', '22');
INSERT INTO `sent_district` VALUES ('355', '万盛区', '2', '22');
INSERT INTO `sent_district` VALUES ('356', '渝北区', '2', '22');
INSERT INTO `sent_district` VALUES ('357', '巴南区', '2', '22');
INSERT INTO `sent_district` VALUES ('358', '黔江区', '2', '22');
INSERT INTO `sent_district` VALUES ('359', '长寿区', '2', '22');
INSERT INTO `sent_district` VALUES ('360', '綦江县', '2', '22');
INSERT INTO `sent_district` VALUES ('361', '潼南县', '2', '22');
INSERT INTO `sent_district` VALUES ('362', '铜梁县', '2', '22');
INSERT INTO `sent_district` VALUES ('363', '大足县', '2', '22');
INSERT INTO `sent_district` VALUES ('364', '荣昌县', '2', '22');
INSERT INTO `sent_district` VALUES ('365', '璧山县', '2', '22');
INSERT INTO `sent_district` VALUES ('366', '梁平县', '2', '22');
INSERT INTO `sent_district` VALUES ('367', '城口县', '2', '22');
INSERT INTO `sent_district` VALUES ('368', '丰都县', '2', '22');
INSERT INTO `sent_district` VALUES ('369', '垫江县', '2', '22');
INSERT INTO `sent_district` VALUES ('370', '武隆县', '2', '22');
INSERT INTO `sent_district` VALUES ('371', '忠县', '2', '22');
INSERT INTO `sent_district` VALUES ('372', '开县', '2', '22');
INSERT INTO `sent_district` VALUES ('373', '云阳县', '2', '22');
INSERT INTO `sent_district` VALUES ('374', '奉节县', '2', '22');
INSERT INTO `sent_district` VALUES ('375', '巫山县', '2', '22');
INSERT INTO `sent_district` VALUES ('376', '巫溪县', '2', '22');
INSERT INTO `sent_district` VALUES ('377', '石柱土家族自治县', '2', '22');
INSERT INTO `sent_district` VALUES ('378', '秀山土家族苗族自治县', '2', '22');
INSERT INTO `sent_district` VALUES ('379', '酉阳土家族苗族自治县', '2', '22');
INSERT INTO `sent_district` VALUES ('380', '彭水苗族土家族自治县', '2', '22');
INSERT INTO `sent_district` VALUES ('381', '江津市', '2', '22');
INSERT INTO `sent_district` VALUES ('382', '合川市', '2', '22');
INSERT INTO `sent_district` VALUES ('383', '永川市', '2', '22');
INSERT INTO `sent_district` VALUES ('384', '南川市', '2', '22');
INSERT INTO `sent_district` VALUES ('385', '成都市', '2', '23');
INSERT INTO `sent_district` VALUES ('386', '自贡市', '2', '23');
INSERT INTO `sent_district` VALUES ('387', '攀枝花市', '2', '23');
INSERT INTO `sent_district` VALUES ('388', '泸州市', '2', '23');
INSERT INTO `sent_district` VALUES ('389', '德阳市', '2', '23');
INSERT INTO `sent_district` VALUES ('390', '绵阳市', '2', '23');
INSERT INTO `sent_district` VALUES ('391', '广元市', '2', '23');
INSERT INTO `sent_district` VALUES ('392', '遂宁市', '2', '23');
INSERT INTO `sent_district` VALUES ('393', '内江市', '2', '23');
INSERT INTO `sent_district` VALUES ('394', '乐山市', '2', '23');
INSERT INTO `sent_district` VALUES ('395', '南充市', '2', '23');
INSERT INTO `sent_district` VALUES ('396', '眉山市', '2', '23');
INSERT INTO `sent_district` VALUES ('397', '宜宾市', '2', '23');
INSERT INTO `sent_district` VALUES ('398', '广安市', '2', '23');
INSERT INTO `sent_district` VALUES ('399', '达州市', '2', '23');
INSERT INTO `sent_district` VALUES ('400', '雅安市', '2', '23');
INSERT INTO `sent_district` VALUES ('401', '巴中市', '2', '23');
INSERT INTO `sent_district` VALUES ('402', '资阳市', '2', '23');
INSERT INTO `sent_district` VALUES ('403', '阿坝藏族羌族自治州', '2', '23');
INSERT INTO `sent_district` VALUES ('404', '甘孜藏族自治州', '2', '23');
INSERT INTO `sent_district` VALUES ('405', '凉山彝族自治州', '2', '23');
INSERT INTO `sent_district` VALUES ('406', '贵阳市', '2', '24');
INSERT INTO `sent_district` VALUES ('407', '六盘水市', '2', '24');
INSERT INTO `sent_district` VALUES ('408', '遵义市', '2', '24');
INSERT INTO `sent_district` VALUES ('409', '安顺市', '2', '24');
INSERT INTO `sent_district` VALUES ('410', '铜仁地区', '2', '24');
INSERT INTO `sent_district` VALUES ('411', '黔西南布依族苗族自治州', '2', '24');
INSERT INTO `sent_district` VALUES ('412', '毕节地区', '2', '24');
INSERT INTO `sent_district` VALUES ('413', '黔东南苗族侗族自治州', '2', '24');
INSERT INTO `sent_district` VALUES ('414', '黔南布依族苗族自治州', '2', '24');
INSERT INTO `sent_district` VALUES ('415', '昆明市', '2', '25');
INSERT INTO `sent_district` VALUES ('416', '曲靖市', '2', '25');
INSERT INTO `sent_district` VALUES ('417', '玉溪市', '2', '25');
INSERT INTO `sent_district` VALUES ('418', '保山市', '2', '25');
INSERT INTO `sent_district` VALUES ('419', '昭通市', '2', '25');
INSERT INTO `sent_district` VALUES ('420', '丽江市', '2', '25');
INSERT INTO `sent_district` VALUES ('421', '思茅市', '2', '25');
INSERT INTO `sent_district` VALUES ('422', '临沧市', '2', '25');
INSERT INTO `sent_district` VALUES ('423', '楚雄彝族自治州', '2', '25');
INSERT INTO `sent_district` VALUES ('424', '红河哈尼族彝族自治州', '2', '25');
INSERT INTO `sent_district` VALUES ('425', '文山壮族苗族自治州', '2', '25');
INSERT INTO `sent_district` VALUES ('426', '西双版纳傣族自治州', '2', '25');
INSERT INTO `sent_district` VALUES ('427', '大理白族自治州', '2', '25');
INSERT INTO `sent_district` VALUES ('428', '德宏傣族景颇族自治州', '2', '25');
INSERT INTO `sent_district` VALUES ('429', '怒江傈僳族自治州', '2', '25');
INSERT INTO `sent_district` VALUES ('430', '迪庆藏族自治州', '2', '25');
INSERT INTO `sent_district` VALUES ('431', '拉萨市', '2', '26');
INSERT INTO `sent_district` VALUES ('432', '昌都地区', '2', '26');
INSERT INTO `sent_district` VALUES ('433', '山南地区', '2', '26');
INSERT INTO `sent_district` VALUES ('434', '日喀则地区', '2', '26');
INSERT INTO `sent_district` VALUES ('435', '那曲地区', '2', '26');
INSERT INTO `sent_district` VALUES ('436', '阿里地区', '2', '26');
INSERT INTO `sent_district` VALUES ('437', '林芝地区', '2', '26');
INSERT INTO `sent_district` VALUES ('438', '西安市', '2', '27');
INSERT INTO `sent_district` VALUES ('439', '铜川市', '2', '27');
INSERT INTO `sent_district` VALUES ('440', '宝鸡市', '2', '27');
INSERT INTO `sent_district` VALUES ('441', '咸阳市', '2', '27');
INSERT INTO `sent_district` VALUES ('442', '渭南市', '2', '27');
INSERT INTO `sent_district` VALUES ('443', '延安市', '2', '27');
INSERT INTO `sent_district` VALUES ('444', '汉中市', '2', '27');
INSERT INTO `sent_district` VALUES ('445', '榆林市', '2', '27');
INSERT INTO `sent_district` VALUES ('446', '安康市', '2', '27');
INSERT INTO `sent_district` VALUES ('447', '商洛市', '2', '27');
INSERT INTO `sent_district` VALUES ('448', '兰州市', '2', '28');
INSERT INTO `sent_district` VALUES ('449', '嘉峪关市', '2', '28');
INSERT INTO `sent_district` VALUES ('450', '金昌市', '2', '28');
INSERT INTO `sent_district` VALUES ('451', '白银市', '2', '28');
INSERT INTO `sent_district` VALUES ('452', '天水市', '2', '28');
INSERT INTO `sent_district` VALUES ('453', '武威市', '2', '28');
INSERT INTO `sent_district` VALUES ('454', '张掖市', '2', '28');
INSERT INTO `sent_district` VALUES ('455', '平凉市', '2', '28');
INSERT INTO `sent_district` VALUES ('456', '酒泉市', '2', '28');
INSERT INTO `sent_district` VALUES ('457', '庆阳市', '2', '28');
INSERT INTO `sent_district` VALUES ('458', '定西市', '2', '28');
INSERT INTO `sent_district` VALUES ('459', '陇南市', '2', '28');
INSERT INTO `sent_district` VALUES ('460', '临夏回族自治州', '2', '28');
INSERT INTO `sent_district` VALUES ('461', '甘南藏族自治州', '2', '28');
INSERT INTO `sent_district` VALUES ('462', '西宁市', '2', '29');
INSERT INTO `sent_district` VALUES ('463', '海东地区', '2', '29');
INSERT INTO `sent_district` VALUES ('464', '海北藏族自治州', '2', '29');
INSERT INTO `sent_district` VALUES ('465', '黄南藏族自治州', '2', '29');
INSERT INTO `sent_district` VALUES ('466', '海南藏族自治州', '2', '29');
INSERT INTO `sent_district` VALUES ('467', '果洛藏族自治州', '2', '29');
INSERT INTO `sent_district` VALUES ('468', '玉树藏族自治州', '2', '29');
INSERT INTO `sent_district` VALUES ('469', '海西蒙古族藏族自治州', '2', '29');
INSERT INTO `sent_district` VALUES ('470', '银川市', '2', '30');
INSERT INTO `sent_district` VALUES ('471', '石嘴山市', '2', '30');
INSERT INTO `sent_district` VALUES ('472', '吴忠市', '2', '30');
INSERT INTO `sent_district` VALUES ('473', '固原市', '2', '30');
INSERT INTO `sent_district` VALUES ('474', '中卫市', '2', '30');
INSERT INTO `sent_district` VALUES ('475', '乌鲁木齐市', '2', '31');
INSERT INTO `sent_district` VALUES ('476', '克拉玛依市', '2', '31');
INSERT INTO `sent_district` VALUES ('477', '吐鲁番地区', '2', '31');
INSERT INTO `sent_district` VALUES ('478', '哈密地区', '2', '31');
INSERT INTO `sent_district` VALUES ('479', '昌吉回族自治州', '2', '31');
INSERT INTO `sent_district` VALUES ('480', '博尔塔拉蒙古自治州', '2', '31');
INSERT INTO `sent_district` VALUES ('481', '巴音郭楞蒙古自治州', '2', '31');
INSERT INTO `sent_district` VALUES ('482', '阿克苏地区', '2', '31');
INSERT INTO `sent_district` VALUES ('483', '克孜勒苏柯尔克孜自治州', '2', '31');
INSERT INTO `sent_district` VALUES ('484', '喀什地区', '2', '31');
INSERT INTO `sent_district` VALUES ('485', '和田地区', '2', '31');
INSERT INTO `sent_district` VALUES ('486', '伊犁哈萨克自治州', '2', '31');
INSERT INTO `sent_district` VALUES ('487', '塔城地区', '2', '31');
INSERT INTO `sent_district` VALUES ('488', '阿勒泰地区', '2', '31');
INSERT INTO `sent_district` VALUES ('489', '石河子市', '2', '31');
INSERT INTO `sent_district` VALUES ('490', '阿拉尔市', '2', '31');
INSERT INTO `sent_district` VALUES ('491', '图木舒克市', '2', '31');
INSERT INTO `sent_district` VALUES ('492', '五家渠市', '2', '31');
INSERT INTO `sent_district` VALUES ('493', '台北市', '2', '32');
INSERT INTO `sent_district` VALUES ('494', '高雄市', '2', '32');
INSERT INTO `sent_district` VALUES ('495', '基隆市', '2', '32');
INSERT INTO `sent_district` VALUES ('496', '台中市', '2', '32');
INSERT INTO `sent_district` VALUES ('497', '台南市', '2', '32');
INSERT INTO `sent_district` VALUES ('498', '新竹市', '2', '32');
INSERT INTO `sent_district` VALUES ('499', '嘉义市', '2', '32');
INSERT INTO `sent_district` VALUES ('500', '台北县', '2', '32');
INSERT INTO `sent_district` VALUES ('501', '宜兰县', '2', '32');
INSERT INTO `sent_district` VALUES ('502', '桃园县', '2', '32');
INSERT INTO `sent_district` VALUES ('503', '新竹县', '2', '32');
INSERT INTO `sent_district` VALUES ('504', '苗栗县', '2', '32');
INSERT INTO `sent_district` VALUES ('505', '台中县', '2', '32');
INSERT INTO `sent_district` VALUES ('506', '彰化县', '2', '32');
INSERT INTO `sent_district` VALUES ('507', '南投县', '2', '32');
INSERT INTO `sent_district` VALUES ('508', '云林县', '2', '32');
INSERT INTO `sent_district` VALUES ('509', '嘉义县', '2', '32');
INSERT INTO `sent_district` VALUES ('510', '台南县', '2', '32');
INSERT INTO `sent_district` VALUES ('511', '高雄县', '2', '32');
INSERT INTO `sent_district` VALUES ('512', '屏东县', '2', '32');
INSERT INTO `sent_district` VALUES ('513', '澎湖县', '2', '32');
INSERT INTO `sent_district` VALUES ('514', '台东县', '2', '32');
INSERT INTO `sent_district` VALUES ('515', '花莲县', '2', '32');
INSERT INTO `sent_district` VALUES ('516', '中西区', '2', '33');
INSERT INTO `sent_district` VALUES ('517', '东区', '2', '33');
INSERT INTO `sent_district` VALUES ('518', '九龙城区', '2', '33');
INSERT INTO `sent_district` VALUES ('519', '观塘区', '2', '33');
INSERT INTO `sent_district` VALUES ('520', '南区', '2', '33');
INSERT INTO `sent_district` VALUES ('521', '深水埗区', '2', '33');
INSERT INTO `sent_district` VALUES ('522', '黄大仙区', '2', '33');
INSERT INTO `sent_district` VALUES ('523', '湾仔区', '2', '33');

-- -----------------------------
-- Table structure for `sent_document`
-- -----------------------------
DROP TABLE IF EXISTS `sent_document`;
CREATE TABLE `sent_document` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '文档ID',
  `uid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '用户ID',
  `name` char(40) NOT NULL DEFAULT '' COMMENT '标识',
  `title` char(80) NOT NULL DEFAULT '' COMMENT '标题',
  `category_id` int(10) unsigned NOT NULL COMMENT '所属分类',
  `description` char(140) NOT NULL DEFAULT '' COMMENT '描述',
  `model_id` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '内容模型ID',
  `position` smallint(5) unsigned NOT NULL DEFAULT '0' COMMENT '推荐位',
  `link_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '外链',
  `cover_id` int(10) unsigned DEFAULT NULL COMMENT '封面',
  `display` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '可见性',
  `deadline` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '截至时间',
  `attach` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '附件数量',
  `view` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '浏览量',
  `comment` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '评论数',
  `extend` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '扩展统计字段',
  `level` int(10) NOT NULL DEFAULT '0' COMMENT '优先级',
  `is_top` int(2) NOT NULL DEFAULT '0' COMMENT '是否置顶',
  `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '数据状态',
  PRIMARY KEY (`id`),
  KEY `idx_category_status` (`category_id`,`status`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 COMMENT='文档模型基础表';

-- -----------------------------
-- Records of `sent_document`
-- -----------------------------
INSERT INTO `sent_document` VALUES ('5', '1', '', '测试', '2', '', '3', '0', '0', '0', '0', '1463648554', '0', '2', '0', '0', '0', '0', '1463648554', '1463648554', '1');
INSERT INTO `sent_document` VALUES ('4', '1', '', '南昌腾速科技有限公司关于春节放假通知', '3', '南昌腾速科技有限公司关于春节放假通知', '2', '0', '0', '0', '0', '1461809278', '0', '5', '0', '0', '0', '0', '1461809278', '1461809278', '1');
INSERT INTO `sent_document` VALUES ('6', '1', '', '我校辅导员赴天津观摩全国辅导员职业技能大赛第一赛区复赛', '2', '', '2', '0', '0', '0', '0', '1461809225', '0', '3', '0', '0', '0', '0', '1461809225', '1461809225', '1');
INSERT INTO `sent_document` VALUES ('7', '1', '', '我校举办高校教师教学发展主题培训会', '3', '', '2', '0', '0', '0', '0', '1461809234', '0', '9', '0', '0', '0', '0', '1461809234', '1461809234', '1');
INSERT INTO `sent_document` VALUES ('11', '1', '', '测试文档标题', '2', '', '2', '1', '0', '0', '0', '0', '0', '2', '0', '0', '0', '0', '0', '1465207747', '1');
INSERT INTO `sent_document` VALUES ('12', '1', '', '测试文章的添加功能', '2', '测试文章的添加功能', '2', '1', '0', '0', '0', '1465207807', '0', '2', '0', '0', '0', '0', '1465207807', '1465207807', '2');

-- -----------------------------
-- Table structure for `sent_document_article`
-- -----------------------------
DROP TABLE IF EXISTS `sent_document_article`;
CREATE TABLE `sent_document_article` (
  `doc_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `content` text,
  `tags` varchar(20) DEFAULT NULL,
  PRIMARY KEY (`doc_id`)
) ENGINE=MyISAM AUTO_INCREMENT=13 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='文章';

-- -----------------------------
-- Records of `sent_document_article`
-- -----------------------------
INSERT INTO `sent_document_article` VALUES ('2', '<p>我校辅导员赴天津观摩全国辅导员职业技能大赛第一赛区复赛</p>', '');
INSERT INTO `sent_document_article` VALUES ('4', '<p>南昌腾速科技有限公司关于春节放假通知</p>', '');
INSERT INTO `sent_document_article` VALUES ('6', '<p>我校辅导员赴天津观摩全国辅导员职业技能大赛第一赛区复赛</p>', '');
INSERT INTO `sent_document_article` VALUES ('7', '<p>我校举办高校教师教学发展主题培训会</p>', '');
INSERT INTO `sent_document_article` VALUES ('11', '<p>测试文档标题</p>', '');
INSERT INTO `sent_document_article` VALUES ('8', '<p>市场陈列</p>', '');
INSERT INTO `sent_document_article` VALUES ('12', '<p>测试文章的添加功能</p>', '');

-- -----------------------------
-- Table structure for `sent_document_photo`
-- -----------------------------
DROP TABLE IF EXISTS `sent_document_photo`;
CREATE TABLE `sent_document_photo` (
  `doc_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `photo_list` varchar(50) DEFAULT NULL,
  `content` text,
  PRIMARY KEY (`doc_id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='图片';

-- -----------------------------
-- Records of `sent_document_photo`
-- -----------------------------
INSERT INTO `sent_document_photo` VALUES ('5', '', '<p>测试</p>');

-- -----------------------------
-- Table structure for `sent_file`
-- -----------------------------
DROP TABLE IF EXISTS `sent_file`;
CREATE TABLE `sent_file` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '文件ID',
  `name` varchar(300) NOT NULL DEFAULT '' COMMENT '原始文件名',
  `savename` varchar(100) NOT NULL DEFAULT '' COMMENT '保存名称',
  `savepath` varchar(100) NOT NULL DEFAULT '' COMMENT '文件保存路径',
  `ext` char(5) NOT NULL DEFAULT '' COMMENT '文件后缀',
  `mime` char(40) NOT NULL DEFAULT '' COMMENT '文件mime类型',
  `size` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '文件大小',
  `md5` char(32) NOT NULL DEFAULT '' COMMENT '文件md5',
  `sha1` char(40) NOT NULL DEFAULT '' COMMENT '文件 sha1编码',
  `location` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '文件保存位置',
  `url` varchar(255) NOT NULL DEFAULT '' COMMENT '远程地址',
  `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '上传时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='文件表';

-- -----------------------------
-- Table structure for `sent_hooks`
-- -----------------------------
DROP TABLE IF EXISTS `sent_hooks`;
CREATE TABLE `sent_hooks` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `name` varchar(40) NOT NULL DEFAULT '' COMMENT '钩子名称',
  `description` text COMMENT '描述',
  `type` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '类型',
  `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  `addons` varchar(255) NOT NULL DEFAULT '' COMMENT '钩子挂载的插件 ''，''分割',
  `status` tinyint(1) unsigned NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`),
  UNIQUE KEY `name` (`name`)
) ENGINE=MyISAM AUTO_INCREMENT=18 DEFAULT CHARSET=utf8;

-- -----------------------------
-- Records of `sent_hooks`
-- -----------------------------
INSERT INTO `sent_hooks` VALUES ('1', 'pageHeader', '页面header钩子，一般用于加载插件CSS文件和代码', '1', '0', '', '1');
INSERT INTO `sent_hooks` VALUES ('2', 'pageFooter', '页面footer钩子，一般用于加载插件JS文件和JS代码', '1', '0', '', '1');
INSERT INTO `sent_hooks` VALUES ('3', 'documentEditForm', '添加编辑表单的 扩展内容钩子', '1', '0', '', '1');
INSERT INTO `sent_hooks` VALUES ('4', 'documentDetailAfter', '文档末尾显示', '1', '0', '', '1');
INSERT INTO `sent_hooks` VALUES ('5', 'documentDetailBefore', '页面内容前显示用钩子', '1', '0', '', '1');
INSERT INTO `sent_hooks` VALUES ('6', 'documentSaveComplete', '保存文档数据后的扩展钩子', '2', '0', '', '1');
INSERT INTO `sent_hooks` VALUES ('7', 'documentEditFormContent', '添加编辑表单的内容显示钩子', '1', '0', '', '1');
INSERT INTO `sent_hooks` VALUES ('8', 'adminArticleEdit', '后台内容编辑页编辑器', '1', '1378982734', '', '1');
INSERT INTO `sent_hooks` VALUES ('13', 'AdminIndex', '首页小格子个性化显示', '1', '1382596073', 'Sitestat,Devteam,Systeminfo', '1');
INSERT INTO `sent_hooks` VALUES ('14', 'topicComment', '评论提交方式扩展钩子。', '1', '1380163518', '', '1');
INSERT INTO `sent_hooks` VALUES ('16', 'app_begin', '应用开始', '2', '1384481614', '', '1');
INSERT INTO `sent_hooks` VALUES ('17', 'J_China_City', '每个系统都需要的一个中国省市区三级联动插件。', '1', '1455877345', '', '1');

-- -----------------------------
-- Table structure for `sent_link`
-- -----------------------------
DROP TABLE IF EXISTS `sent_link`;
CREATE TABLE `sent_link` (
  `id` int(5) NOT NULL AUTO_INCREMENT COMMENT '标识ID',
  `ftype` tinyint(1) NOT NULL DEFAULT '0' COMMENT '0:友情链接 1:合作单位',
  `title` varchar(30) NOT NULL DEFAULT '' COMMENT '标题',
  `url` varchar(150) NOT NULL DEFAULT '' COMMENT '链接地址',
  `cover_id` int(11) NOT NULL DEFAULT '0' COMMENT '封面图片ID',
  `descrip` varchar(255) NOT NULL DEFAULT '' COMMENT '备注信息',
  `sort` int(10) NOT NULL DEFAULT '0' COMMENT '排序',
  `hits` tinyint(7) NOT NULL DEFAULT '0' COMMENT '点击率',
  `update_time` int(10) NOT NULL DEFAULT '0' COMMENT '更新时间',
  `uid` int(7) NOT NULL DEFAULT '0' COMMENT '用户ID ',
  `status` tinyint(1) NOT NULL DEFAULT '1',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=21 DEFAULT CHARSET=utf8;

-- -----------------------------
-- Records of `sent_link`
-- -----------------------------
INSERT INTO `sent_link` VALUES ('1', '1', '腾速科技', 'http://www.tensent.cn', '0', '', '0', '0', '1462496026', '0', '1');

-- -----------------------------
-- Table structure for `sent_member`
-- -----------------------------
DROP TABLE IF EXISTS `sent_member`;
CREATE TABLE `sent_member` (
  `uid` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '用户ID',
  `username` varchar(32) NOT NULL DEFAULT '' COMMENT '用户名',
  `password` varchar(64) NOT NULL DEFAULT '' COMMENT '用户密码',
  `nickname` char(16) NOT NULL DEFAULT '' COMMENT '昵称',
  `email` varchar(100) DEFAULT NULL COMMENT '邮箱地址',
  `mobile` varchar(20) DEFAULT NULL COMMENT '手机号码',
  `sex` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '性别',
  `birthday` date NOT NULL DEFAULT '0000-00-00' COMMENT '生日',
  `qq` char(10) NOT NULL DEFAULT '' COMMENT 'qq号',
  `score` mediumint(8) NOT NULL DEFAULT '0' COMMENT '用户积分',
  `signature` text COMMENT '用户签名',
  `pos_province` int(11) DEFAULT '0' COMMENT '用户所在省份',
  `pos_city` int(11) DEFAULT '0' COMMENT '用户所在城市',
  `pos_district` int(11) DEFAULT '0' COMMENT '用户所在县城',
  `pos_community` int(11) DEFAULT '0' COMMENT '用户所在区域',
  `salt` varchar(255) NOT NULL DEFAULT '' COMMENT '密码盐值',
  `login` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '登录次数',
  `reg_ip` bigint(20) NOT NULL DEFAULT '0' COMMENT '注册IP',
  `reg_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '注册时间',
  `last_login_ip` bigint(20) NOT NULL DEFAULT '0' COMMENT '最后登录IP',
  `last_login_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最后登录时间',
  `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '会员状态',
  PRIMARY KEY (`uid`),
  KEY `status` (`status`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='会员表';

-- -----------------------------
-- Records of `sent_member`
-- -----------------------------

-- -----------------------------
-- Table structure for `sent_member_extend`
-- -----------------------------
DROP TABLE IF EXISTS `sent_member_extend`;
CREATE TABLE `sent_member_extend` (
  `uid` int(11) NOT NULL COMMENT '用户UID',
  `education` int(10) DEFAULT 0,
  PRIMARY KEY (`uid`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

-- -----------------------------
-- Records of `sent_member_extend`
-- -----------------------------
INSERT INTO `sent_member_extend` VALUES ('1', '0');

-- -----------------------------
-- Table structure for `sent_member_extend_group`
-- -----------------------------
DROP TABLE IF EXISTS `sent_member_extend_group`;
CREATE TABLE `sent_member_extend_group` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增主键',
  `name` varchar(50) NOT NULL COMMENT '分组数据表',
  `profile_name` varchar(25) NOT NULL COMMENT '扩展分组名称',
  `createTime` int(11) NOT NULL COMMENT '创建时间',
  `sort` int(11) NOT NULL COMMENT '排序',
  `visiable` tinyint(4) NOT NULL DEFAULT '1' COMMENT '是否可见，1可见，0不可见',
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '字段状态',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;

-- -----------------------------
-- Records of `sent_member_extend_group`
-- -----------------------------
INSERT INTO `sent_member_extend_group` VALUES ('1', 'member_extend', '个人资料', '1403847366', '0', '1', '1');

-- -----------------------------
-- Table structure for `sent_member_extend_setting`
-- -----------------------------
DROP TABLE IF EXISTS `sent_member_extend_setting`;
CREATE TABLE `sent_member_extend_setting` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(30) NOT NULL DEFAULT '' COMMENT '字段名',
  `title` varchar(100) NOT NULL DEFAULT '' COMMENT '字段注释',
  `length` varchar(100) NOT NULL DEFAULT '' COMMENT '字段定义',
  `type` varchar(20) NOT NULL DEFAULT '' COMMENT '数据类型',
  `value` varchar(100) NOT NULL DEFAULT '' COMMENT '字段默认值',
  `remark` varchar(100) NOT NULL DEFAULT '' COMMENT '备注',
  `is_show` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否显示',
  `extra` varchar(255) NOT NULL DEFAULT '' COMMENT '参数',
  `is_must` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否必填',
  `status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '状态',
  `update_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  `create_time` int(11) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='会员字段表';

-- -----------------------------
-- Records of `sent_member_extend_setting`
-- -----------------------------
INSERT INTO `sent_member_extend_setting` VALUES ('1', 'education', '学历', '10', 'select', '', '', '1', '1:小学\r\n2:初中\r\n3:高中', '0', '1', '1455930923', '1455930787');

-- -----------------------------
-- Table structure for `sent_menu`
-- -----------------------------
DROP TABLE IF EXISTS `sent_menu`;
CREATE TABLE `sent_menu` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '文档ID',
  `title` varchar(50) NOT NULL DEFAULT '' COMMENT '标题',
  `type` varchar(10) NOT NULL DEFAULT 'admin' COMMENT '菜单类别（admin后台，user会员中心）',
  `icon` varchar(20) NOT NULL DEFAULT '' COMMENT '分类图标',
  `pid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '上级分类ID',
  `sort` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '排序（同级有效）',
  `url` char(255) NOT NULL DEFAULT '' COMMENT '链接地址',
  `hide` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否隐藏',
  `tip` varchar(255) NOT NULL DEFAULT '' COMMENT '提示',
  `group` varchar(50) DEFAULT '' COMMENT '分组',
  `is_dev` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否仅开发者模式可见',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态',
  PRIMARY KEY (`id`),
  KEY `pid` (`pid`),
  KEY `status` (`status`)
) ENGINE=MyISAM AUTO_INCREMENT=28 DEFAULT CHARSET=utf8;

-- -----------------------------
-- Records of `sent_menu`
-- -----------------------------
INSERT INTO `sent_menu` VALUES ('1', '首页', 'admin', 'home', '0', '0', 'admin/index/index', '0', '', '', '0', '0');
INSERT INTO `sent_menu` VALUES ('2', '系统', 'admin', 'laptop', '0', '11', 'admin/config/group', '0', '', '', '0', '0');
INSERT INTO `sent_menu` VALUES ('3', '内容', 'admin', 'list', '0', '22', 'admin/category/index', '0', '', '', '0', '0');
INSERT INTO `sent_menu` VALUES ('4', '会员', 'admin', 'user', '0', '33', 'admin/user/index', '0', '', '', '0', '0');
INSERT INTO `sent_menu` VALUES ('5', '运营', 'admin', 'th', '0', '44', 'admin/link/index', '0', '', '', '0', '0');
INSERT INTO `sent_menu` VALUES ('6', '扩展', 'admin', 'tags', '0', '55', 'admin/addons/index', '0', '', '', '0', '0');
INSERT INTO `sent_menu` VALUES ('21', '友链管理', 'admin', 'link', '5', '0', 'admin/link/index', '0', '', '运营管理', '0', '0');
INSERT INTO `sent_menu` VALUES ('7', '更新缓存', 'admin', 'refresh', '1', '0', 'admin/index/clear', '0', '', '后台首页', '0', '0');
INSERT INTO `sent_menu` VALUES ('8', '配置管理', 'admin', 'cog', '2', '0', 'admin/config/group', '0', '', '系统配置', '0', '0');
INSERT INTO `sent_menu` VALUES ('9', '菜单管理', 'admin', 'book', '2', '0', 'admin/menu/index', '0', '', '系统配置', '0', '0');
INSERT INTO `sent_menu` VALUES ('10', '导航管理', 'admin', 'map-marker', '2', '0', 'admin/channel/index', '0', '', '系统配置', '0', '0');
INSERT INTO `sent_menu` VALUES ('11', '数据备份', 'admin', 'exchange', '2', '0', 'admin/database/index?type=export', '0', '', '数据库管理', '0', '0');
INSERT INTO `sent_menu` VALUES ('12', '数据恢复', 'admin', 'table', '2', '0', 'admin/database/index?type=import', '0', '', '数据库管理', '0', '0');
INSERT INTO `sent_menu` VALUES ('13', 'SEO设置', 'admin', 'anchor', '2', '0', 'admin/seo/index', '0', '', '优化设置', '0', '0');
INSERT INTO `sent_menu` VALUES ('14', '栏目管理', 'admin', 'list-ol', '3', '0', 'admin/category/index', '0', '', '内容配置', '0', '0');
INSERT INTO `sent_menu` VALUES ('15', '模型管理', 'admin', 'th-list', '3', '0', 'admin/model/index', '0', '', '内容配置', '0', '0');
INSERT INTO `sent_menu` VALUES ('16', '用户列表', 'admin', 'user', '4', '0', 'admin/user/index', '0', '', '用户管理', '0', '0');
INSERT INTO `sent_menu` VALUES ('17', '用户组表', 'admin', 'users', '4', '0', 'admin/group/index', '0', '', '用户管理', '0', '0');
INSERT INTO `sent_menu` VALUES ('18', '权限列表', 'admin', 'paw', '4', '0', 'admin/group/access', '0', '', '用户管理', '0', '0');
INSERT INTO `sent_menu` VALUES ('19', '行为列表', 'admin', 'file-text', '4', '0', 'admin/action/index', '0', '', '行为管理', '0', '0');
INSERT INTO `sent_menu` VALUES ('20', '行为日志', 'admin', 'clipboard', '4', '0', 'admin/action/log', '0', '', '行为管理', '0', '0');
INSERT INTO `sent_menu` VALUES ('22', '广告管理', 'admin', 'cc', '5', '0', 'admin/ad/index', '0', '', '运营管理', '0', '0');
INSERT INTO `sent_menu` VALUES ('23', '插件列表', 'admin', 'usb', '6', '0', 'admin/addons/index', '0', '', '插件管理', '0', '0');
INSERT INTO `sent_menu` VALUES ('24', '钩子列表', 'admin', 'code', '6', '0', 'admin/addons/hooks', '0', '', '插件管理', '0', '0');
INSERT INTO `sent_menu` VALUES ('25', '自定义表单', 'admin', '', '5', '0', 'admin/form/index', '0', '', '运营管理', '0', '0');
INSERT INTO `sent_menu` VALUES ('26', '伪静态规则', 'admin', '', '2', '0', 'admin/seo/rewrite', '0', '', '优化设置', '0', '0');

-- -----------------------------
-- Table structure for `sent_model`
-- -----------------------------
DROP TABLE IF EXISTS `sent_model`;
CREATE TABLE `sent_model` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '模型ID',
  `name` char(30) NOT NULL DEFAULT '' COMMENT '模型标识',
  `title` char(30) NOT NULL DEFAULT '' COMMENT '模型名称',
  `extend` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '继承的模型',
  `icon` varchar(20) NOT NULL COMMENT '模型图标',
  `relation` varchar(30) NOT NULL DEFAULT '' COMMENT '继承与被继承模型的关联字段',
  `is_user_show` tinyint(1) NOT NULL DEFAULT '1' COMMENT '是否会员中心显示',
  `need_pk` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '新建表时是否需要主键字段',
  `field_sort` text COMMENT '表单字段排序',
  `field_group` varchar(255) NOT NULL DEFAULT '1:基础' COMMENT '字段分组',
  `field_list` text COMMENT '字段列表',
  `attribute_list` text COMMENT '属性列表（表的字段）',
  `attribute_alias` varchar(255) NOT NULL DEFAULT '' COMMENT '属性别名定义',
  `list_grid` text COMMENT '列表定义',
  `list_row` smallint(2) unsigned NOT NULL DEFAULT '10' COMMENT '列表数据长度',
  `search_key` varchar(50) NOT NULL DEFAULT '' COMMENT '默认搜索字段',
  `search_list` varchar(255) NOT NULL DEFAULT '' COMMENT '高级搜索的字段',
  `template_list` varchar(255) NOT NULL DEFAULT '' COMMENT '列表显示模板',
  `template_add` varchar(255) NOT NULL DEFAULT '' COMMENT '新增模板',
  `template_edit` varchar(255) NOT NULL DEFAULT '' COMMENT '编辑模板',
  `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  `status` tinyint(3) unsigned NOT NULL DEFAULT '0' COMMENT '状态',
  `engine_type` varchar(25) NOT NULL DEFAULT 'MyISAM' COMMENT '数据库引擎',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8 COMMENT='文档模型表';

-- -----------------------------
-- Records of `sent_model`
-- -----------------------------
INSERT INTO `sent_model` (`id`, `name`, `title`, `extend`, `icon`, `relation`, `is_user_show`, `need_pk`, `field_sort`, `field_group`, `field_list`, `attribute_list`, `attribute_alias`, `list_grid`, `list_row`, `search_key`, `search_list`, `template_list`, `template_add`, `template_edit`, `create_time`, `update_time`, `status`, `engine_type`) VALUES
(1, 'document', '通用模型', 0, '', '', 1, 1, '{"1":["17","16","19","20","14","13","4","3","2","5","12","11","10"]}', '1:基础,2:扩展', '1,7,8,9,10,2,11,12,13,3,4,14,25,15,5,6,23,22,24', '', '', 'id:ID\r\ntitle:标题\r\nuid:发布人|get_username\r\ncreate_time:创建时间|time_format\r\nupdate_time:更新时间|time_format\r\nstatus:状态|get_content_status', 10, '', '', '', '', '', 1450088499, 1454054412, 1, 'MyISAM'),
(2, 'article', '文章', 1, 'file-word-o', '', 0, 1, '{"1":["3","2","4","25","12","5","24","55"],"2":["11","10","13","19","17","16","14","20"]}', '1:基础,2:扩展', '', '', '', 'id:ID\r\ntitle:标题\r\nuid:发布人|get_username\r\ncreate_time:创建时间|time_format\r\nupdate_time:更新时间|time_format\r\nstatus:状态|get_content_status', 10, '', '', '', '', '', 1453859167, 1467019566, 1, 'MyISAM'),
(3, 'photo', '图片', 1, 'file-image-o', '', 0, 1, '{"1":["3","2","4","12","26","5","27","55"],"2":["11","10","19","13","16","17","14","20"]}', '1:基础,2:扩展', '', '', '', 'id:ID\r\ntitle:标题\r\nuid:发布人|get_username\r\ncreate_time:创建时间|time_format\r\nupdate_time:更新时间|time_format\r\nstatus:状态|get_content_status', 10, '', '', '', '', '', 1454052310, 1467019679, 1, 'MyISAM'),
(4, 'page', '单页', 2, 'file-text-o', '', 0, 1, '{"1":["28","55","30","31","32","33"]}', '1:基础', '', '', '', 'id:ID\r\ntitle:标题\r\nupdate_time:更新时间|time_format', 10, '', '', '', '', '', 1456296668, 1470240568, 1, 'MyISAM');

-- -----------------------------
-- Table structure for `sent_page`
-- -----------------------------
DROP TABLE IF EXISTS `sent_page`;
CREATE TABLE `sent_page` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `uid` int(11) NOT NULL DEFAULT '0' COMMENT '用户uid',
  `title` varchar(200) DEFAULT NULL,
  `model_id` int(11) NOT NULL,
  `cover_id` int(11) DEFAULT '0',
  `content` text,
  `create_time` int(11) DEFAULT NULL,
  `update_time` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='单页';


-- -----------------------------
-- Table structure for `sent_picture`
-- -----------------------------
DROP TABLE IF EXISTS `sent_picture`;
CREATE TABLE `sent_picture` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键id自增',
  `path` varchar(255) NOT NULL DEFAULT '' COMMENT '路径',
  `url` varchar(255) NOT NULL DEFAULT '' COMMENT '图片链接',
  `md5` char(32) NOT NULL DEFAULT '' COMMENT '文件md5',
  `sha1` char(40) NOT NULL DEFAULT '' COMMENT '文件 sha1编码',
  `status` tinyint(2) NOT NULL DEFAULT '0' COMMENT '状态',
  `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;


DROP TABLE IF EXISTS `sent_rewrite`;
CREATE TABLE `sent_rewrite` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键id自增',
  `rule` varchar(255) NOT NULL DEFAULT '' COMMENT '规则',
  `url` varchar(255) NOT NULL DEFAULT '' COMMENT 'url',
  `create_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '创建时间',
  `update_time` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '更新时间',
  PRIMARY KEY (`id`)
)  ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='伪静态表';

-- -----------------------------
-- Table structure for `sent_seo_rule`
-- -----------------------------
DROP TABLE IF EXISTS `sent_seo_rule`;
CREATE TABLE `sent_seo_rule` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '唯一标识',
  `title` text NOT NULL COMMENT '规则标题',
  `app` varchar(40) DEFAULT NULL,
  `controller` varchar(40) DEFAULT NULL,
  `action` varchar(40) DEFAULT NULL,
  `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '状态',
  `seo_title` text NOT NULL COMMENT 'SEO标题',
  `seo_keywords` text NOT NULL COMMENT 'SEO关键词',
  `seo_description` text NOT NULL COMMENT 'SEO描述',
  `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;

-- -----------------------------
-- Records of `sent_seo_rule`
-- -----------------------------
INSERT INTO `sent_seo_rule` VALUES ('1', '整站标题', '', '', '', '1', 'SentCMS网站管理系统', 'SentCMS网站管理系统', 'SentCMS网站管理系统', '7');

-- -----------------------------
-- Table structure for `sent_sync_login`
-- -----------------------------
DROP TABLE IF EXISTS `sent_sync_login`;
CREATE TABLE `sent_sync_login` (
  `uid` int(11) NOT NULL,
  `openid` varchar(255) NOT NULL,
  `type` varchar(255) NOT NULL,
  `access_token` varchar(255) NOT NULL,
  `refresh_token` varchar(255) NOT NULL,
  `status` tinyint(4) NOT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1;