diff --git a/data/sql.sql b/data/sql.sql index d1225ec5..a67eac2b 100644 --- a/data/sql.sql +++ b/data/sql.sql @@ -1,76 +1,85 @@ --- ----------------------------- --- SentCMS MySQL Data Transfer --- --- Host : 127.0.0.1 --- Port : --- Database : sentcms_www --- --- Part : #1 --- Date : 2016-06-28 09:38:33 --- ----------------------------- +-- phpMyAdmin SQL Dump +-- version 4.8.0-dev +-- https://www.phpmyadmin.net/ +-- +-- Host: localhost +-- Generation Time: 2017-06-19 06:18:22 +-- 服务器版本: 5.7.17 +-- PHP Version: 7.1.0 -SET FOREIGN_KEY_CHECKS = 0; +SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; +SET AUTOCOMMIT = 0; +START TRANSACTION; +SET time_zone = "+00:00"; +-- +-- Database: `sentcms_www` +-- + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_action` +-- --- ----------------------------- --- Table structure for `sent_action` --- ----------------------------- DROP TABLE IF EXISTS `sent_action`; CREATE TABLE `sent_action` ( - `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键', + `id` int(11) UNSIGNED NOT NULL 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 '类型', + `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='系统行为表'; + `update_time` int(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT '修改时间' +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='系统行为表' ROW_FORMAT=DYNAMIC; --- ----------------------------- --- 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'); +-- +-- 转存表中的数据 `sent_action` +-- + +INSERT INTO `sent_action` (`id`, `name`, `title`, `remark`, `rule`, `log`, `type`, `status`, `update_time`) 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), +(2, 'add_article', '发布文章', '积分+5,每天上限5次', 'table:member|field:score|condition:uid={$self}|rule:score+5|cycle:24|max:5', '', 2, 1, 1380173180), +(3, 'review', '评论', '评论积分+1,无限制', 'table:member|field:score|condition:uid={$self}|rule:score+1', '', 2, 1, 1383285646), +(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), +(5, 'add_document_topic', '发表讨论', '积分+5,每天上限10次', 'table:member|field:score|condition:uid={$self}|rule:score+5|cycle:24|max:10', '', 2, 1, 1383285551), +(6, 'update_config', '更新配置', '新增或修改或删除配置', '', '', 1, 1, 1383294988), +(7, 'update_model', '更新模型', '新增或修改模型', '', '', 1, 1, 1383295057), +(8, 'update_attribute', '更新属性', '新增或更新或删除属性', '', '', 1, 1, 1383295963), +(9, 'update_channel', '更新导航', '新增或修改或删除导航', '', '', 1, 1, 1383296301), +(10, 'update_menu', '更新菜单', '新增或修改或删除菜单', '', '', 1, 1, 1383296392), +(11, 'update_category', '更新分类', '新增或修改或删除分类.', '', '', 1, 1, 1383296765); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_action_log` +-- --- ----------------------------- --- 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', + `id` int(10) UNSIGNED NOT NULL 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', + `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='行为日志表'; + `create_time` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '执行行为的时间' +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='行为日志表' ROW_FORMAT=FIXED; +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_ad` +-- --- ----------------------------- --- Table structure for `sent_ad` --- ----------------------------- DROP TABLE IF EXISTS `sent_ad`; CREATE TABLE `sent_ad` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键', + `id` int(10) UNSIGNED NOT NULL COMMENT '主键', `place_id` int(11) DEFAULT NULL COMMENT '广告位ID', `title` varchar(150) DEFAULT NULL COMMENT '广告名称', `cover_id` int(11) DEFAULT NULL COMMENT '广告图片', @@ -81,24 +90,58 @@ CREATE TABLE `sent_ad` ( `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='广告表'; + `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '广告位状态' +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='广告表'; --- ----------------------------- --- Records of `sent_ad` --- ----------------------------- -INSERT INTO `sent_ad` VALUES ('1', '1', '电子商务系统设计与开发', '0', '', '', '', '', '

我们为客户提供专业的B2C、C2C、B2B、P2P等电子商务平台开发,同时紧扣企业运营,提供个性化的电子商务平台开发和运营管理平台。

', '1440433466', '1440433466', '1'); -INSERT INTO `sent_ad` VALUES ('2', '1', '企业网站设计与开发', '0', '', '', '', '', '

我们为您提供更加专业的企业网站建设、企业文化提升以及企业形象包装服务,为您量身打造更加适合当前网络时代的需求服务,让您的公司更加贴近客户。

', '1440433531', '1440433531', '1'); -INSERT INTO `sent_ad` VALUES ('3', '1', 'WEB应用系统设计与开发', '14', '', '', '', '', '

我们为您的企业量身打造专业级别的企业OA系统、CRM系统等,为事、企业单位提供更好更高效的无纸化办公平台环境。

', '1440433554', '1462966106', '1'); -INSERT INTO `sent_ad` VALUES ('4', '1', '手机APP应用设计与开发', '0', '', 'http://www.tensent.cn', '', '', '

腾速科技有限公司专注于手机客户端软件开发,是省内移动客户端开发商的先行者,做到行业内领先地位。

', '1440433571', '1459489811', '1'); +-- +-- 转存表中的数据 `sent_ad` +-- + +INSERT INTO `sent_ad` (`id`, `place_id`, `title`, `cover_id`, `photolist`, `url`, `listurl`, `background`, `content`, `create_time`, `update_time`, `status`) VALUES +(1, 1, '电子商务系统设计与开发', 0, '', '', '', '', '

我们为客户提供专业的B2C、C2C、B2B、P2P等电子商务平台开发,同时紧扣企业运营,提供个性化的电子商务平台开发和运营管理平台。

', 1440433466, 1440433466, 1), +(2, 1, '企业网站设计与开发', 0, '', '', '', '', '

我们为您提供更加专业的企业网站建设、企业文化提升以及企业形象包装服务,为您量身打造更加适合当前网络时代的需求服务,让您的公司更加贴近客户。

', 1440433531, 1440433531, 1), +(3, 1, 'WEB应用系统设计与开发', 14, '', '', '', '', '

我们为您的企业量身打造专业级别的企业OA系统、CRM系统等,为事、企业单位提供更好更高效的无纸化办公平台环境。

', 1440433554, 1462966106, 1), +(4, 1, '手机APP应用设计与开发', 0, '', 'http://www.tensent.cn', '', '', '

腾速科技有限公司专注于手机客户端软件开发,是省内移动客户端开发商的先行者,做到行业内领先地位。

', 1440433571, 1459489811, 1); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_addons` +-- + +DROP TABLE IF EXISTS `sent_addons`; +CREATE TABLE `sent_addons` ( + `id` int(10) UNSIGNED NOT NULL 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 '是否有后台列表' +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='插件表'; + +-- +-- 转存表中的数据 `sent_addons` +-- + +INSERT INTO `sent_addons` (`id`, `name`, `title`, `description`, `status`, `config`, `author`, `version`, `isinstall`, `create_time`, `has_adminlist`) VALUES +(1, 'Devteam', '开发团队信息', '开发团队成员信息', 1, '', 'molong', '0.1', 1, 0, 0), +(2, 'Sitestat', '站点统计信息', '统计站点的基础信息', 1, '', 'thinkphp', '0.2', 1, 0, 0), +(3, 'Systeminfo', '系统环境信息', '用于显示一些服务器的信息', 1, '', 'molong', '0.1', 1, 0, 0); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_ad_place` +-- --- ----------------------------- --- 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 '主键', + `id` int(10) UNSIGNED NOT NULL COMMENT '主键', `title` varchar(150) DEFAULT NULL COMMENT '广告位名称', `name` varchar(20) NOT NULL COMMENT '调用名称', `show_type` int(11) NOT NULL DEFAULT '5' COMMENT '广告位类型', @@ -108,246 +151,193 @@ CREATE TABLE `sent_ad_place` ( `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='广告位表'; + `status` tinyint(1) NOT NULL DEFAULT '1' COMMENT '广告位状态' +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='广告位表'; --- ----------------------------- --- Records of `sent_ad_place` --- ----------------------------- -INSERT INTO `sent_ad_place` VALUES ('1', '首页幻灯片', 'banner', '1', '5', '0', '0', '1440433367', '1440433367', '', '1'); +-- +-- 转存表中的数据 `sent_ad_place` +-- --- ----------------------------- --- 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=4 DEFAULT CHARSET=utf8 COMMENT='插件表'; +INSERT INTO `sent_ad_place` (`id`, `title`, `name`, `show_type`, `show_num`, `start_time`, `end_time`, `create_time`, `update_time`, `template`, `status`) VALUES +(1, '首页幻灯片', 'banner', 1, 5, 0, 0, 1440433367, 1440433367, '', 1); --- ----------------------------- --- 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'); +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_attachment` +-- --- ----------------------------- --- 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', + `id` int(10) UNSIGNED NOT NULL, + `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`) + `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 '状态' ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='附件表'; +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_attribute` +-- --- ----------------------------- --- Table structure for `sent_attribute` --- ----------------------------- DROP TABLE IF EXISTS `sent_attribute`; CREATE TABLE `sent_attribute` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `id` int(10) UNSIGNED NOT NULL, `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 '是否必填', + `model_id` int(11) NOT NULL COMMENT '所属模型', + `is_show` int(11) NOT NULL DEFAULT '1' COMMENT '是否显示', + `is_must` int(11) NOT NULL DEFAULT '0' COMMENT '是否必填', + `group_id` int(11) NOT NULL DEFAULT '1' COMMENT '分组', + `sort` int(11) 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 '创建时间', + `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', + `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='模型属性表'; + `auto_time` tinyint(1) UNSIGNED NOT NULL DEFAULT '0', + `auto_type` varchar(25) NOT NULL DEFAULT '' +) ENGINE=MyISAM 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'); +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_auth_extend` +-- --- ----------------------------- --- 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`) + `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:模型权限' ) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='用户组与分类的对应关系表'; +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_auth_group` +-- --- ----------------------------- --- 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,自增主键', + `id` mediumint(8) UNSIGNED NOT NULL 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`) + `rules` varchar(500) NOT NULL DEFAULT '' COMMENT '用户组拥有的规则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'); +-- +-- 转存表中的数据 `sent_auth_group` +-- + +INSERT INTO `sent_auth_group` (`id`, `module`, `type`, `title`, `description`, `status`, `rules`) VALUES +(1, 'admin', '1', '网站编辑', '网站编辑,针对内容进行管理', 1, '2,1'), +(2, 'admin', '1', '网站运营', '针对网站SEO进行管理', 1, '21,20,14,12,3,19,18,17,16,15,13,1'); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `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' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_auth_rule` +-- --- ----------------------------- --- 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,自增主键', + `id` mediumint(8) UNSIGNED NOT NULL 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; + `condition` varchar(300) NOT NULL DEFAULT '' COMMENT '规则附加条件' +) ENGINE=MyISAM 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', ''); +-- +-- 转存表中的数据 `sent_auth_rule` +-- + +INSERT INTO `sent_auth_rule` (`id`, `module`, `type`, `name`, `title`, `group`, `status`, `condition`) VALUES +(1, 'admin', 2, 'admin/index/index', '后台首页', '首页管理', 1, ''), +(2, 'admin', 2, 'admin/form/index', '自定义表单', '运营管理', 1, ''), +(3, 'admin', 2, 'admin/addons/hooks', '钩子列表', '扩展管理', 1, ''), +(4, 'admin', 2, 'admin/addons/index', '插件列表', '扩展管理', 1, ''), +(5, 'admin', 2, 'admin/ad/index', '广告管理', '运营管理', 1, ''), +(6, 'admin', 2, 'admin/link/index', '友链管理', '运营管理', 1, ''), +(7, 'admin', 2, 'admin/action/log', '行为日志', '会员管理', 1, ''), +(8, 'admin', 2, 'admin/action/index', '行为列表', '会员管理', 1, ''), +(9, 'admin', 2, 'admin/group/access', '权限列表', '会员管理', 1, ''), +(10, 'admin', 2, 'admin/group/index', '用户组表', '会员管理', 1, ''), +(11, 'admin', 2, 'admin/user/index', '用户列表', '会员管理', 1, ''), +(12, 'admin', 2, 'admin/model/index', '模型管理', '内容管理', 1, ''), +(13, 'admin', 2, 'admin/category/index', '栏目管理', '内容管理', 1, ''), +(14, 'admin', 2, 'admin/seo/index', 'SEO设置', '系统管理', 1, ''), +(15, 'admin', 2, 'admin/database/index?type=import', '数据恢复', '系统管理', 1, ''), +(16, 'admin', 2, 'admin/database/index?type=export', '数据备份', '系统管理', 1, ''), +(17, 'admin', 2, 'admin/channel/index', '导航管理', '系统管理', 1, ''), +(18, 'admin', 2, 'admin/menu/index', '菜单管理', '系统管理', 1, ''), +(19, 'admin', 2, 'admin/config/group', '配置管理', '系统管理', 1, ''), +(20, 'admin', 2, 'admin/index/clear', '更新缓存', '首页管理', 1, ''), +(21, 'admin', 1, 'admin/config/add', '配置添加', '系统管理', 1, ''), +(22, 'admin', 2, 'admin/content/index', '内容列表', '内容管理', 1, ''), +(23, 'admin', 2, 'admin/content/add', '内容添加', '内容管理', 1, ''), +(24, 'admin', 1, 'admin/content/edit', '内容编辑', '内容管理', 1, ''), +(25, 'admin', 1, 'admin/content/del', '内容删除', '内容管理', 1, ''), +(26, 'admin', 1, 'admin/content/status', '内容设置状态', '内容管理', 1, ''), +(27, 'admin', 1, 'admin/category/add', '栏目添加', '内容管理', 1, ''), +(28, 'admin', 1, 'admin/category/edit', '栏目编辑', '内容管理', 1, ''), +(29, 'admin', 1, 'admin/category/editable', '栏目单字编辑', '内容管理', 1, ''), +(30, 'admin', 1, 'admin/category/remove', '栏目删除', '内容管理', 1, ''), +(31, 'admin', 1, 'admin/category/merge', '栏目合并', '内容管理', 1, ''), +(32, 'admin', 1, 'admin/category/move', '栏目移动', '内容管理', 1, ''), +(33, 'admin', 1, 'admin/category/status', '栏目状态', '内容管理', 1, ''); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_category` +-- --- ----------------------------- --- 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', + `id` int(10) UNSIGNED NOT NULL 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 '列表每页行数', + `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 '描述', @@ -358,52 +348,53 @@ CREATE TABLE `sent_category` ( `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 '发布的文章是否需要审核', + `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 '更新时间', + `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='分类表'; + `icon` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '分类图标', + `groups` varchar(255) NOT NULL DEFAULT '' COMMENT '分组定义' +) ENGINE=MyISAM 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', ''); +-- +-- 转存表中的数据 `sent_category` +-- + +INSERT INTO `sent_category` (`id`, `name`, `title`, `pid`, `sort`, `list_row`, `meta_title`, `keywords`, `description`, `template_index`, `template_lists`, `template_detail`, `template_edit`, `model`, `model_sub`, `type`, `link_id`, `allow_publish`, `display`, `reply`, `check`, `reply_model`, `extend`, `create_time`, `update_time`, `status`, `icon`, `groups`) VALUES +(1, 'news', '新闻动态', 0, 0, 10, '', '', '', '', '', '', '', '', '2', '2,1', 0, 0, 1, 0, 0, '1', 'null', 1379474947, 1463561497, 1, 0, ''), +(2, 'company_news', '国内新闻', 1, 1, 10, '', '', '', '', '', '', '', '2,3', '2', '2,1,3', 0, 1, 1, 0, 1, '1', '', 1379475028, 1386839751, 1, 0, ''), +(3, '', '国外新闻', 1, 2, 10, '', '', '', '', '', '', '', '', '', '', 0, 1, 1, 0, 0, '', '', 0, 0, 1, 0, ''); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_channel` +-- --- ----------------------------- --- 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', + `id` int(10) UNSIGNED NOT NULL COMMENT '频道ID', + `pid` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '上级频道ID', `title` char(30) NOT NULL COMMENT '频道标题', `url` char(100) NOT NULL COMMENT '频道连接', `type` int(2) NOT NULL DEFAULT '0' COMMENT '导航类型', - `sort` int(10) unsigned NOT NULL DEFAULT '0' 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 '更新时间', + `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; + `target` tinyint(2) UNSIGNED NOT NULL DEFAULT '0' COMMENT '新窗口打开' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `sent_channel` @@ -413,28 +404,28 @@ INSERT INTO `sent_channel` (`id`, `pid`, `title`, `url`, `type`, `sort`, `icon`, (1, 0, '网站首页', 'index/index/index', 0, 1, 'home', '', '', '', 'home', 1379475111, 1464490544, 1, 0), (2, 0, '新闻资讯', 'article/list/1', 0, 1, 'article', '', '', '', 'article', 1379475111, 1464490544, 1, 0); --- ----------------------------- --- Table structure for `sent_config` --- ----------------------------- +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_config` +-- + DROP TABLE IF EXISTS `sent_config`; CREATE TABLE `sent_config` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '配置ID', + `id` int(10) UNSIGNED NOT NULL 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 '配置分组', + `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 '更新时间', + `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=43 DEFAULT CHARSET=utf8; + `sort` smallint(3) UNSIGNED NOT NULL DEFAULT '0' COMMENT '排序' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `sent_config` @@ -477,681 +468,615 @@ INSERT INTO `sent_config` (`id`, `name`, `type`, `title`, `group`, `extra`, `rem (42, 'mobile_themes', 'text', '手机站模板', 0, '', '', '', 1480043066, 1480043066, 1, '', 0), (43, 'nav_type_list', 'textarea', '导航分类', 99, '', '', '', 1481539756, 1481539801, 1, '1:顶部\r\n2:底部', 1); --- ----------------------------- --- Table structure for `sent_district` --- ----------------------------- +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_district` +-- + DROP TABLE IF EXISTS `sent_district`; CREATE TABLE `sent_district` ( - `id` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, + `id` mediumint(8) UNSIGNED NOT NULL, `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='中国省市区乡镇数据表'; + `level` tinyint(4) UNSIGNED NOT NULL DEFAULT '0', + `upid` mediumint(8) UNSIGNED NOT NULL DEFAULT '0' +) ENGINE=MyISAM 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'); +-- +-- 转存表中的数据 `sent_district` +-- --- ----------------------------- --- 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='文档模型基础表'; +INSERT INTO `sent_district` (`id`, `name`, `level`, `upid`) VALUES +(1, '北京市', 1, 0), +(2, '天津市', 1, 0), +(3, '河北省', 1, 0), +(4, '山西省', 1, 0), +(5, '内蒙古自治区', 1, 0), +(6, '辽宁省', 1, 0), +(7, '吉林省', 1, 0), +(8, '黑龙江省', 1, 0), +(9, '上海市', 1, 0), +(10, '江苏省', 1, 0), +(11, '浙江省', 1, 0), +(12, '安徽省', 1, 0), +(13, '福建省', 1, 0), +(14, '江西省', 1, 0), +(15, '山东省', 1, 0), +(16, '河南省', 1, 0), +(17, '湖北省', 1, 0), +(18, '湖南省', 1, 0), +(19, '广东省', 1, 0), +(20, '广西壮族自治区', 1, 0), +(21, '海南省', 1, 0), +(22, '重庆市', 1, 0), +(23, '四川省', 1, 0), +(24, '贵州省', 1, 0), +(25, '云南省', 1, 0), +(26, '西藏自治区', 1, 0), +(27, '陕西省', 1, 0), +(28, '甘肃省', 1, 0), +(29, '青海省', 1, 0), +(30, '宁夏回族自治区', 1, 0), +(31, '新疆维吾尔自治区', 1, 0), +(32, '台湾省', 1, 0), +(33, '香港特别行政区', 1, 0), +(34, '澳门特别行政区', 1, 0), +(35, '海外', 1, 0), +(36, '其他', 1, 0), +(37, '东城区', 2, 1), +(38, '西城区', 2, 1), +(39, '崇文区', 2, 1), +(40, '宣武区', 2, 1), +(41, '朝阳区', 2, 1), +(42, '丰台区', 2, 1), +(43, '石景山区', 2, 1), +(44, '海淀区', 2, 1), +(45, '门头沟区', 2, 1), +(46, '房山区', 2, 1), +(47, '通州区', 2, 1), +(48, '顺义区', 2, 1), +(49, '昌平区', 2, 1), +(50, '大兴区', 2, 1), +(51, '怀柔区', 2, 1), +(52, '平谷区', 2, 1), +(53, '密云县', 2, 1), +(54, '延庆县', 2, 1), +(55, '和平区', 2, 2), +(56, '河东区', 2, 2), +(57, '河西区', 2, 2), +(58, '南开区', 2, 2), +(59, '河北区', 2, 2), +(60, '红桥区', 2, 2), +(61, '塘沽区', 2, 2), +(62, '汉沽区', 2, 2), +(63, '大港区', 2, 2), +(64, '东丽区', 2, 2), +(65, '西青区', 2, 2), +(66, '津南区', 2, 2), +(67, '北辰区', 2, 2), +(68, '武清区', 2, 2), +(69, '宝坻区', 2, 2), +(70, '宁河县', 2, 2), +(71, '静海县', 2, 2), +(72, '蓟县', 2, 2), +(73, '石家庄市', 2, 3), +(74, '唐山市', 2, 3), +(75, '秦皇岛市', 2, 3), +(76, '邯郸市', 2, 3), +(77, '邢台市', 2, 3), +(78, '保定市', 2, 3), +(79, '张家口市', 2, 3), +(80, '承德市', 2, 3), +(81, '衡水市', 2, 3), +(82, '廊坊市', 2, 3), +(83, '沧州市', 2, 3), +(84, '太原市', 2, 4), +(85, '大同市', 2, 4), +(86, '阳泉市', 2, 4), +(87, '长治市', 2, 4), +(88, '晋城市', 2, 4), +(89, '朔州市', 2, 4), +(90, '晋中市', 2, 4), +(91, '运城市', 2, 4), +(92, '忻州市', 2, 4), +(93, '临汾市', 2, 4), +(94, '吕梁市', 2, 4), +(95, '呼和浩特市', 2, 5), +(96, '包头市', 2, 5), +(97, '乌海市', 2, 5), +(98, '赤峰市', 2, 5), +(99, '通辽市', 2, 5), +(100, '鄂尔多斯市', 2, 5), +(101, '呼伦贝尔市', 2, 5), +(102, '巴彦淖尔市', 2, 5), +(103, '乌兰察布市', 2, 5), +(104, '兴安盟', 2, 5), +(105, '锡林郭勒盟', 2, 5), +(106, '阿拉善盟', 2, 5), +(107, '沈阳市', 2, 6), +(108, '大连市', 2, 6), +(109, '鞍山市', 2, 6), +(110, '抚顺市', 2, 6), +(111, '本溪市', 2, 6), +(112, '丹东市', 2, 6), +(113, '锦州市', 2, 6), +(114, '营口市', 2, 6), +(115, '阜新市', 2, 6), +(116, '辽阳市', 2, 6), +(117, '盘锦市', 2, 6), +(118, '铁岭市', 2, 6), +(119, '朝阳市', 2, 6), +(120, '葫芦岛市', 2, 6), +(121, '长春市', 2, 7), +(122, '吉林市', 2, 7), +(123, '四平市', 2, 7), +(124, '辽源市', 2, 7), +(125, '通化市', 2, 7), +(126, '白山市', 2, 7), +(127, '松原市', 2, 7), +(128, '白城市', 2, 7), +(129, '延边朝鲜族自治州', 2, 7), +(130, '哈尔滨市', 2, 8), +(131, '齐齐哈尔市', 2, 8), +(132, '鸡西市', 2, 8), +(133, '鹤岗市', 2, 8), +(134, '双鸭山市', 2, 8), +(135, '大庆市', 2, 8), +(136, '伊春市', 2, 8), +(137, '佳木斯市', 2, 8), +(138, '七台河市', 2, 8), +(139, '牡丹江市', 2, 8), +(140, '黑河市', 2, 8), +(141, '绥化市', 2, 8), +(142, '大兴安岭地区', 2, 8), +(143, '黄浦区', 2, 9), +(144, '卢湾区', 2, 9), +(145, '徐汇区', 2, 9), +(146, '长宁区', 2, 9), +(147, '静安区', 2, 9), +(148, '普陀区', 2, 9), +(149, '闸北区', 2, 9), +(150, '虹口区', 2, 9), +(151, '杨浦区', 2, 9), +(152, '闵行区', 2, 9), +(153, '宝山区', 2, 9), +(154, '嘉定区', 2, 9), +(155, '浦东新区', 2, 9), +(156, '金山区', 2, 9), +(157, '松江区', 2, 9), +(158, '青浦区', 2, 9), +(159, '南汇区', 2, 9), +(160, '奉贤区', 2, 9), +(161, '崇明县', 2, 9), +(162, '南京市', 2, 10), +(163, '无锡市', 2, 10), +(164, '徐州市', 2, 10), +(165, '常州市', 2, 10), +(166, '苏州市', 2, 10), +(167, '南通市', 2, 10), +(168, '连云港市', 2, 10), +(169, '淮安市', 2, 10), +(170, '盐城市', 2, 10), +(171, '扬州市', 2, 10), +(172, '镇江市', 2, 10), +(173, '泰州市', 2, 10), +(174, '宿迁市', 2, 10), +(175, '杭州市', 2, 11), +(176, '宁波市', 2, 11), +(177, '温州市', 2, 11), +(178, '嘉兴市', 2, 11), +(179, '湖州市', 2, 11), +(180, '绍兴市', 2, 11), +(181, '舟山市', 2, 11), +(182, '衢州市', 2, 11), +(183, '金华市', 2, 11), +(184, '台州市', 2, 11), +(185, '丽水市', 2, 11), +(186, '合肥市', 2, 12), +(187, '芜湖市', 2, 12), +(188, '蚌埠市', 2, 12), +(189, '淮南市', 2, 12), +(190, '马鞍山市', 2, 12), +(191, '淮北市', 2, 12), +(192, '铜陵市', 2, 12), +(193, '安庆市', 2, 12), +(194, '黄山市', 2, 12), +(195, '滁州市', 2, 12), +(196, '阜阳市', 2, 12), +(197, '宿州市', 2, 12), +(198, '巢湖市', 2, 12), +(199, '六安市', 2, 12), +(200, '亳州市', 2, 12), +(201, '池州市', 2, 12), +(202, '宣城市', 2, 12), +(203, '福州市', 2, 13), +(204, '厦门市', 2, 13), +(205, '莆田市', 2, 13), +(206, '三明市', 2, 13), +(207, '泉州市', 2, 13), +(208, '漳州市', 2, 13), +(209, '南平市', 2, 13), +(210, '龙岩市', 2, 13), +(211, '宁德市', 2, 13), +(212, '南昌市', 2, 14), +(213, '景德镇市', 2, 14), +(214, '萍乡市', 2, 14), +(215, '九江市', 2, 14), +(216, '新余市', 2, 14), +(217, '鹰潭市', 2, 14), +(218, '赣州市', 2, 14), +(219, '吉安市', 2, 14), +(220, '宜春市', 2, 14), +(221, '抚州市', 2, 14), +(222, '上饶市', 2, 14), +(223, '济南市', 2, 15), +(224, '青岛市', 2, 15), +(225, '淄博市', 2, 15), +(226, '枣庄市', 2, 15), +(227, '东营市', 2, 15), +(228, '烟台市', 2, 15), +(229, '潍坊市', 2, 15), +(230, '济宁市', 2, 15), +(231, '泰安市', 2, 15), +(232, '威海市', 2, 15), +(233, '日照市', 2, 15), +(234, '莱芜市', 2, 15), +(235, '临沂市', 2, 15), +(236, '德州市', 2, 15), +(237, '聊城市', 2, 15), +(238, '滨州市', 2, 15), +(239, '菏泽市', 2, 15), +(240, '郑州市', 2, 16), +(241, '开封市', 2, 16), +(242, '洛阳市', 2, 16), +(243, '平顶山市', 2, 16), +(244, '安阳市', 2, 16), +(245, '鹤壁市', 2, 16), +(246, '新乡市', 2, 16), +(247, '焦作市', 2, 16), +(248, '濮阳市', 2, 16), +(249, '许昌市', 2, 16), +(250, '漯河市', 2, 16), +(251, '三门峡市', 2, 16), +(252, '南阳市', 2, 16), +(253, '商丘市', 2, 16), +(254, '信阳市', 2, 16), +(255, '周口市', 2, 16), +(256, '驻马店市', 2, 16), +(257, '济源市', 2, 16), +(258, '武汉市', 2, 17), +(259, '黄石市', 2, 17), +(260, '十堰市', 2, 17), +(261, '宜昌市', 2, 17), +(262, '襄樊市', 2, 17), +(263, '鄂州市', 2, 17), +(264, '荆门市', 2, 17), +(265, '孝感市', 2, 17), +(266, '荆州市', 2, 17), +(267, '黄冈市', 2, 17), +(268, '咸宁市', 2, 17), +(269, '随州市', 2, 17), +(270, '恩施土家族苗族自治州', 2, 17), +(271, '仙桃市', 2, 17), +(272, '潜江市', 2, 17), +(273, '天门市', 2, 17), +(274, '神农架林区', 2, 17), +(275, '长沙市', 2, 18), +(276, '株洲市', 2, 18), +(277, '湘潭市', 2, 18), +(278, '衡阳市', 2, 18), +(279, '邵阳市', 2, 18), +(280, '岳阳市', 2, 18), +(281, '常德市', 2, 18), +(282, '张家界市', 2, 18), +(283, '益阳市', 2, 18), +(284, '郴州市', 2, 18), +(285, '永州市', 2, 18), +(286, '怀化市', 2, 18), +(287, '娄底市', 2, 18), +(288, '湘西土家族苗族自治州', 2, 18), +(289, '广州市', 2, 19), +(290, '韶关市', 2, 19), +(291, '深圳市', 2, 19), +(292, '珠海市', 2, 19), +(293, '汕头市', 2, 19), +(294, '佛山市', 2, 19), +(295, '江门市', 2, 19), +(296, '湛江市', 2, 19), +(297, '茂名市', 2, 19), +(298, '肇庆市', 2, 19), +(299, '惠州市', 2, 19), +(300, '梅州市', 2, 19), +(301, '汕尾市', 2, 19), +(302, '河源市', 2, 19), +(303, '阳江市', 2, 19), +(304, '清远市', 2, 19), +(305, '东莞市', 2, 19), +(306, '中山市', 2, 19), +(307, '潮州市', 2, 19), +(308, '揭阳市', 2, 19), +(309, '云浮市', 2, 19), +(310, '南宁市', 2, 20), +(311, '柳州市', 2, 20), +(312, '桂林市', 2, 20), +(313, '梧州市', 2, 20), +(314, '北海市', 2, 20), +(315, '防城港市', 2, 20), +(316, '钦州市', 2, 20), +(317, '贵港市', 2, 20), +(318, '玉林市', 2, 20), +(319, '百色市', 2, 20), +(320, '贺州市', 2, 20), +(321, '河池市', 2, 20), +(322, '来宾市', 2, 20), +(323, '崇左市', 2, 20), +(324, '海口市', 2, 21), +(325, '三亚市', 2, 21), +(326, '五指山市', 2, 21), +(327, '琼海市', 2, 21), +(328, '儋州市', 2, 21), +(329, '文昌市', 2, 21), +(330, '万宁市', 2, 21), +(331, '东方市', 2, 21), +(332, '定安县', 2, 21), +(333, '屯昌县', 2, 21), +(334, '澄迈县', 2, 21), +(335, '临高县', 2, 21), +(336, '白沙黎族自治县', 2, 21), +(337, '昌江黎族自治县', 2, 21), +(338, '乐东黎族自治县', 2, 21), +(339, '陵水黎族自治县', 2, 21), +(340, '保亭黎族苗族自治县', 2, 21), +(341, '琼中黎族苗族自治县', 2, 21), +(342, '西沙群岛', 2, 21), +(343, '南沙群岛', 2, 21), +(344, '中沙群岛的岛礁及其海域', 2, 21), +(345, '万州区', 2, 22), +(346, '涪陵区', 2, 22), +(347, '渝中区', 2, 22), +(348, '大渡口区', 2, 22), +(349, '江北区', 2, 22), +(350, '沙坪坝区', 2, 22), +(351, '九龙坡区', 2, 22), +(352, '南岸区', 2, 22), +(353, '北碚区', 2, 22), +(354, '双桥区', 2, 22), +(355, '万盛区', 2, 22), +(356, '渝北区', 2, 22), +(357, '巴南区', 2, 22), +(358, '黔江区', 2, 22), +(359, '长寿区', 2, 22), +(360, '綦江县', 2, 22), +(361, '潼南县', 2, 22), +(362, '铜梁县', 2, 22), +(363, '大足县', 2, 22), +(364, '荣昌县', 2, 22), +(365, '璧山县', 2, 22), +(366, '梁平县', 2, 22), +(367, '城口县', 2, 22), +(368, '丰都县', 2, 22), +(369, '垫江县', 2, 22), +(370, '武隆县', 2, 22), +(371, '忠县', 2, 22), +(372, '开县', 2, 22), +(373, '云阳县', 2, 22), +(374, '奉节县', 2, 22), +(375, '巫山县', 2, 22), +(376, '巫溪县', 2, 22), +(377, '石柱土家族自治县', 2, 22), +(378, '秀山土家族苗族自治县', 2, 22), +(379, '酉阳土家族苗族自治县', 2, 22), +(380, '彭水苗族土家族自治县', 2, 22), +(381, '江津市', 2, 22), +(382, '合川市', 2, 22), +(383, '永川市', 2, 22), +(384, '南川市', 2, 22), +(385, '成都市', 2, 23), +(386, '自贡市', 2, 23), +(387, '攀枝花市', 2, 23), +(388, '泸州市', 2, 23), +(389, '德阳市', 2, 23), +(390, '绵阳市', 2, 23), +(391, '广元市', 2, 23), +(392, '遂宁市', 2, 23), +(393, '内江市', 2, 23), +(394, '乐山市', 2, 23), +(395, '南充市', 2, 23), +(396, '眉山市', 2, 23), +(397, '宜宾市', 2, 23), +(398, '广安市', 2, 23), +(399, '达州市', 2, 23), +(400, '雅安市', 2, 23), +(401, '巴中市', 2, 23), +(402, '资阳市', 2, 23), +(403, '阿坝藏族羌族自治州', 2, 23), +(404, '甘孜藏族自治州', 2, 23), +(405, '凉山彝族自治州', 2, 23), +(406, '贵阳市', 2, 24), +(407, '六盘水市', 2, 24), +(408, '遵义市', 2, 24), +(409, '安顺市', 2, 24), +(410, '铜仁地区', 2, 24), +(411, '黔西南布依族苗族自治州', 2, 24), +(412, '毕节地区', 2, 24), +(413, '黔东南苗族侗族自治州', 2, 24), +(414, '黔南布依族苗族自治州', 2, 24), +(415, '昆明市', 2, 25), +(416, '曲靖市', 2, 25), +(417, '玉溪市', 2, 25), +(418, '保山市', 2, 25), +(419, '昭通市', 2, 25), +(420, '丽江市', 2, 25), +(421, '思茅市', 2, 25), +(422, '临沧市', 2, 25), +(423, '楚雄彝族自治州', 2, 25), +(424, '红河哈尼族彝族自治州', 2, 25), +(425, '文山壮族苗族自治州', 2, 25), +(426, '西双版纳傣族自治州', 2, 25), +(427, '大理白族自治州', 2, 25), +(428, '德宏傣族景颇族自治州', 2, 25), +(429, '怒江傈僳族自治州', 2, 25), +(430, '迪庆藏族自治州', 2, 25), +(431, '拉萨市', 2, 26), +(432, '昌都地区', 2, 26), +(433, '山南地区', 2, 26), +(434, '日喀则地区', 2, 26), +(435, '那曲地区', 2, 26), +(436, '阿里地区', 2, 26), +(437, '林芝地区', 2, 26), +(438, '西安市', 2, 27), +(439, '铜川市', 2, 27), +(440, '宝鸡市', 2, 27), +(441, '咸阳市', 2, 27), +(442, '渭南市', 2, 27), +(443, '延安市', 2, 27), +(444, '汉中市', 2, 27), +(445, '榆林市', 2, 27), +(446, '安康市', 2, 27), +(447, '商洛市', 2, 27), +(448, '兰州市', 2, 28), +(449, '嘉峪关市', 2, 28), +(450, '金昌市', 2, 28), +(451, '白银市', 2, 28), +(452, '天水市', 2, 28), +(453, '武威市', 2, 28), +(454, '张掖市', 2, 28), +(455, '平凉市', 2, 28), +(456, '酒泉市', 2, 28), +(457, '庆阳市', 2, 28), +(458, '定西市', 2, 28), +(459, '陇南市', 2, 28), +(460, '临夏回族自治州', 2, 28), +(461, '甘南藏族自治州', 2, 28), +(462, '西宁市', 2, 29), +(463, '海东地区', 2, 29), +(464, '海北藏族自治州', 2, 29), +(465, '黄南藏族自治州', 2, 29), +(466, '海南藏族自治州', 2, 29), +(467, '果洛藏族自治州', 2, 29), +(468, '玉树藏族自治州', 2, 29), +(469, '海西蒙古族藏族自治州', 2, 29), +(470, '银川市', 2, 30), +(471, '石嘴山市', 2, 30), +(472, '吴忠市', 2, 30), +(473, '固原市', 2, 30), +(474, '中卫市', 2, 30), +(475, '乌鲁木齐市', 2, 31), +(476, '克拉玛依市', 2, 31), +(477, '吐鲁番地区', 2, 31), +(478, '哈密地区', 2, 31), +(479, '昌吉回族自治州', 2, 31), +(480, '博尔塔拉蒙古自治州', 2, 31), +(481, '巴音郭楞蒙古自治州', 2, 31), +(482, '阿克苏地区', 2, 31), +(483, '克孜勒苏柯尔克孜自治州', 2, 31), +(484, '喀什地区', 2, 31), +(485, '和田地区', 2, 31), +(486, '伊犁哈萨克自治州', 2, 31), +(487, '塔城地区', 2, 31), +(488, '阿勒泰地区', 2, 31), +(489, '石河子市', 2, 31), +(490, '阿拉尔市', 2, 31), +(491, '图木舒克市', 2, 31), +(492, '五家渠市', 2, 31), +(493, '台北市', 2, 32), +(494, '高雄市', 2, 32), +(495, '基隆市', 2, 32), +(496, '台中市', 2, 32), +(497, '台南市', 2, 32), +(498, '新竹市', 2, 32), +(499, '嘉义市', 2, 32), +(500, '台北县', 2, 32), +(501, '宜兰县', 2, 32), +(502, '桃园县', 2, 32), +(503, '新竹县', 2, 32), +(504, '苗栗县', 2, 32), +(505, '台中县', 2, 32), +(506, '彰化县', 2, 32), +(507, '南投县', 2, 32), +(508, '云林县', 2, 32), +(509, '嘉义县', 2, 32), +(510, '台南县', 2, 32), +(511, '高雄县', 2, 32), +(512, '屏东县', 2, 32), +(513, '澎湖县', 2, 32), +(514, '台东县', 2, 32), +(515, '花莲县', 2, 32), +(516, '中西区', 2, 33), +(517, '东区', 2, 33), +(518, '九龙城区', 2, 33), +(519, '观塘区', 2, 33), +(520, '南区', 2, 33), +(521, '深水埗区', 2, 33), +(522, '黄大仙区', 2, 33), +(523, '湾仔区', 2, 33); --- ----------------------------- --- 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='文章'; +-- +-- 表的结构 `sent_file` +-- --- ----------------------------- --- Records of `sent_document_article` --- ----------------------------- -INSERT INTO `sent_document_article` VALUES ('2', '

我校辅导员赴天津观摩全国辅导员职业技能大赛第一赛区复赛

', ''); -INSERT INTO `sent_document_article` VALUES ('4', '

南昌腾速科技有限公司关于春节放假通知

', ''); -INSERT INTO `sent_document_article` VALUES ('6', '

我校辅导员赴天津观摩全国辅导员职业技能大赛第一赛区复赛

', ''); -INSERT INTO `sent_document_article` VALUES ('7', '

我校举办高校教师教学发展主题培训会

', ''); -INSERT INTO `sent_document_article` VALUES ('11', '

测试文档标题

', ''); -INSERT INTO `sent_document_article` VALUES ('8', '

市场陈列

', ''); -INSERT INTO `sent_document_article` VALUES ('12', '

测试文章的添加功能

', ''); - --- ----------------------------- --- 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', '', '

测试

'); - --- ----------------------------- --- 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', + `id` int(10) UNSIGNED NOT NULL 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 '文件大小', + `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 '文件保存位置', + `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='文件表'; + `create_time` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '上传时间' +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='文件表'; + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_hooks` +-- --- ----------------------------- --- Table structure for `sent_hooks` --- ----------------------------- DROP TABLE IF EXISTS `sent_hooks`; CREATE TABLE `sent_hooks` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键', + `id` int(10) UNSIGNED NOT NULL 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 '更新时间', + `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; + `status` tinyint(1) UNSIGNED NOT NULL DEFAULT '1' +) ENGINE=MyISAM 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'); +-- +-- 转存表中的数据 `sent_hooks` +-- + +INSERT INTO `sent_hooks` (`id`, `name`, `description`, `type`, `update_time`, `addons`, `status`) VALUES +(1, 'pageHeader', '页面header钩子,一般用于加载插件CSS文件和代码', 1, 0, '', 1), +(2, 'pageFooter', '页面footer钩子,一般用于加载插件JS文件和JS代码', 1, 0, '', 1), +(3, 'documentEditForm', '添加编辑表单的 扩展内容钩子', 1, 0, '', 1), +(4, 'documentDetailAfter', '文档末尾显示', 1, 0, '', 1), +(5, 'documentDetailBefore', '页面内容前显示用钩子', 1, 0, '', 1), +(6, 'documentSaveComplete', '保存文档数据后的扩展钩子', 2, 0, '', 1), +(7, 'documentEditFormContent', '添加编辑表单的内容显示钩子', 1, 0, '', 1), +(8, 'adminArticleEdit', '后台内容编辑页编辑器', 1, 1378982734, '', 1), +(13, 'AdminIndex', '首页小格子个性化显示', 1, 1382596073, 'Sitestat,Devteam,Systeminfo', 1), +(14, 'topicComment', '评论提交方式扩展钩子。', 1, 1380163518, '', 1), +(16, 'app_begin', '应用开始', 2, 1384481614, '', 1), +(17, 'J_China_City', '每个系统都需要的一个中国省市区三级联动插件。', 1, 1455877345, '', 1); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_link` +-- --- ----------------------------- --- Table structure for `sent_link` --- ----------------------------- DROP TABLE IF EXISTS `sent_link`; CREATE TABLE `sent_link` ( - `id` int(5) NOT NULL AUTO_INCREMENT COMMENT '标识ID', + `id` int(5) NOT NULL 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 '链接地址', @@ -1161,27 +1086,31 @@ CREATE TABLE `sent_link` ( `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; + `status` tinyint(1) NOT NULL DEFAULT '1' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; --- ----------------------------- --- Records of `sent_link` --- ----------------------------- -INSERT INTO `sent_link` VALUES ('1', '1', '腾速科技', 'http://www.tensent.cn', '0', '', '0', '0', '1462496026', '0', '1'); +-- +-- 转存表中的数据 `sent_link` +-- + +INSERT INTO `sent_link` (`id`, `ftype`, `title`, `url`, `cover_id`, `descrip`, `sort`, `hits`, `update_time`, `uid`, `status`) VALUES +(1, 1, '腾速科技', 'http://www.tensent.cn', 0, '', 0, 0, 1462496026, 0, 1); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_member` +-- --- ----------------------------- --- 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', + `uid` int(10) UNSIGNED NOT NULL 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 '性别', + `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 '用户积分', @@ -1191,102 +1120,115 @@ CREATE TABLE `sent_member` ( `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 '登录次数', + `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 '注册时间', + `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='会员表'; + `last_login_time` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '最后登录时间', + `status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '会员状态' +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='会员表'; --- ----------------------------- --- Records of `sent_member` --- ----------------------------- +-- +-- 转存表中的数据 `sent_member` +-- + +INSERT INTO `sent_member` (`uid`, `username`, `password`, `nickname`, `email`, `mobile`, `sex`, `birthday`, `qq`, `score`, `signature`, `pos_province`, `pos_city`, `pos_district`, `pos_community`, `salt`, `login`, `reg_ip`, `reg_time`, `last_login_ip`, `last_login_time`, `status`) VALUES +(1, 'admin', '4b1c5287043d53c31a62397b0204ca3c', 'admin', 'admin@tensent.cn', NULL, 0, '0000-00-00', '', 0, NULL, 0, 0, 0, 0, 'HQhWaR', 8, 0, 1497143083, 2130706433, 1497846922, 1); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_member_extend` +-- --- ----------------------------- --- 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`) + `education` int(10) DEFAULT '0' ) ENGINE=MyISAM DEFAULT CHARSET=utf8; --- ----------------------------- --- Records of `sent_member_extend` --- ----------------------------- -INSERT INTO `sent_member_extend` VALUES ('1', '0'); +-- +-- 转存表中的数据 `sent_member_extend` +-- + +INSERT INTO `sent_member_extend` (`uid`, `education`) VALUES +(1, 0); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_member_extend_group` +-- --- ----------------------------- --- 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 '自增主键', + `id` int(11) NOT NULL 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; + `status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '字段状态' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; --- ----------------------------- --- Records of `sent_member_extend_group` --- ----------------------------- -INSERT INTO `sent_member_extend_group` VALUES ('1', 'member_extend', '个人资料', '1403847366', '0', '1', '1'); +-- +-- 转存表中的数据 `sent_member_extend_group` +-- + +INSERT INTO `sent_member_extend_group` (`id`, `name`, `profile_name`, `createTime`, `sort`, `visiable`, `status`) VALUES +(1, 'member_extend', '个人资料', 1403847366, 0, 1, 1); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_member_extend_setting` +-- --- ----------------------------- --- 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, + `id` int(10) UNSIGNED NOT NULL, `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 '是否显示', + `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 '是否必填', + `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='会员字段表'; + `update_time` int(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT '更新时间', + `create_time` int(11) UNSIGNED NOT NULL DEFAULT '0' COMMENT '创建时间' +) ENGINE=MyISAM 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'); +-- +-- 转存表中的数据 `sent_member_extend_setting` +-- + +INSERT INTO `sent_member_extend_setting` (`id`, `name`, `title`, `length`, `type`, `value`, `remark`, `is_show`, `extra`, `is_must`, `status`, `update_time`, `create_time`) VALUES +(1, 'education', '学历', '10', 'select', '', '', 1, '1:小学\r\n2:初中\r\n3:高中', 0, 1, 1455930923, 1455930787); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_menu` +-- --- ----------------------------- --- 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', + `id` int(10) UNSIGNED NOT NULL 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 '排序(同级有效)', + `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 '是否隐藏', + `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; + `is_dev` tinyint(1) UNSIGNED NOT NULL DEFAULT '0' COMMENT '是否仅开发者模式可见', + `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '状态' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; -- -- 转存表中的数据 `sent_menu` @@ -1321,96 +1263,73 @@ INSERT INTO `sent_menu` (`id`, `title`, `type`, `icon`, `pid`, `sort`, `url`, `h (26, '伪静态规则', 'admin', 'magnet', 2, 0, 'admin/seo/rewrite', 0, '', '优化设置', 0, 0), (27, '主题管理', 'admin', 'heartbeat', 2, 0, 'admin/config/themes', 0, '', '系统配置', 0, 0); --- ----------------------------- --- Table structure for `sent_model` --- ----------------------------- +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_model` +-- + DROP TABLE IF EXISTS `sent_model`; CREATE TABLE `sent_model` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '模型ID', + `id` int(10) UNSIGNED NOT NULL 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 '属性别名定义', + `is_doc` int(2) NOT NULL DEFAULT '1' COMMENT '是否为文档模型', + `attribute_group` varchar(255) NOT NULL DEFAULT '1:基础' 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='文档模型表'; + `list_row` smallint(2) UNSIGNED NOT NULL DEFAULT '25' COMMENT '列表数据长度', + `search_key` varchar(50) DEFAULT '' COMMENT '默认搜索字段', + `search_list` varchar(255) DEFAULT '' COMMENT '高级搜索的字段', + `template_list` varchar(255) DEFAULT '' COMMENT '列表显示模板', + `template_add` varchar(255) DEFAULT '' COMMENT '新增模板', + `template_edit` varchar(255) DEFAULT '' COMMENT '编辑模板', + `status` tinyint(3) UNSIGNED 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 '更新时间' +) ENGINE=MyISAM 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='单页'; +-- +-- 表的结构 `sent_picture` +-- - --- ----------------------------- --- 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自增', + `id` int(10) UNSIGNED NOT NULL 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`) + `create_time` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '创建时间' ) ENGINE=MyISAM DEFAULT CHARSET=utf8; +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_rewrite` +-- DROP TABLE IF EXISTS `sent_rewrite`; CREATE TABLE `sent_rewrite` ( - `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键id自增', + `id` int(10) UNSIGNED NOT NULL 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='伪静态表'; + `create_time` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '创建时间', + `update_time` int(10) UNSIGNED NOT NULL DEFAULT '0' COMMENT '更新时间' +) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='伪静态表'; + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_seo_rule` +-- --- ----------------------------- --- 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 '唯一标识', + `id` int(11) UNSIGNED NOT NULL COMMENT '唯一标识', `title` text NOT NULL COMMENT '规则标题', `app` varchar(40) DEFAULT NULL, `controller` varchar(40) DEFAULT NULL, @@ -1419,18 +1338,22 @@ CREATE TABLE `sent_seo_rule` ( `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; + `sort` int(11) NOT NULL DEFAULT '0' COMMENT '排序' +) ENGINE=MyISAM DEFAULT CHARSET=utf8; --- ----------------------------- --- Records of `sent_seo_rule` --- ----------------------------- -INSERT INTO `sent_seo_rule` VALUES ('1', '整站标题', '', '', '', '1', 'SentCMS网站管理系统', 'SentCMS网站管理系统', 'SentCMS网站管理系统', '7'); +-- +-- 转存表中的数据 `sent_seo_rule` +-- + +INSERT INTO `sent_seo_rule` (`id`, `title`, `app`, `controller`, `action`, `status`, `seo_title`, `seo_keywords`, `seo_description`, `sort`) VALUES +(1, '整站标题', '', '', '', 1, 'SentCMS网站管理系统', 'SentCMS网站管理系统', 'SentCMS网站管理系统', 7); + +-- -------------------------------------------------------- + +-- +-- 表的结构 `sent_sync_login` +-- --- ----------------------------- --- Table structure for `sent_sync_login` --- ----------------------------- DROP TABLE IF EXISTS `sent_sync_login`; CREATE TABLE `sent_sync_login` ( `uid` int(11) NOT NULL, @@ -1439,4 +1362,312 @@ CREATE TABLE `sent_sync_login` ( `access_token` varchar(255) NOT NULL, `refresh_token` varchar(255) NOT NULL, `status` tinyint(4) NOT NULL -) ENGINE=MyISAM DEFAULT CHARSET=latin1; \ No newline at end of file +) ENGINE=MyISAM DEFAULT CHARSET=latin1; + +-- +-- Indexes for dumped tables +-- + +-- +-- Indexes for table `sent_action` +-- +ALTER TABLE `sent_action` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_action_log` +-- +ALTER TABLE `sent_action_log` + ADD PRIMARY KEY (`id`), + ADD KEY `action_ip_ix` (`action_ip`), + ADD KEY `action_id_ix` (`action_id`), + ADD KEY `user_id_ix` (`user_id`); + +-- +-- Indexes for table `sent_ad` +-- +ALTER TABLE `sent_ad` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_addons` +-- +ALTER TABLE `sent_addons` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_ad_place` +-- +ALTER TABLE `sent_ad_place` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_attachment` +-- +ALTER TABLE `sent_attachment` + ADD PRIMARY KEY (`id`), + ADD KEY `idx_record_status` (`record_id`,`status`); + +-- +-- Indexes for table `sent_attribute` +-- +ALTER TABLE `sent_attribute` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_auth_extend` +-- +ALTER TABLE `sent_auth_extend` + ADD UNIQUE KEY `group_extend_type` (`group_id`,`extend_id`,`type`), + ADD KEY `uid` (`group_id`), + ADD KEY `group_id` (`extend_id`); + +-- +-- Indexes for table `sent_auth_group` +-- +ALTER TABLE `sent_auth_group` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_auth_group_access` +-- +ALTER TABLE `sent_auth_group_access` + ADD UNIQUE KEY `uid_group_id` (`uid`,`group_id`), + ADD KEY `uid` (`uid`), + ADD KEY `group_id` (`group_id`); + +-- +-- Indexes for table `sent_auth_rule` +-- +ALTER TABLE `sent_auth_rule` + ADD PRIMARY KEY (`id`), + ADD KEY `module` (`module`,`status`,`type`); + +-- +-- Indexes for table `sent_category` +-- +ALTER TABLE `sent_category` + ADD PRIMARY KEY (`id`), + ADD KEY `pid` (`pid`); + +-- +-- Indexes for table `sent_channel` +-- +ALTER TABLE `sent_channel` + ADD PRIMARY KEY (`id`), + ADD KEY `pid` (`pid`); + +-- +-- Indexes for table `sent_config` +-- +ALTER TABLE `sent_config` + ADD PRIMARY KEY (`id`), + ADD KEY `type` (`type`), + ADD KEY `group` (`group`); + +-- +-- Indexes for table `sent_district` +-- +ALTER TABLE `sent_district` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_file` +-- +ALTER TABLE `sent_file` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_hooks` +-- +ALTER TABLE `sent_hooks` + ADD PRIMARY KEY (`id`), + ADD UNIQUE KEY `name` (`name`); + +-- +-- Indexes for table `sent_link` +-- +ALTER TABLE `sent_link` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_member` +-- +ALTER TABLE `sent_member` + ADD PRIMARY KEY (`uid`), + ADD KEY `status` (`status`); + +-- +-- Indexes for table `sent_member_extend` +-- +ALTER TABLE `sent_member_extend` + ADD PRIMARY KEY (`uid`); + +-- +-- Indexes for table `sent_member_extend_group` +-- +ALTER TABLE `sent_member_extend_group` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_member_extend_setting` +-- +ALTER TABLE `sent_member_extend_setting` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_menu` +-- +ALTER TABLE `sent_menu` + ADD PRIMARY KEY (`id`), + ADD KEY `pid` (`pid`), + ADD KEY `status` (`status`); + +-- +-- Indexes for table `sent_model` +-- +ALTER TABLE `sent_model` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_picture` +-- +ALTER TABLE `sent_picture` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_rewrite` +-- +ALTER TABLE `sent_rewrite` + ADD PRIMARY KEY (`id`); + +-- +-- Indexes for table `sent_seo_rule` +-- +ALTER TABLE `sent_seo_rule` + ADD PRIMARY KEY (`id`); + +-- +-- 在导出的表使用AUTO_INCREMENT +-- + +-- +-- 使用表AUTO_INCREMENT `sent_action` +-- +ALTER TABLE `sent_action` + MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=13; +-- +-- 使用表AUTO_INCREMENT `sent_action_log` +-- +ALTER TABLE `sent_action_log` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=1; +-- +-- 使用表AUTO_INCREMENT `sent_ad` +-- +ALTER TABLE `sent_ad` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=6; +-- +-- 使用表AUTO_INCREMENT `sent_addons` +-- +ALTER TABLE `sent_addons` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=4; +-- +-- 使用表AUTO_INCREMENT `sent_ad_place` +-- +ALTER TABLE `sent_ad_place` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=3; +-- +-- 使用表AUTO_INCREMENT `sent_attachment` +-- +ALTER TABLE `sent_attachment` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT; +-- +-- 使用表AUTO_INCREMENT `sent_attribute` +-- +ALTER TABLE `sent_attribute` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=1; +-- +-- 使用表AUTO_INCREMENT `sent_auth_group` +-- +ALTER TABLE `sent_auth_group` + MODIFY `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '用户组id,自增主键', AUTO_INCREMENT=5; +-- +-- 使用表AUTO_INCREMENT `sent_auth_rule` +-- +ALTER TABLE `sent_auth_rule` + MODIFY `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '规则id,自增主键', AUTO_INCREMENT=34; +-- +-- 使用表AUTO_INCREMENT `sent_category` +-- +ALTER TABLE `sent_category` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '分类ID', AUTO_INCREMENT=8; +-- +-- 使用表AUTO_INCREMENT `sent_channel` +-- +ALTER TABLE `sent_channel` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '频道ID', AUTO_INCREMENT=21; +-- +-- 使用表AUTO_INCREMENT `sent_config` +-- +ALTER TABLE `sent_config` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '配置ID', AUTO_INCREMENT=44; +-- +-- 使用表AUTO_INCREMENT `sent_district` +-- +ALTER TABLE `sent_district` + MODIFY `id` mediumint(8) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=45052; +-- +-- 使用表AUTO_INCREMENT `sent_file` +-- +ALTER TABLE `sent_file` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '文件ID'; +-- +-- 使用表AUTO_INCREMENT `sent_hooks` +-- +ALTER TABLE `sent_hooks` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键', AUTO_INCREMENT=18; +-- +-- 使用表AUTO_INCREMENT `sent_link` +-- +ALTER TABLE `sent_link` + MODIFY `id` int(5) NOT NULL AUTO_INCREMENT COMMENT '标识ID', AUTO_INCREMENT=21; +-- +-- 使用表AUTO_INCREMENT `sent_member` +-- +ALTER TABLE `sent_member` + MODIFY `uid` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '用户ID', AUTO_INCREMENT=2; +-- +-- 使用表AUTO_INCREMENT `sent_member_extend_group` +-- +ALTER TABLE `sent_member_extend_group` + MODIFY `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '自增主键', AUTO_INCREMENT=2; +-- +-- 使用表AUTO_INCREMENT `sent_member_extend_setting` +-- +ALTER TABLE `sent_member_extend_setting` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2; +-- +-- 使用表AUTO_INCREMENT `sent_menu` +-- +ALTER TABLE `sent_menu` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '文档ID', AUTO_INCREMENT=28; +-- +-- 使用表AUTO_INCREMENT `sent_model` +-- +ALTER TABLE `sent_model` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '模型ID', AUTO_INCREMENT=1; +-- +-- 使用表AUTO_INCREMENT `sent_picture` +-- +ALTER TABLE `sent_picture` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键id自增'; +-- +-- 使用表AUTO_INCREMENT `sent_rewrite` +-- +ALTER TABLE `sent_rewrite` + MODIFY `id` int(10) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '主键id自增'; +-- +-- 使用表AUTO_INCREMENT `sent_seo_rule` +-- +ALTER TABLE `sent_seo_rule` + MODIFY `id` int(11) UNSIGNED NOT NULL AUTO_INCREMENT COMMENT '唯一标识', AUTO_INCREMENT=4;COMMIT;