/*
Navicat MySQL Data Transfer

Source Server         : localhost
Source Server Version : 50732
Source Host           : localhost:3306
Source Database       : at

Target Server Type    : MYSQL
Target Server Version : 50732
File Encoding         : 65001

Date: 2020-11-19 11:58:15
*/

SET FOREIGN_KEY_CHECKS=0;

-- ----------------------------
-- Table structure for kg_access
-- ----------------------------
DROP TABLE IF EXISTS `kg_access`;
CREATE TABLE `kg_access` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `webid` int(10) unsigned NOT NULL COMMENT '访问的应用ID',
  `aid` varchar(32) NOT NULL COMMENT '自动用户ID，随机生成并记录于COOKIE[''KGCMS_ACCESS_ID'']',
  `userid` int(10) unsigned NOT NULL COMMENT '前台用户id',
  `adminid` int(10) unsigned NOT NULL COMMENT '后台管理员id',
  `model` varchar(50) NOT NULL COMMENT '访问模块：admin/web/..',
  `page` varchar(50) NOT NULL COMMENT '访问页面',
  `url` varchar(255) NOT NULL COMMENT '访问完整URL',
  `source` varchar(255) NOT NULL COMMENT '来源网址',
  `domain` varchar(255) NOT NULL COMMENT '来源域名',
  `ip` varchar(15) NOT NULL COMMENT '访客IP地址',
  `country` varchar(255) NOT NULL COMMENT '国家',
  `province` varchar(255) NOT NULL COMMENT '省份区域	',
  `city` varchar(255) NOT NULL COMMENT '城市',
  `ips` varchar(50) NOT NULL COMMENT '运营商',
  `rectangle` varchar(100) NOT NULL COMMENT '经纬度',
  `os` varchar(255) NOT NULL COMMENT '操作系统',
  `browser` varchar(500) NOT NULL COMMENT '客户端浏览器信息',
  `addtime` int(10) unsigned NOT NULL COMMENT '记录时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=165 DEFAULT CHARSET=utf8 COMMENT='前/后台访问统计';

-- ----------------------------
-- Records of kg_access
-- ----------------------------
INSERT INTO `kg_access` VALUES ('1', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '0', '174', 'admin', 'web_statistics_access', 'http://v.kgcms.com/admin/web_statistics_access?page=7', 'http://v.kgcms.com/admin/web_statistics_access?page=5', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604972872');
INSERT INTO `kg_access` VALUES ('2', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'article', 'http://v.kgcms.com/article?id=50', 'http://v.kgcms.com/index', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604972880');
INSERT INTO `kg_access` VALUES ('3', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'article', 'http://v.kgcms.com/article?cid=84', 'http://v.kgcms.com/article?id=50', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604972884');
INSERT INTO `kg_access` VALUES ('4', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'article', 'http://v.kgcms.com/article?id=76', 'http://v.kgcms.com/article?cid=84', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604972888');
INSERT INTO `kg_access` VALUES ('5', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'comment', 'http://v.kgcms.com/comment', 'http://v.kgcms.com/article?id=76', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604972892');
INSERT INTO `kg_access` VALUES ('6', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '0', '174', 'admin', 'article_manage', 'http://v.kgcms.com/admin/article_manage', 'http://v.kgcms.com/admin/web_statistics_access?page=7', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604972919');
INSERT INTO `kg_access` VALUES ('7', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '0', '174', 'admin', 'article_update', 'http://v.kgcms.com/admin/article_update?id=76', 'http://v.kgcms.com/admin/article_manage', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604972927');
INSERT INTO `kg_access` VALUES ('8', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'index', 'http://v.kgcms.com/', 'http://v.kgcms.com/admin/article_update?id=76', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604972928');
INSERT INTO `kg_access` VALUES ('9', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'api', 'ueditor_upload', 'http://v.kgcms.com/api/ueditor_upload?dir=article&action=config&&noCache=1604972928274', 'http://v.kgcms.com/admin/article_update?id=76', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604972928');
INSERT INTO `kg_access` VALUES ('10', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '0', '174', 'api', 'ueditor_upload', 'http://v.kgcms.com/api/ueditor_upload?dir=article&action=config&&noCache=1604972990338', 'http://v.kgcms.com/admin/article_update?id=76', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604972991');
INSERT INTO `kg_access` VALUES ('11', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'api', 'ueditor_upload', 'http://v.kgcms.com/api/ueditor_upload?dir=article&action=config&&noCache=1604973094262', 'http://v.kgcms.com/admin/article_update?id=76', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973094');
INSERT INTO `kg_access` VALUES ('12', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '0', '174', 'api', 'ueditor_upload', 'http://v.kgcms.com/api/ueditor_upload?dir=article&action=config&&noCache=1604973129117', 'http://v.kgcms.com/admin/article_update?id=76', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973129');
INSERT INTO `kg_access` VALUES ('13', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'api', 'ueditor_upload', 'http://v.kgcms.com/api/ueditor_upload?dir=article&action=config&&noCache=1604973174283', 'http://v.kgcms.com/admin/article_update?id=76', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973174');
INSERT INTO `kg_access` VALUES ('14', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'article', 'http://v.kgcms.com/article?id=76', 'http://v.kgcms.com/article?cid=84', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973207');
INSERT INTO `kg_access` VALUES ('15', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'comment', 'http://v.kgcms.com/comment', 'http://v.kgcms.com/article?id=76', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973212');
INSERT INTO `kg_access` VALUES ('16', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'article', 'http://v.kgcms.com/article?cid=83', 'http://v.kgcms.com/article?id=76', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973219');
INSERT INTO `kg_access` VALUES ('17', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'article', 'http://v.kgcms.com/article?id=75', 'http://v.kgcms.com/article?cid=83', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973221');
INSERT INTO `kg_access` VALUES ('18', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'article', 'http://v.kgcms.com/article?cid=82', 'http://v.kgcms.com/article?id=75', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973225');
INSERT INTO `kg_access` VALUES ('19', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'article', 'http://v.kgcms.com/article?cid=81', 'http://v.kgcms.com/article?cid=82', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973227');
INSERT INTO `kg_access` VALUES ('20', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'article', 'http://v.kgcms.com/article?id=113', 'http://v.kgcms.com/article?cid=81', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973229');
INSERT INTO `kg_access` VALUES ('21', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'article', 'http://v.kgcms.com/article?cid=68', 'http://v.kgcms.com/article?cid=81', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973236');
INSERT INTO `kg_access` VALUES ('22', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'article', 'http://v.kgcms.com/article?cid=79', 'http://v.kgcms.com/article?cid=68', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973238');
INSERT INTO `kg_access` VALUES ('23', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'article', 'http://v.kgcms.com/article?cid=91', 'http://v.kgcms.com/article?cid=79', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973239');
INSERT INTO `kg_access` VALUES ('24', '12', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '0', 'web', 'index', 'http://v.kgcms.com/', 'http://v.kgcms.com/article?cid=82', 'v.kgcms.com', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1604973244');
INSERT INTO `kg_access` VALUES ('25', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '0', 'web', 'index', 'http://v.kgcms.com/', '', '', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604975767');
INSERT INTO `kg_access` VALUES ('26', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '0', 'admin', 'login', 'http://v.kgcms.com/admin/login', 'http://v.kgcms.com/admin/', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604975772');
INSERT INTO `kg_access` VALUES ('27', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '138', 'admin', 'index', 'http://v.kgcms.com/admin/', 'http://v.kgcms.com/admin/login', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604975828');
INSERT INTO `kg_access` VALUES ('28', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '138', 'admin', 'role_manage', 'http://v.kgcms.com/admin/role_manage', 'http://v.kgcms.com/admin/', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604975848');
INSERT INTO `kg_access` VALUES ('29', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '138', 'admin', 'admin_manage', 'http://v.kgcms.com/admin/admin_manage', 'http://v.kgcms.com/admin/role_manage', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604975849');
INSERT INTO `kg_access` VALUES ('30', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '138', 'admin', 'admin_manage', 'http://v.kgcms.com/admin/admin_manage?del=174', 'http://v.kgcms.com/admin/admin_manage', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604975853');
INSERT INTO `kg_access` VALUES ('31', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '138', 'admin', 'app_manage', 'http://v.kgcms.com/admin/app_manage', 'http://v.kgcms.com/admin/role_manage', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604975858');
INSERT INTO `kg_access` VALUES ('32', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '138', 'admin', 'set_globals', 'http://v.kgcms.com/admin/set_globals', 'http://v.kgcms.com/admin/app_manage', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604975860');
INSERT INTO `kg_access` VALUES ('33', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '138', 'admin', 'set_member', 'http://v.kgcms.com/admin/set_member', 'http://v.kgcms.com/admin/admin_manage', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604975862');
INSERT INTO `kg_access` VALUES ('34', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '138', 'admin', 'article_manage', 'http://v.kgcms.com/admin/article_manage', 'http://v.kgcms.com/admin/', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604976128');
INSERT INTO `kg_access` VALUES ('35', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '138', 'admin', 'product_manage', 'http://v.kgcms.com/admin/product_manage', 'http://v.kgcms.com/admin/article_manage', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604976131');
INSERT INTO `kg_access` VALUES ('36', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '138', 'admin', 'picture_manage', 'http://v.kgcms.com/admin/picture_manage', 'http://v.kgcms.com/admin/product_manage', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604976133');
INSERT INTO `kg_access` VALUES ('37', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '138', 'admin', 'ad_manage', 'http://v.kgcms.com/admin/ad_manage', 'http://v.kgcms.com/admin/picture_manage', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604976134');
INSERT INTO `kg_access` VALUES ('38', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '138', 'admin', 'index', 'http://v.kgcms.com/admin/', 'http://v.kgcms.com/admin/ad_manage', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604976500');
INSERT INTO `kg_access` VALUES ('39', '12', '6fnrs1ZGGptPNf3UukVTA4vhL7uQkzSo', '0', '138', 'api', 'admin_process', 'http://v.kgcms.com/api/admin_process?action=app_restart', 'http://v.kgcms.com/admin/', 'v.kgcms.com', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/75.0.3770.142 Safari/537.36', '1604976505');
INSERT INTO `kg_access` VALUES ('40', '12', 'pn8NapoJHvNLoak2lX9kU68LI9KXdEaC', '0', '0', 'web', 'index', 'http://v.kgcms.com/', '', '', '163.177.13.2', '中国', '广东省', '广州市', '联通', '', '', 'libcurl-agent/7.19.0', '1604992555');
INSERT INTO `kg_access` VALUES ('41', '12', 'iAvGYw3K9VGLHoJDgq4Au1zWMxYrVVES', '0', '0', 'web', 'index', 'http://v.kgcms.com/', '', '', '101.132.121.35', '中国', '上海', '上海市', '阿里云', '', 'X11; Ubuntu; Linux x86_64; rv:36.0', 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', '1605005375');
INSERT INTO `kg_access` VALUES ('42', '12', 'iWG94TmQyyhvT80BikSoeMpl6HqhtLpj', '0', '0', 'web', 'index', 'http://v.kgcms.com/', '', '', '47.101.193.98', '中国', '上海', '上海市', '阿里云', '', 'X11; Ubuntu; Linux x86_64; rv:36.0', 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', '1605102494');
INSERT INTO `kg_access` VALUES ('43', '12', 'TOKe6jdztSqPoNYdyZfPTzxQkqfHYutP', '0', '0', 'web', 'index', 'http://v.kgcms.com/', '', '', '106.15.201.70', '中国', '上海', '上海市', '阿里云', '', 'X11; Ubuntu; Linux x86_64; rv:36.0', 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:36.0) Gecko/20100101 Firefox/36.0', '1605138669');
INSERT INTO `kg_access` VALUES ('44', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '0', 'admin', 'login', 'http://localhost:8001/admin/login', 'http://localhost:8001/admin/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605692381');
INSERT INTO `kg_access` VALUES ('45', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'index', 'http://localhost:8001/admin/', 'http://localhost:8001/admin/login', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605692389');
INSERT INTO `kg_access` VALUES ('46', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'article_manage', 'http://localhost:8001/admin/article_manage', 'http://localhost:8001/admin/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605692406');
INSERT INTO `kg_access` VALUES ('47', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'category_manage', 'http://localhost:8001/admin/category_manage', 'http://localhost:8001/admin/article_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605692410');
INSERT INTO `kg_access` VALUES ('48', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '0', 'web', 'index', 'http://localhost:8001/', 'http://localhost:8001/admin/category_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605692413');
INSERT INTO `kg_access` VALUES ('49', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_manage', 'http://localhost:8001/admin/download_manage', 'http://localhost:8001/admin/category_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605693832');
INSERT INTO `kg_access` VALUES ('50', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'index', 'http://localhost:8001/admin/', 'http://localhost:8001/admin', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605745833');
INSERT INTO `kg_access` VALUES ('51', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '0', 'web', 'index', 'http://localhost:8001/', 'http://localhost:8001/admin/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605745876');
INSERT INTO `kg_access` VALUES ('52', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '0', 'web', 'download', 'http://localhost:8001/download', 'http://localhost:8001/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605745878');
INSERT INTO `kg_access` VALUES ('53', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '0', 'user', 'login', 'http://localhost:8001/user/login', 'http://localhost:8001/download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605745879');
INSERT INTO `kg_access` VALUES ('54', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'user', 'index', 'http://localhost:8001/user/', 'http://localhost:8001/user/login', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605745889');
INSERT INTO `kg_access` VALUES ('55', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'user', 'center', 'http://localhost:8001/user/center', 'http://localhost:8001/user/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605745890');
INSERT INTO `kg_access` VALUES ('56', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'picture_manage', 'http://localhost:8001/admin/picture_manage', 'http://localhost:8001/admin/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605745918');
INSERT INTO `kg_access` VALUES ('57', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_manage', 'http://localhost:8001/admin/download_manage', 'http://localhost:8001/admin/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605745929');
INSERT INTO `kg_access` VALUES ('58', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'category_manage', 'http://localhost:8001/admin/category_manage', 'http://localhost:8001/admin/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605745929');
INSERT INTO `kg_access` VALUES ('59', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_update', 'http://localhost:8001/admin/download_update', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605745934');
INSERT INTO `kg_access` VALUES ('60', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'api', 'ueditor_upload', 'http://localhost:8001/api/ueditor_upload?dir=download&action=config&&noCache=1605745936006', 'http://localhost:8001/admin/download_update', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605745936');
INSERT INTO `kg_access` VALUES ('61', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'api', 'ueditor_upload', 'http://localhost:8001/api/ueditor_upload?dir=download&action=config&&noCache=1605745954568', 'http://localhost:8001/admin/download_update', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605745954');
INSERT INTO `kg_access` VALUES ('62', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_update', 'http://localhost:8001/admin/download_update', 'http://localhost:8001/admin/download_update', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605747719');
INSERT INTO `kg_access` VALUES ('63', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_manage', 'http://localhost:8001/admin/download_manage', 'http://localhost:8001/admin/download_update', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605747720');
INSERT INTO `kg_access` VALUES ('64', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_update', 'http://localhost:8001/admin/download_update?id=3', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605747725');
INSERT INTO `kg_access` VALUES ('65', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'index', 'http://localhost:8001/', 'http://localhost:8001/admin/download_update?id=3', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605747726');
INSERT INTO `kg_access` VALUES ('66', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'api', 'ueditor_upload', 'http://localhost:8001/api/ueditor_upload?dir=download&action=config&&noCache=1605747726755', 'http://localhost:8001/admin/download_update?id=3', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605747727');
INSERT INTO `kg_access` VALUES ('67', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'api', 'ueditor_upload', 'http://localhost:8001/api/ueditor_upload?dir=download&action=config&&noCache=1605747743496', 'http://localhost:8001/admin/download_update', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605747743');
INSERT INTO `kg_access` VALUES ('68', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download', 'http://localhost:8001/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605747793');
INSERT INTO `kg_access` VALUES ('69', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'user', 'center', 'http://localhost:8001/user/center', 'http://localhost:8001/user/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605748529');
INSERT INTO `kg_access` VALUES ('70', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'api', 'admin_process', 'http://localhost:8001/api/admin_process?action=app_restart', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605748532');
INSERT INTO `kg_access` VALUES ('71', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download', 'http://localhost:8001/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605748833');
INSERT INTO `kg_access` VALUES ('72', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'api', 'admin_process', 'http://localhost:8001/api/admin_process?action=app_restart', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605748876');
INSERT INTO `kg_access` VALUES ('73', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'api', 'admin_process', 'http://localhost:8001/api/admin_process?action=app_restart', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605749275');
INSERT INTO `kg_access` VALUES ('74', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download', 'http://localhost:8001/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605749368');
INSERT INTO `kg_access` VALUES ('75', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'api', 'admin_process', 'http://localhost:8001/api/admin_process?action=app_restart', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605749576');
INSERT INTO `kg_access` VALUES ('76', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download', 'http://localhost:8001/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605749838');
INSERT INTO `kg_access` VALUES ('77', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_update', 'http://localhost:8001/admin/download_update?id=4', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605749938');
INSERT INTO `kg_access` VALUES ('78', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'index', 'http://localhost:8001/', 'http://localhost:8001/admin/download_update?id=4', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605749941');
INSERT INTO `kg_access` VALUES ('79', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'api', 'ueditor_upload', 'http://localhost:8001/api/ueditor_upload?dir=download&action=config&&noCache=1605749940907', 'http://localhost:8001/admin/download_update?id=4', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605749941');
INSERT INTO `kg_access` VALUES ('80', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_update', 'http://localhost:8001/admin/download_update?id=2', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605749963');
INSERT INTO `kg_access` VALUES ('81', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'api', 'ueditor_upload', 'http://localhost:8001/api/ueditor_upload?dir=download&action=config&&noCache=1605749965012', 'http://localhost:8001/admin/download_update?id=2', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605749965');
INSERT INTO `kg_access` VALUES ('82', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_manage', 'http://localhost:8001/admin/download_manage', 'http://localhost:8001/admin/download_update?id=2', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605750358');
INSERT INTO `kg_access` VALUES ('83', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download', 'http://localhost:8001/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605750578');
INSERT INTO `kg_access` VALUES ('84', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download?id=2', 'http://localhost:8001/download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605750585');
INSERT INTO `kg_access` VALUES ('85', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download?action=download&download=2', 'http://localhost:8001/download?id=2', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605750585');
INSERT INTO `kg_access` VALUES ('86', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_update', 'http://localhost:8001/admin/download_update?id=3', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605750612');
INSERT INTO `kg_access` VALUES ('87', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'index', 'http://localhost:8001/', 'http://localhost:8001/admin/download_update?id=3', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605750614');
INSERT INTO `kg_access` VALUES ('88', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'api', 'ueditor_upload', 'http://localhost:8001/api/ueditor_upload?dir=download&action=config&&noCache=1605750614965', 'http://localhost:8001/admin/download_update?id=3', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605750615');
INSERT INTO `kg_access` VALUES ('89', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download', 'http://localhost:8001/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605750899');
INSERT INTO `kg_access` VALUES ('90', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_update', 'http://localhost:8001/admin/download_update?id=3', 'http://localhost:8001/admin/download_update?id=3', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605751210');
INSERT INTO `kg_access` VALUES ('91', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_manage', 'http://localhost:8001/admin/download_manage', 'http://localhost:8001/admin/download_update?id=3', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605751211');
INSERT INTO `kg_access` VALUES ('92', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'index', 'http://localhost:8001/', 'http://localhost:8001/admin/download_update?id=3', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605751217');
INSERT INTO `kg_access` VALUES ('93', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'api', 'ueditor_upload', 'http://localhost:8001/api/ueditor_upload?dir=download&action=config&&noCache=1605751217503', 'http://localhost:8001/admin/download_update?id=3', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605751217');
INSERT INTO `kg_access` VALUES ('94', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_update', 'http://localhost:8001/admin/download_update?id=4', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605751219');
INSERT INTO `kg_access` VALUES ('95', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'api', 'ueditor_upload', 'http://localhost:8001/api/ueditor_upload?dir=download&action=config&&noCache=1605751222139', 'http://localhost:8001/admin/download_update?id=4', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605751222');
INSERT INTO `kg_access` VALUES ('96', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'api', 'ueditor_upload', 'http://localhost:8001/api/ueditor_upload?dir=download&action=config&&noCache=1605751235227', 'http://localhost:8001/admin/download_update?id=3', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605751235');
INSERT INTO `kg_access` VALUES ('97', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download', 'http://localhost:8001/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605751299');
INSERT INTO `kg_access` VALUES ('98', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download', 'http://localhost:8001/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752028');
INSERT INTO `kg_access` VALUES ('99', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download?action=download&mirror=0&download=4', 'http://localhost:8001/download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752038');
INSERT INTO `kg_access` VALUES ('100', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download?action=download&mirror=2&download=3', 'http://localhost:8001/download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752052');
INSERT INTO `kg_access` VALUES ('101', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download?action=download&mirror=1&download=3', 'http://localhost:8001/download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752057');
INSERT INTO `kg_access` VALUES ('102', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'category_manage', 'http://localhost:8001/admin/category_manage', 'http://localhost:8001/admin/download_update?id=3', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752075');
INSERT INTO `kg_access` VALUES ('103', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'index', 'http://localhost:8001/', 'http://localhost:8001/admin/category_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752077');
INSERT INTO `kg_access` VALUES ('104', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'category_update', 'http://localhost:8001/admin/category_update?cid=50', 'http://localhost:8001/admin/category_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752089');
INSERT INTO `kg_access` VALUES ('105', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'photo', 'http://localhost:8001/photo', 'http://localhost:8001/download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752108');
INSERT INTO `kg_access` VALUES ('106', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download', 'http://localhost:8001/photo', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752479');
INSERT INTO `kg_access` VALUES ('107', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'product', 'http://localhost:8001/product', 'http://localhost:8001/download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752497');
INSERT INTO `kg_access` VALUES ('108', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'photo', 'http://localhost:8001/photo', 'http://localhost:8001/download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752503');
INSERT INTO `kg_access` VALUES ('109', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'category_manage', 'http://localhost:8001/admin/category_manage', 'http://localhost:8001/admin/category_update?cid=50', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752574');
INSERT INTO `kg_access` VALUES ('110', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'index', 'http://localhost:8001/', 'http://localhost:8001/admin/category_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752576');
INSERT INTO `kg_access` VALUES ('111', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'category_manage', 'http://localhost:8001/admin/category_manage?cid=50', 'http://localhost:8001/admin/category_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752579');
INSERT INTO `kg_access` VALUES ('112', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'category_update', 'http://localhost:8001/admin/category_update?add=50', 'http://localhost:8001/admin/category_manage?cid=50', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752583');
INSERT INTO `kg_access` VALUES ('113', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download?cid=151', 'http://localhost:8001/download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752606');
INSERT INTO `kg_access` VALUES ('114', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'category_update', 'http://localhost:8001/admin/category_update?cid=151', 'http://localhost:8001/admin/category_manage?cid=50', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752611');
INSERT INTO `kg_access` VALUES ('115', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'photo', 'http://localhost:8001/photo?cid=62', 'http://localhost:8001/photo', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752770');
INSERT INTO `kg_access` VALUES ('116', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'article', 'http://localhost:8001/article', 'http://localhost:8001/photo?cid=62', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752772');
INSERT INTO `kg_access` VALUES ('117', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'article', 'http://localhost:8001/article?cid=68', 'http://localhost:8001/article', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752780');
INSERT INTO `kg_access` VALUES ('118', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download', 'http://localhost:8001/article?cid=68', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752820');
INSERT INTO `kg_access` VALUES ('119', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download?cid=148', 'http://localhost:8001/download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752823');
INSERT INTO `kg_access` VALUES ('120', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download?cid=151', 'http://localhost:8001/download?cid=148', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605752908');
INSERT INTO `kg_access` VALUES ('121', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download', 'http://localhost:8001/download?cid=148', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605753124');
INSERT INTO `kg_access` VALUES ('122', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'product', 'http://localhost:8001/product', 'http://localhost:8001/download?cid=151', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605753261');
INSERT INTO `kg_access` VALUES ('123', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download?cid=151', 'http://localhost:8001/download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605753267');
INSERT INTO `kg_access` VALUES ('124', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'category_manage', 'http://localhost:8001/admin/category_manage', 'http://localhost:8001/admin/category_manage?cid=50', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605753273');
INSERT INTO `kg_access` VALUES ('125', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'index', 'http://localhost:8001/', 'http://localhost:8001/admin/category_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605753274');
INSERT INTO `kg_access` VALUES ('126', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'photo', 'http://localhost:8001/photo', 'http://localhost:8001/download?cid=151', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605753289');
INSERT INTO `kg_access` VALUES ('127', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'article', 'http://localhost:8001/article', 'http://localhost:8001/download?cid=151', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605753289');
INSERT INTO `kg_access` VALUES ('128', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'article', 'http://localhost:8001/article?id=50', 'http://localhost:8001/article', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605753293');
INSERT INTO `kg_access` VALUES ('129', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'article', 'http://localhost:8001/article?cid=84', 'http://localhost:8001/article?id=50', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605753297');
INSERT INTO `kg_access` VALUES ('130', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'article', 'http://localhost:8001/article?id=76', 'http://localhost:8001/article?cid=84', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605753301');
INSERT INTO `kg_access` VALUES ('131', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'comment', 'http://localhost:8001/comment', 'http://localhost:8001/article?id=76', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605753308');
INSERT INTO `kg_access` VALUES ('132', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_manage', 'http://localhost:8001/admin/download_manage', 'http://localhost:8001/admin/category_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605753871');
INSERT INTO `kg_access` VALUES ('133', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'comment', 'http://localhost:8001/comment', 'http://localhost:8001/article?id=76', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605754096');
INSERT INTO `kg_access` VALUES ('134', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_manage', 'http://localhost:8001/admin/download_manage', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605754278');
INSERT INTO `kg_access` VALUES ('135', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'product_manage', 'http://localhost:8001/admin/product_manage', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756574');
INSERT INTO `kg_access` VALUES ('136', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'picture_manage', 'http://localhost:8001/admin/picture_manage', 'http://localhost:8001/admin/product_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756578');
INSERT INTO `kg_access` VALUES ('137', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'download_manage', 'http://localhost:8001/admin/download_manage', 'http://localhost:8001/admin/picture_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756581');
INSERT INTO `kg_access` VALUES ('138', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'upload_manage', 'http://localhost:8001/admin/upload_manage', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756607');
INSERT INTO `kg_access` VALUES ('139', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'index', 'http://localhost:8001/', 'http://localhost:8001/admin/upload_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756609');
INSERT INTO `kg_access` VALUES ('140', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'upload_manage', 'http://localhost:8001/admin/upload_manage?action=open&dir=download', 'http://localhost:8001/admin/upload_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756612');
INSERT INTO `kg_access` VALUES ('141', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'upload_manage', 'http://localhost:8001/admin/upload_manage?action=open&dir=download|file', 'http://localhost:8001/admin/upload_manage?action=open&dir=download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756615');
INSERT INTO `kg_access` VALUES ('142', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'upload_manage', 'http://localhost:8001/admin/upload_manage?action=open&dir=download|file|202011', 'http://localhost:8001/admin/upload_manage?action=open&dir=download|file', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756621');
INSERT INTO `kg_access` VALUES ('143', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'upload_manage', 'http://localhost:8001/admin/upload_manage?action=del&dir=download|file|202011|20201119090258967.png', 'http://localhost:8001/admin/upload_manage?action=open&dir=download|file|202011', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756625');
INSERT INTO `kg_access` VALUES ('144', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'upload_manage', 'http://localhost:8001/admin/upload_manage?action=open&dir=download|file|202008', 'http://localhost:8001/admin/upload_manage?action=open&dir=download|file', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756635');
INSERT INTO `kg_access` VALUES ('145', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'upload_manage', 'http://localhost:8001/admin/upload_manage?action=del&dir=download|file|202008', 'http://localhost:8001/admin/upload_manage?action=open&dir=download|file', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756642');
INSERT INTO `kg_access` VALUES ('146', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'upload_manage', 'http://localhost:8001/admin/upload_manage?action=del&dir=download|file|202011', 'http://localhost:8001/admin/upload_manage?action=open&dir=download|file', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756647');
INSERT INTO `kg_access` VALUES ('147', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'upload_manage', 'http://localhost:8001/admin/upload_manage?action=open&dir=download|image', 'http://localhost:8001/admin/upload_manage?action=open&dir=download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756653');
INSERT INTO `kg_access` VALUES ('148', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'category_manage', 'http://localhost:8001/admin/category_manage', 'http://localhost:8001/admin/download_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756665');
INSERT INTO `kg_access` VALUES ('149', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'category_manage', 'http://localhost:8001/admin/category_manage?cid=50', 'http://localhost:8001/admin/category_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756668');
INSERT INTO `kg_access` VALUES ('150', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'category_manage', 'http://localhost:8001/admin/category_manage?cid=50&action=del&id=151', 'http://localhost:8001/admin/category_manage?cid=50', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756673');
INSERT INTO `kg_access` VALUES ('151', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'article_manage', 'http://localhost:8001/admin/article_manage', 'http://localhost:8001/admin/category_manage?cid=50', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605756678');
INSERT INTO `kg_access` VALUES ('152', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'index', 'http://localhost:8001/admin/', 'http://localhost:8001/admin', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605758040');
INSERT INTO `kg_access` VALUES ('153', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'article_manage', 'http://localhost:8001/admin/article_manage', 'http://localhost:8001/admin/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605758046');
INSERT INTO `kg_access` VALUES ('154', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'admin', 'article_update', 'http://localhost:8001/admin/article_update?id=76', 'http://localhost:8001/admin/article_manage', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605758055');
INSERT INTO `kg_access` VALUES ('155', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'api', 'ueditor_upload', 'http://localhost:8001/api/ueditor_upload?dir=article&action=config&&noCache=1605758057619', 'http://localhost:8001/admin/article_update?id=76', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605758058');
INSERT INTO `kg_access` VALUES ('156', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'index', 'http://localhost:8001/', 'http://localhost:8001/admin/article_update?id=76', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605758058');
INSERT INTO `kg_access` VALUES ('157', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'api', 'ueditor_upload', 'http://localhost:8001/api/ueditor_upload?dir=article&action=config&&noCache=1605758067123', 'http://localhost:8001/admin/article_update?id=76', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605758067');
INSERT INTO `kg_access` VALUES ('158', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'download', 'http://localhost:8001/download', 'http://localhost:8001/', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605758072');
INSERT INTO `kg_access` VALUES ('159', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'photo', 'http://localhost:8001/photo', 'http://localhost:8001/download', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605758075');
INSERT INTO `kg_access` VALUES ('160', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'article', 'http://localhost:8001/article', 'http://localhost:8001/photo', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605758078');
INSERT INTO `kg_access` VALUES ('161', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'article', 'http://localhost:8001/article?cid=84', 'http://localhost:8001/article', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605758081');
INSERT INTO `kg_access` VALUES ('162', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'article', 'http://localhost:8001/article?id=76', 'http://localhost:8001/article?cid=84', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605758083');
INSERT INTO `kg_access` VALUES ('163', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '1', '0', 'web', 'comment', 'http://localhost:8001/comment', 'http://localhost:8001/article?id=76', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605758090');
INSERT INTO `kg_access` VALUES ('164', '12', 'QWASfNEe3vwqZkRnQBAJUbtIBCH1HOvl', '0', '138', 'api', 'ueditor_upload', 'http://localhost:8001/api/ueditor_upload?dir=article&action=config&&noCache=1605758124957', 'http://localhost:8001/admin/article_update?id=76', 'localhost:8001', '127.0.0.1', '-', '-', '-', '-', '-', 'Windows NT 10.0; Win64; x64', 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/83.0.4103.106 Safari/537.36', '1605758125');

-- ----------------------------
-- Table structure for kg_activity
-- ----------------------------
DROP TABLE IF EXISTS `kg_activity`;
CREATE TABLE `kg_activity` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `acstart` int(11) NOT NULL DEFAULT '0',
  `title` varchar(225) NOT NULL COMMENT '活动名字',
  `password` varchar(100) NOT NULL COMMENT '活动密码(md5)',
  `logo` varchar(225) NOT NULL COMMENT 'logo图片路径',
  `icon` varchar(225) NOT NULL DEFAULT 'inc/uploads/other/201403/activityicon.jpg' COMMENT '会议图标',
  `qrcode` varchar(225) NOT NULL COMMENT '二维码',
  `place` varchar(225) NOT NULL COMMENT '地点',
  `tecsupp` varchar(225) NOT NULL,
  `publisher` varchar(20) NOT NULL,
  `sign_open` varchar(10) NOT NULL DEFAULT '1' COMMENT '签到是否打开',
  `sign_bgimg` varchar(225) NOT NULL DEFAULT 'inc/uploads/other/201409/signbgimg.jpg' COMMENT '签到背景图',
  `sign_start` int(10) NOT NULL DEFAULT '1255274224' COMMENT '签到开始时间',
  `sign_end` int(10) NOT NULL DEFAULT '1522423041' COMMENT '签到结束时间',
  `sign_head` varchar(225) NOT NULL DEFAULT '微信运营黄金六步 请用微信扫描右侧二维码现场签到' COMMENT '签到头部分',
  `sign_thopen` int(10) NOT NULL DEFAULT '1' COMMENT '是否打开3D签到',
  `sign_thtitle` varchar(225) NOT NULL DEFAULT '凯格科技' COMMENT '照片签到显示的文字',
  `sign_thtime` int(10) NOT NULL DEFAULT '12' COMMENT '跳转到3D签到的时间',
  `sign_thgroup` varchar(225) NOT NULL DEFAULT '0----2----100',
  `sign_thchoobg` int(10) NOT NULL DEFAULT '1',
  `sign_thobgimg` varchar(225) NOT NULL DEFAULT 'inc/uploads/other/201409/signbgimg.jpg',
  `sign_thobgcolor` varchar(100) NOT NULL DEFAULT '#F7977A',
  `sign_thchotbg` int(10) NOT NULL DEFAULT '1',
  `sign_thtbgimg` varchar(225) NOT NULL DEFAULT 'inc/uploads/other/201409/signbgimg.jpg',
  `sign_thtbgcolor` varchar(100) NOT NULL DEFAULT '#F7977A',
  `sign_thchange` int(10) NOT NULL DEFAULT '8',
  `sign_thfrequency` int(10) NOT NULL DEFAULT '8',
  `sign_thdirection` int(10) NOT NULL DEFAULT '0',
  `sign_thstatus` varchar(225) NOT NULL DEFAULT 'notaudit----audit',
  `sign_thtextmode` int(10) NOT NULL DEFAULT '0',
  `sign_thqrcodeopen` int(10) NOT NULL DEFAULT '1',
  `sign_thqrcodecap` int(10) NOT NULL DEFAULT '100',
  `sign_thshowtime` int(10) NOT NULL DEFAULT '5',
  `wall_open` varchar(10) NOT NULL COMMENT '是否打开微信墙',
  `wall_bgimg` varchar(225) NOT NULL DEFAULT 'inc/uploads/other/201403/wallbgimg.jpg' COMMENT '微信墙背景图',
  `wall_start` int(10) NOT NULL DEFAULT '1394812825' COMMENT '微信墙开始时间',
  `wall_end` int(10) NOT NULL DEFAULT '1585409464' COMMENT '微信墙结束时间',
  `wall_type` varchar(225) NOT NULL DEFAULT 'text----image' COMMENT '微信墙消息类型',
  `wall_status` varchar(225) NOT NULL DEFAULT 'notaudit----audit' COMMENT '微信墙消息帅选',
  `wall_group` varchar(225) NOT NULL DEFAULT '0----2----100' COMMENT '微信墙组消息',
  `wall_head` varchar(225) NOT NULL DEFAULT '凯格微信微营销大会直接发送想要说的话或图片上墙' COMMENT '微信墙头部文字',
  `vote_open` varchar(10) NOT NULL COMMENT '是否打开投票',
  `vote_bgimg` varchar(225) NOT NULL DEFAULT 'inc/uploads/other/201712/votebgimg.jpg' COMMENT '投票背景图',
  `vote_id` varchar(225) NOT NULL DEFAULT '4' COMMENT '投票调查',
  `vote_ip` varchar(225) NOT NULL DEFAULT '0' COMMENT '投票IP限制',
  `vote_next` varchar(225) NOT NULL DEFAULT '0' COMMENT '投票下一题',
  `vote_head` varchar(225) NOT NULL DEFAULT '欢迎参与凯格微信营销大会现场投票！ 你的投票，决定着我们的方向！' COMMENT '投票头部文字',
  `lottery_open` varchar(10) NOT NULL COMMENT '是否打开抽奖',
  `lottery_bgimg` varchar(225) NOT NULL DEFAULT 'inc/uploads/other/201403/lotterybgimg.jpg' COMMENT '抽奖背景图',
  `lottery_sex` varchar(225) NOT NULL DEFAULT '0' COMMENT '抽奖性别',
  `lottery_card` varchar(225) NOT NULL DEFAULT '0' COMMENT '抽奖是否需要领取会员卡',
  `lottery_group_open` varchar(225) NOT NULL DEFAULT '0' COMMENT '抽奖用户分组',
  `lottery_group` varchar(225) NOT NULL DEFAULT '0----2----100----101' COMMENT '抽奖指定的用户组',
  `lottery_country` varchar(225) NOT NULL COMMENT '抽奖国家限制',
  `lottery_province` varchar(225) NOT NULL COMMENT '抽奖省份限制',
  `lottery_city` varchar(225) NOT NULL COMMENT '抽奖城市限制',
  `lottery_location` varchar(225) NOT NULL COMMENT '抽奖位置限制',
  `lottery_message` varchar(225) NOT NULL DEFAULT '{name}，恭喜您已中奖 \\n中奖系号：{people} \\n奖池号：{prize} \\n中奖时间：{time}' COMMENT '抽奖中奖后消息通知',
  `lottery_head` varchar(225) NOT NULL DEFAULT '凯格微信微营销大会 人人有机会，现场抽大奖！' COMMENT '抽奖头部文字',
  `lottery_announc` varchar(225) NOT NULL DEFAULT '抽奖参与资格：必须参与现场签到。 特等奖1名：现场献歌一首 纪念奖5名：无奖品 中奖者会收到微信提示 当前为测试模式，如果你收到中奖信息请不要理会。' COMMENT '抽奖抽奖事宜',
  `lottery_reopenid` varchar(200) NOT NULL,
  `lottery_chonum` int(11) NOT NULL DEFAULT '1',
  `lottery_choose` int(11) NOT NULL DEFAULT '0',
  `lottery_lotitle` text NOT NULL,
  `ddp_open` varchar(10) NOT NULL COMMENT '是否打开对对碰',
  `ddp_bgimg` varchar(225) NOT NULL DEFAULT 'inc/uploads/other/201403/lotterybgimg.jpg' COMMENT '对对碰现场背景图片',
  `ddp_group` varchar(225) NOT NULL DEFAULT '0----2----100' COMMENT '对对碰用户组',
  `ddp_message` varchar(225) NOT NULL DEFAULT '{name}，恭喜你，求得好缘分啊，去找你的有缘人吧 \\n你的有缘人：{dpeople} \\n序号：{people} \\n奖池号：{prize} \\n对碰时间：{time}' COMMENT '对对碰消息通知',
  `ddp_head` varchar(225) NOT NULL DEFAULT '对对碰，求缘分' COMMENT '对对碰头部文字',
  `ddp_announc` varchar(225) NOT NULL DEFAULT '1，必须是男女配对啊，不搞基' COMMENT '对对碰对对碰事宜',
  `yyy_open` varchar(10) NOT NULL COMMENT '是否打开摇一摇',
  `yyy_bgimg` varchar(225) NOT NULL DEFAULT 'inc/uploads/other/201711/yyybgimg.jpg' COMMENT '摇一摇背景图片',
  `yyy_card` varchar(225) CHARACTER SET utf8mb4 NOT NULL DEFAULT '0' COMMENT '摇一摇会员卡',
  `yyy_group_open` varchar(225) NOT NULL DEFAULT '0' COMMENT '摇一摇指定用户分组',
  `yyy_group` varchar(225) NOT NULL DEFAULT '0' COMMENT '摇一摇指定的用户组中抽取',
  `yyy_message` varchar(225) NOT NULL DEFAULT '{name}，摇的给力 \\n获得名次：{people} \\n奖池号：{prize} \\n中奖时间：{time}' COMMENT '摇一摇消息通知',
  `yyy_head` varchar(225) NOT NULL DEFAULT '拿起手机摇一摇，手快抢大奖！' COMMENT '摇一摇头部文字',
  `yyy_announc` varchar(225) NOT NULL DEFAULT '活动开始，摇动手机有效，倒计时结束，再摇动也没效' COMMENT '摇一摇摇一摇事宜',
  `reward_open` int(10) NOT NULL DEFAULT '1' COMMENT '打赏是否开启',
  `reward_bgimg` varchar(225) NOT NULL DEFAULT 'inc/uploads/other/201403/lotterybgimg.jpg' COMMENT '打赏背景图片',
  `reward_group` varchar(225) NOT NULL DEFAULT '0----2----100' COMMENT '打赏用户组',
  `reward_message` varchar(225) NOT NULL DEFAULT '{name}，感谢你的打赏 \\n打赏时间：{time}' COMMENT '打赏消息通知',
  `reward_head` varchar(225) NOT NULL DEFAULT '亲，打个赏鼓励一下我们' COMMENT '打赏头部信息',
  `reward_announc` varchar(225) NOT NULL DEFAULT '欢迎今日所有嘉宾活动现场打赏' COMMENT '打赏中间通知',
  `reward_reamount` varchar(225) NOT NULL DEFAULT '1----2----3----4----5----6' COMMENT '打赏金额设置',
  `auction_open` varchar(10) NOT NULL DEFAULT '1' COMMENT '现场竞拍功能开启状态',
  `auction_bgimg` varchar(225) NOT NULL DEFAULT 'inc/uploads/other/201403/auctionbgimg.jpg',
  `auction_head` varchar(225) NOT NULL DEFAULT '凯格微信现场竞拍',
  `auction_ptitle` varchar(225) NOT NULL,
  `auction_pimg` varchar(225) NOT NULL,
  `auction_pcontent` text NOT NULL,
  `auction_deposit` decimal(8,2) unsigned NOT NULL DEFAULT '0.00',
  `auction_paytype` int(10) NOT NULL DEFAULT '1' COMMENT '竞拍支付类型',
  `auction_startprice` decimal(8,2) unsigned NOT NULL DEFAULT '0.00',
  `auction_message` varchar(225) NOT NULL DEFAULT '{name}，恭喜您已成功竞拍 \\n竞拍商品：{ptitle} \\n竞拍价格：{amount}\\n竞拍时间：{time}',
  `auction_inprice` decimal(8,2) unsigned NOT NULL DEFAULT '0.00',
  `auction_reamount` varchar(225) NOT NULL DEFAULT '1----2----3----4----5----6' COMMENT '竞拍增加的金额设置',
  `auction_end` int(11) NOT NULL,
  `cmoney_open` int(4) NOT NULL DEFAULT '1' COMMENT '开心数钞票是否打开',
  `cmoney_bgimg` varchar(225) NOT NULL DEFAULT 'inc/uploads/other/201403/lotterybgimg.jpg',
  `cmoney_card` varchar(225) NOT NULL DEFAULT '0',
  `cmoney_group_open` varchar(225) NOT NULL DEFAULT '0',
  `cmoney_group` varchar(225) NOT NULL DEFAULT '0',
  `cmoney_message` varchar(225) NOT NULL DEFAULT '{name}，猜的很准 \\n获得名次：{people} \\n奖池号：{prize} \\n中奖时间：{time}',
  `cmoney_head` varchar(225) NOT NULL DEFAULT '凯格微信现场数钞票',
  `cmoney_number` int(11) NOT NULL DEFAULT '30',
  `cmoney_time` int(11) NOT NULL DEFAULT '20',
  `cmoney_speed` int(11) NOT NULL DEFAULT '3',
  `cmoney_frequency` int(11) NOT NULL DEFAULT '2',
  `time` int(10) NOT NULL DEFAULT '0' COMMENT '时间',
  `addtime` int(10) NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='活动表';

-- ----------------------------
-- Records of kg_activity
-- ----------------------------

-- ----------------------------
-- Table structure for kg_ad
-- ----------------------------
DROP TABLE IF EXISTS `kg_ad`;
CREATE TABLE `kg_ad` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `webid` tinyint(3) NOT NULL COMMENT 'web表对应的id',
  `aid` varchar(30) NOT NULL COMMENT '广告位调用识别码，由英文或数字组成，且必须以字母开头，可以重复，有多个时将按权重值随机选取一个',
  `title` varchar(50) NOT NULL COMMENT '广告名称',
  `type` tinyint(1) unsigned NOT NULL COMMENT '1定义，2图片，3文字',
  `picture` json NOT NULL COMMENT '图片的路径',
  `picurl` json NOT NULL COMMENT '图片链接地址',
  `summary` json NOT NULL COMMENT '图片描述',
  `picsize` json NOT NULL COMMENT '图片尺寸',
  `url` varchar(100) NOT NULL COMMENT '广告链接地址',
  `code` text NOT NULL COMMENT '广告代码',
  `weight` tinyint(2) NOT NULL COMMENT '权重，同一位置调用多个广告时有效，1 - 20 之间',
  `click` int(12) NOT NULL COMMENT '广告点击数，-1表示关闭统计，同一IP地址 8 小时只计数一次，如果您需要修改计数有效时间（如：改成24小时）请修改 app.php 文件顶部变量',
  `expir` tinyint(1) NOT NULL COMMENT '投放时间限制(0永不过期，1在设置的时间内有效)',
  `start` int(10) NOT NULL COMMENT '广告起始时间',
  `end` int(10) NOT NULL COMMENT '广告终止时间',
  `content` varchar(255) NOT NULL COMMENT '文字广告内容',
  `size` varchar(50) NOT NULL COMMENT '文字大小',
  `color` varchar(10) NOT NULL COMMENT '链接颜色',
  `description` text NOT NULL COMMENT '简要描述',
  `expired` text NOT NULL COMMENT '广告过期显示内容',
  `sort` int(10) NOT NULL COMMENT '排序（升序，列表调用时有效）',
  `enable` tinyint(1) NOT NULL COMMENT '是否启用（0不启用，1启用）',
  `audit` tinyint(1) unsigned NOT NULL COMMENT '审核，0未审核，1通过审核',
  `addtime` int(10) NOT NULL DEFAULT '0' COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8 COMMENT='广告表';

-- ----------------------------
-- Records of kg_ad
-- ----------------------------
INSERT INTO `kg_ad` VALUES ('21', '12', 'G757679', '首页焦点图', '2', '[\"/upload/advertise/ad_21_0.png\", \"/upload/advertise/ad_21_1.png\", \"/upload/advertise/ad_21_2.png\", \"/upload/advertise/ad_21_3.png\"]', '[\"\", \"\", \"\", \"\"]', '[\"\", \"\", \"\", \"\"]', '[[\"100\", \"100\"], [\"100\", \"100\"], [\"100\", \"100\"], [\"100\", \"100\"]]', '', '<a target=\"_blank\" href=\"\"><img src=\"/upload/advertise/ad_21_0.png\" width=\"100\" height=\"100\" alt=\"\" title=\"\" border=\"0\" /></a><a target=\"_blank\" href=\"\"><img src=\"/upload/advertise/ad_21_1.png\" width=\"100\" height=\"100\" alt=\"\" title=\"\" border=\"0\" /></a><a target=\"_blank\" href=\"\"><img src=\"/upload/advertise/ad_21_2.png\" width=\"100\" height=\"100\" alt=\"\" title=\"\" border=\"0\" /></a><a target=\"_blank\" href=\"\"><img src=\"/upload/advertise/ad_21_3.png\" width=\"100\" height=\"100\" alt=\"\" title=\"\" border=\"0\" /></a>', '1', '554', '0', '1574611200', '1582018200', '', '', '#ffffff', '', '');
INSERT INTO `kg_ad` VALUES ('22', '12', 'G123321', 'KGCMS 强劲站内搜索系统更新', '1', '[]', '[]', '[]', '[]', 'http://test.kgcms.com/', '<a href=\"http://test.kgcms.com/\">KGCMS 强劲站内搜索系统更新</a><br>\r\nKGCMS 站内搜索简单方便。您只需要在搜索框内输入需要查询的内容，敲回车键，或者鼠标点击搜索框右侧的搜索按钮，就可以得到最符合查询需求的网页内容。站内搜索，就是这么简单！\r\n全面支持多字词空格间隔搜索。输入多个词语搜索（不同字词之间用一个空格隔开），可以获得更精确的搜索结果。\r\n\r\n', '18', '554', '0', '1577351820', '1577351820', '', '', '#ffffff', '', '');
INSERT INTO `kg_ad` VALUES ('23', '12', 'G123123', 'KGCMS 商业授权版', '1', '[]', '[]', '[]', '[]', 'http://test.kgcms.com/', '<a href=\"http://test.kgcms.com/\">KGCMS 商业授权版</a><br>\r\n新增在线充值、在线支付、订购、订单管理等20多项商业性质的功能和模块，无限语言扩充，一对一售后技术服务，专业、高效支持1000万级数据量，全开方性接口易扩展、更方便二次开发。', '0', '556', '0', '1577352120', '1577352120', '', '', '#ffffff', '', '');

-- ----------------------------
-- Table structure for kg_address
-- ----------------------------
DROP TABLE IF EXISTS `kg_address`;
CREATE TABLE `kg_address` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id主键',
  `uid` int(11) unsigned NOT NULL COMMENT '用户id',
  `consignee` varchar(16) NOT NULL COMMENT '收货人',
  `areap` varchar(32) NOT NULL COMMENT '省',
  `areac` varchar(32) NOT NULL COMMENT '市',
  `aread` varchar(32) NOT NULL COMMENT '区、乡镇',
  `address` varchar(64) NOT NULL COMMENT '地址',
  `zipcode` varchar(16) NOT NULL COMMENT '邮编',
  `tel` varchar(32) NOT NULL COMMENT '联系电话',
  `mobile` varchar(32) NOT NULL COMMENT '收货人手机号码',
  `del` tinyint(1) unsigned NOT NULL COMMENT '是否删除，0否，1是',
  `default` tinyint(1) unsigned NOT NULL COMMENT '是否默认，0否，1是',
  `addtime` int(11) unsigned NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='收货地址表';

-- ----------------------------
-- Records of kg_address
-- ----------------------------
INSERT INTO `kg_address` VALUES ('1', '1', '测试', '北京', '北京市', '东城区', '1', '342300', '13000000000', '13600000000', '0', '0', '1604363122');

-- ----------------------------
-- Table structure for kg_admin
-- ----------------------------
DROP TABLE IF EXISTS `kg_admin`;
CREATE TABLE `kg_admin` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `webid` int(10) unsigned NOT NULL COMMENT '访问的应用ID',
  `username` varchar(30) NOT NULL COMMENT '用户名',
  `password` varchar(32) NOT NULL COMMENT '登录密码',
  `phone` varchar(50) NOT NULL COMMENT '电话',
  `email` varchar(100) NOT NULL COMMENT 'E-Mail',
  `encryption` varchar(8) NOT NULL COMMENT '随机密码加密字符',
  `image` varchar(255) NOT NULL COMMENT '用户图像',
  `frequency` int(10) unsigned NOT NULL COMMENT '登录次数',
  `role` tinyint(4) NOT NULL COMMENT '角色表关联ID',
  `period` int(10) unsigned NOT NULL COMMENT '帐号有效期/0永久有效',
  `allow` tinyint(1) unsigned NOT NULL COMMENT '是否允许登录/0禁止/1允许	',
  `notes` varchar(255) NOT NULL COMMENT '用户备注信息',
  `addtime` int(10) unsigned NOT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=175 DEFAULT CHARSET=utf8 COMMENT='后台管理员';

-- ----------------------------
-- Records of kg_admin
-- ----------------------------
INSERT INTO `kg_admin` VALUES ('138', '12', 'admin', '71dca068d7245687a469dfc144cb1f0a', '13400000000', '123@123.com', 'mRu19XDL', '/upload/userimage/admin/201911/20191127154908759.png', '283', '1', '0', '1', '', '1572219558');

-- ----------------------------
-- Table structure for kg_adminpage
-- ----------------------------
DROP TABLE IF EXISTS `kg_adminpage`;
CREATE TABLE `kg_adminpage` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(100) NOT NULL COMMENT '菜单名称',
  `page` varchar(100) DEFAULT NULL COMMENT '页面文件',
  `icon` varchar(100) NOT NULL COMMENT '小图标样式',
  `image` varchar(200) NOT NULL COMMENT '图标',
  `level` tinyint(3) unsigned NOT NULL COMMENT '菜单级别（1或2）',
  `upper` int(10) unsigned NOT NULL COMMENT '上一级ID，一级菜单时为0',
  `sort` int(11) NOT NULL COMMENT '排序',
  `enable` tinyint(1) unsigned NOT NULL COMMENT '是否启用（0禁用/1启用）',
  `plus` tinyint(1) unsigned NOT NULL COMMENT '快捷添加页面（0启用/1禁用）',
  `addtime` int(10) unsigned NOT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=192 DEFAULT CHARSET=utf8 COMMENT='后台菜单及页面';

-- ----------------------------
-- Records of kg_adminpage
-- ----------------------------
INSERT INTO `kg_adminpage` VALUES ('1', '系统设置', '', 'am-icon-cog', '', '1', '0', '1', '1', '0', '0');
INSERT INTO `kg_adminpage` VALUES ('2', 'CMS内容管理', '', 'am-icon-drupal', '', '1', '0', '2', '1', '0', '0');
INSERT INTO `kg_adminpage` VALUES ('112', '后台管理员设置', 'admin_manage', 'am-icon-user', '', '2', '1', '4', '1', '1', '1573109678');
INSERT INTO `kg_adminpage` VALUES ('113', '角色分组管理', 'role_manage', '', '', '2', '1', '3', '1', '1', '1573109714');
INSERT INTO `kg_adminpage` VALUES ('114', '应用管理', 'app_manage', 'am-icon-qrcode', '', '2', '1', '2', '1', '1', '1573109738');
INSERT INTO `kg_adminpage` VALUES ('115', '系统日志信息', 'log', '', '', '2', '1', '4', '1', '0', '1573109766');
INSERT INTO `kg_adminpage` VALUES ('116', '全局设置', 'set_globals', 'am-icon-cogs', '', '2', '1', '1', '1', '0', '1573109788');
INSERT INTO `kg_adminpage` VALUES ('117', '后台模块功能设置', 'adminpage_manage', 'am-icon-sliders', '', '2', '1', '6', '1', '1', '1573109824');
INSERT INTO `kg_adminpage` VALUES ('122', '文章内容管理', 'article_manage', 'am-icon-align-left', '', '2', '2', '7', '1', '1', '1573118585');
INSERT INTO `kg_adminpage` VALUES ('123', '栏目列表管理', 'category_manage', 'am-icon-list', '', '2', '2', '8', '1', '1', '1573118651');
INSERT INTO `kg_adminpage` VALUES ('124', '网站访问概况', 'web_statistics', 'am-icon-pie-chart', '', '2', '163', '0', '1', '0', '1573118703');
INSERT INTO `kg_adminpage` VALUES ('125', '实时流量统计', 'web_statistics_record', 'am-icon-bar-chart', '', '2', '163', '1', '1', '0', '1573118723');
INSERT INTO `kg_adminpage` VALUES ('126', '访问来路分析', 'web_statistics_source', 'am-icon-comment-o', '', '2', '163', '2', '1', '0', '1573118743');
INSERT INTO `kg_adminpage` VALUES ('127', '受访页面分析', 'web_statistics_access', '', '', '2', '163', '3', '1', '0', '1573118760');
INSERT INTO `kg_adminpage` VALUES ('128', '系统及导航管理', 'navig_manage', 'am-icon-list-alt', '', '2', '2', '13', '1', '0', '1573184495');
INSERT INTO `kg_adminpage` VALUES ('129', '数据库备份及还原', 'mysql_dump', 'am-icon-database', '', '2', '165', '1', '1', '0', '1573184535');
INSERT INTO `kg_adminpage` VALUES ('134', '商品与产品管理', 'product_manage', 'am-icon-product-hunt', '', '2', '2', '19', '1', '1', '1573184682');
INSERT INTO `kg_adminpage` VALUES ('135', '图片集管理', 'picture_manage', 'am-icon-picture-o', '', '2', '2', '20', '1', '1', '1573184709');
INSERT INTO `kg_adminpage` VALUES ('136', '销售订单管理', 'shop_order_manage', '', '', '2', '187', '21', '1', '1', '1573184755');
INSERT INTO `kg_adminpage` VALUES ('137', '配送方式管理', 'shipping_manage', '', '', '2', '187', '8', '1', '1', '1573184809');
INSERT INTO `kg_adminpage` VALUES ('139', '会员管理', 'user_manage', '', '', '2', '183', '1', '1', '1', '1573185016');
INSERT INTO `kg_adminpage` VALUES ('140', '会员等级设置', 'user_rank', '', '', '2', '183', '2', '1', '0', '1573185044');
INSERT INTO `kg_adminpage` VALUES ('141', '交易及充值记录', 'user_transactions', '', '', '2', '183', '25', '1', '0', '1573185081');
INSERT INTO `kg_adminpage` VALUES ('142', '广告及焦点图管理', 'ad_manage', 'am-icon-bullhorn', '', '2', '2', '26', '1', '1', '1573185114');
INSERT INTO `kg_adminpage` VALUES ('143', '留言信息管理', 'guestbook_manage', 'am-icon-commenting-o', '', '2', '2', '26', '1', '0', '1573185170');
INSERT INTO `kg_adminpage` VALUES ('144', '网站评论管理', 'comment_manage', 'am-icon-comments-o', '', '2', '2', '27', '1', '0', '1573185201');
INSERT INTO `kg_adminpage` VALUES ('146', '网站模板管理', 'template_manage', '', '', '2', '165', '11', '1', '0', '1573185363');
INSERT INTO `kg_adminpage` VALUES ('148', '模板语言包管理', 'template_language', '', '', '2', '165', '13', '1', '0', '1573185642');
INSERT INTO `kg_adminpage` VALUES ('149', '首次关注回复', 'material_update?id=1', '', '', '2', '185', '14', '1', '0', '1573185682');
INSERT INTO `kg_adminpage` VALUES ('150', '本地素材库管理', 'material_manage', '', '', '2', '185', '15', '1', '1', '1573185743');
INSERT INTO `kg_adminpage` VALUES ('151', '微信素材库管理', 'wx_material_manage', '', '', '2', '185', '16', '1', '1', '1573185768');
INSERT INTO `kg_adminpage` VALUES ('152', '微信群发功能', 'wx_material_send', '', '', '2', '185', '17', '1', '0', '1573185791');
INSERT INTO `kg_adminpage` VALUES ('155', '关键词回复管理', 'questions_manage', '', '', '2', '185', '19', '1', '1', '1573185850');
INSERT INTO `kg_adminpage` VALUES ('156', '微信自定义菜单', 'weixin_menu_manage', '', '', '2', '185', '20', '1', '0', '1573185869');
INSERT INTO `kg_adminpage` VALUES ('157', '客服管理', 'wx_cs_manage', '', '', '2', '185', '21', '1', '1', '1573185885');
INSERT INTO `kg_adminpage` VALUES ('158', '用户(粉丝)管理', 'fans_list', '', '', '2', '185', '22', '1', '0', '1573185911');
INSERT INTO `kg_adminpage` VALUES ('159', '用户(粉丝)分组', 'fans_group', '', '', '2', '185', '23', '1', '0', '1573185926');
INSERT INTO `kg_adminpage` VALUES ('160', '消息管理', 'message_manage', '', '', '2', '185', '24', '1', '0', '1573185942');
INSERT INTO `kg_adminpage` VALUES ('161', '信息群发功能', 'message_push', '', '', '2', '185', '25', '1', '0', '1573185958');
INSERT INTO `kg_adminpage` VALUES ('163', '运营工具管理', '', 'am-icon-wrench', '', '1', '0', '6', '1', '0', '1573601472');
INSERT INTO `kg_adminpage` VALUES ('165', '服务器资源管理', '', 'am-icon-server', '', '1', '0', '4', '1', '0', '1573690869');
INSERT INTO `kg_adminpage` VALUES ('167', '服务器附件管理', 'upload_manage', 'am-icon-tasks', '', '2', '165', '2', '1', '0', '1573693488');
INSERT INTO `kg_adminpage` VALUES ('181', 'IP地址管理', 'ipaddress', 'am-icon-map-marker', '', '2', '165', '100', '1', '0', '1574845315');
INSERT INTO `kg_adminpage` VALUES ('182', '资源下载管理', 'download_manage', '', '', '2', '2', '21', '1', '1', '1575941044');
INSERT INTO `kg_adminpage` VALUES ('183', '注册会员管理', '', 'am-icon-user', '', '1', '0', '3', '1', '0', '1576041741');
INSERT INTO `kg_adminpage` VALUES ('184', '图片裁切及水印', 'set_picture', '', '', '2', '1', '100', '1', '0', '1578444848');
INSERT INTO `kg_adminpage` VALUES ('185', '微信应用管理', '', 'am-icon-weixin', '(\',)', '1', '0', '5', '1', '0', '1578531831');
INSERT INTO `kg_adminpage` VALUES ('187', '微商及订单管理', '', '', '(\',)', '1', '0', '7', '1', '0', '1583747829');
INSERT INTO `kg_adminpage` VALUES ('190', '会员与功能设置', 'set_member', '', '(\',)', '2', '1', '100', '1', '0', '1584513084');

-- ----------------------------
-- Table structure for kg_article
-- ----------------------------
DROP TABLE IF EXISTS `kg_article`;
CREATE TABLE `kg_article` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `webid` tinyint(3) unsigned NOT NULL COMMENT '与web表的webid关联，0不区分站点',
  `category` json NOT NULL COMMENT '所属栏目路径，JSON数据格式',
  `title` varchar(255) NOT NULL COMMENT '文章标题,文章内容及栏目列表页使用,必须填写',
  `tag` varchar(100) NOT NULL COMMENT 'Tag标签',
  `author` varchar(50) NOT NULL COMMENT '作者',
  `source` varchar(50) NOT NULL COMMENT '来源',
  `sourceurl` varchar(50) NOT NULL COMMENT '来源网址',
  `keyword` varchar(100) NOT NULL COMMENT 'SEO关键字,搜索关键字,不填写将采用tag标签',
  `introduction` text NOT NULL COMMENT 'SEO页面描述',
  `description` text NOT NULL COMMENT '文章简介',
  `content` mediumtext NOT NULL COMMENT '详细内容',
  `template` varchar(50) NOT NULL COMMENT '指定模板,一般不选择,不选择将使用栏目里定义的内页模板,否则对单页面进行模板定义',
  `comment` tinyint(1) unsigned NOT NULL COMMENT '是否允许评论(0不允许,1允许)',
  `commenttotal` int(10) unsigned NOT NULL COMMENT '评论人数,自动更新,提交评论时更新统计',
  `like` int(10) unsigned NOT NULL COMMENT '点赞人数',
  `thumbnail` varchar(255) NOT NULL COMMENT '缩略图',
  `picture` json NOT NULL COMMENT '图片, JSON List数据',
  `recom` tinyint(1) unsigned NOT NULL COMMENT '是否推荐(0不推荐,1推荐)',
  `published` tinyint(1) unsigned NOT NULL COMMENT '是否发布(0草稿,1发布)',
  `audit` tinyint(1) unsigned NOT NULL COMMENT '审核(0未通过,1通过审核)',
  `authority` json NOT NULL COMMENT '允许访问的用户等级id',
  `recycle` tinyint(1) unsigned NOT NULL COMMENT '回收站(0正常,1回收站)',
  `click` int(10) unsigned NOT NULL COMMENT '浏览次数',
  `sort` int(10) unsigned NOT NULL COMMENT '自定义排序',
  `publisher` varchar(20) NOT NULL COMMENT '发布者',
  `pushtime` int(10) unsigned NOT NULL COMMENT '发布时间',
  `addtime` int(10) unsigned NOT NULL COMMENT '添加的时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=120 DEFAULT CHARSET=utf8 COMMENT='文章表';

-- ----------------------------
-- Records of kg_article
-- ----------------------------
INSERT INTO `kg_article` VALUES ('50', '12', '[47, 80]', 'KGCMS数据库操作对象：kyger.db.MySQL', '', '', '', '', 'KGCMS数据库操作对象：kyger.db.MySQL', '										pre{white-space: pre-wrap !important;}pre{white-space: pre-wrap !important;}调用	    1.在项目的web目录下的py文件通过定义接口KgcmsApi类，就可以直接调用self.db来操作数据库。class KgcmsApi(object):    &quot;&quot;&quot;产品模块类&quot;&quot;&quot;    def __init__(self):        &quot;&quot;&quot;初始化数据&quot;&quot;&quot;        pass&amp;nb ...', 'KGCMS数据库操作对象的调用方法', '										<style type=\"text/css\">pre{white-space: pre-wrap !important;}</style><style type=\"text/css\">pre{white-space: pre-wrap !important;}</style><div class=\"v2\"><div class=\"gtitle\">调用</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;1.在项目的web目录下的py文件通过定义接口KgcmsApi类，就可以直接调用self.db来操作数据库。<br/><pre class=\"brush:python;toolbar:false\">class&nbsp;KgcmsApi(object):\r\n&nbsp;&nbsp;&nbsp;&nbsp;&quot;&quot;&quot;产品模块类&quot;&quot;&quot;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;def&nbsp;__init__(self):\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;&quot;&quot;初始化数据&quot;&quot;&quot;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pass\r\n&nbsp;&nbsp;&nbsp;&nbsp;\r\n&nbsp;&nbsp;&nbsp;&nbsp;def&nbsp;__call__(self):\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&quot;&quot;&quot;接口文件&quot;&quot;&quot;\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;self.db.__doc__</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;2.在项目的kyger目录中的模块如果需要操作数据库，需要在web目录下的py文件中将self.db做为参数传递：<br/><pre class=\"brush:python;toolbar:false\">#&nbsp;文件目录：web/article.py。&nbsp;创建实例article时将self.db当做参数传递。\r\nclass&nbsp;KgcmsApi(object):\r\n&nbsp;&nbsp;&nbsp;&nbsp;&quot;&quot;&quot;KGCMS框架接口&quot;&quot;&quot;\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;def&nbsp;__init__(self):\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pass\r\n\r\n&nbsp;&nbsp;&nbsp;&nbsp;def&nbsp;__call__(self):\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from&nbsp;kyger.article&nbsp;import&nbsp;Article\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;article&nbsp;=&nbsp;Article(self.db)\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;return&nbsp;0</pre><pre class=\"brush:python;toolbar:false\">#&nbsp;文件目录：kyger/article.py\r\nclass&nbsp;Article(object):\r\n&nbsp;&nbsp;&nbsp;&nbsp;&quot;&quot;&quot;文章调用&quot;&quot;&quot;\r\n&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;构造函数\r\n&nbsp;&nbsp;&nbsp;&nbsp;def&nbsp;__init__(self,&nbsp;db=None):\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;#&nbsp;如果创建实例时将db传递过来则直接赋值给self.db使用，如果没有则需要创建\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;from&nbsp;kyger.db&nbsp;import&nbsp;MySQL\r\n&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;self.db&nbsp;=&nbsp;db&nbsp;if&nbsp;db&nbsp;else&nbsp;MySQL()&nbsp;&nbsp;#&nbsp;防止因为没有传递self.db导致操作数据库出错</pre><br/><div class=\"gtitle\">方法1：add()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	往指定的表里插入数据，SQL语句：INSERT INTO &nbsp;`kgcms`.`kg_admin` (`id` ,`username`) VALUES (NULL , &#39;kyger&#39;),。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">add(table,&nbsp;data,&nbsp;log=True)</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	table [str]：表名，不包含前缀。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	data [str]：要插入的数据字典，对应的字段名及值: {&#39;id&#39;:&#39;NULL&#39;,&#39;username&#39;:&#39;kyger&#39;}。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	log [bool]：是否记录操作日志, 一般情况下建议开启。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 返回值<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	返回一个字符串或0。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">data&nbsp;=&nbsp;{\r\n&nbsp;&nbsp;&nbsp;&#39;username&#39;:&nbsp;&#39;admin&#39;,\r\n&nbsp;&nbsp;&nbsp;&#39;password&#39;:&nbsp;&#39;123456&#39;,\r\n&nbsp;&nbsp;&nbsp;&#39;encryption&#39;:&nbsp;0,\r\n}\r\nreturn&nbsp;self.db.add(&#39;admin&#39;,&nbsp;data)&nbsp;&nbsp;#&nbsp;往admin表中添加数据</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">&#39;23&#39;&nbsp;&nbsp;#&nbsp;返回插入数据的id</pre><br/><div class=\"gtitle\">方法2：dele()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	删除数据操作，SQL语句：DELETE FROM `kg_admin` WHERE `kg_admin`. `id` = 20;。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">dele(table,&nbsp;where,&nbsp;limit=0,&nbsp;log=True)</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	table [str]：表名，不包含前缀。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	where [int|str]：条件, 如果int类型将视为id；其它视为条件语句: 20|`username` = &#39;kyger&#39; &amp;&amp; ...<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	不支持删除全部，但可使用条件 1=1 达到删除部分数据。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	limit [int]：删除的记录条数。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	log [bool]：是否记录操作日志, 建议开启。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 返回值<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	返回一个int类型数据。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.dele(&#39;article&#39;,&nbsp;14)</pre><pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.dele(&#39;article&#39;,&nbsp;&#39;`id`&nbsp;&gt;13&#39;)</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">1&nbsp;&nbsp;#&nbsp;返回删除的数据条数</pre><br/><div class=\"gtitle\">方法3：edit()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	修改/更新数据，SQL语句：UPDATE `kg_admin` SET `password` = &#39;999&#39; WHERE `kg_admin`.`id` = 2;。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">edit(table,&nbsp;data,&nbsp;where=None,&nbsp;limit=0,&nbsp;log=True)</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	table [str]：表名，不包含前缀。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	data [dict]：要修改的字段名及值：{&#39;username&#39;:&#39;kyger&#39;, &#39;password&#39;: &#39;123456&#39;}。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	where [int|str]：条件，如果是一个数字将视为id；为0时忽略条件，将更新所有记录; 其它视为条件语句:：20|`username` = &#39;kyger&#39; &amp;&amp; ...。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	limit [int]：影响的记录数，0时不限制。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	log [bool]：是否记录操作日志, 建议开启。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 返回值<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	返回一个int类型数据。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.edit(&#39;admin&#39;,&nbsp;{&#39;username&#39;:&#39;kyger&#39;,&nbsp;&#39;password&#39;:&nbsp;&#39;123456&#39;},&nbsp;5,&nbsp;1)</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">1&nbsp;&nbsp;#&nbsp;返回影响的数据条数</pre><br/><div class=\"gtitle\">方法4：field_list()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	获取数据表里所有的字段名属性。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">field_list(table,&nbsp;log=True)</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	table [str]：表名，不包含前缀。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	log [bool]：是否记录操作日志, 建议开启。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 返回值<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	返回一个列表。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.field_list(&#39;test&#39;)</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">#&nbsp;获取数据表里所有的字段名和属性\r\n[{&#39;Field&#39;:&nbsp;&#39;id&#39;,&nbsp;&#39;Type&#39;:&nbsp;&#39;int(11)&nbsp;unsigned&#39;,&nbsp;&#39;Null&#39;:&nbsp;&#39;NO&#39;,&nbsp;&#39;Key&#39;:&nbsp;&#39;&#39;,&nbsp;&#39;Default&#39;:&nbsp;None,&nbsp;&#39;Extra&#39;:&nbsp;&#39;&#39;},&nbsp;{&#39;Field&#39;:&nbsp;&#39;test&#39;,&nbsp;&#39;Type&#39;:&nbsp;&#39;int(11)&nbsp;unsigned&nbsp;zerofill&#39;,&nbsp;&#39;Null&#39;:&nbsp;&#39;NO&#39;,&nbsp;&#39;Key&#39;:&nbsp;&#39;&#39;,&nbsp;&#39;Default&#39;:&nbsp;None,&nbsp;&#39;Extra&#39;:&nbsp;&#39;&#39;}]</pre><br/><div class=\"gtitle\">方法5：lastrowid()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	获取上一步 INSERT 操作产生的ID。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">lastrowid()</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	无参数。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.lastrowid()</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">5&nbsp;&nbsp;#&nbsp;上一次插入数据的id</pre><br/><div class=\"gtitle\">方法6：list()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	查询数据，查询中所有的表名前缀使用{pr}代替。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">list(table,&nbsp;field=&#39;*&#39;,&nbsp;where=0,&nbsp;order=0,&nbsp;page=0,&nbsp;limit=30,&nbsp;shift=0,&nbsp;log=False)</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	table [str]：表名，form语句，或多表关联，前缀使用 {pr} 代替，单个表名时不需要加前缀。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	field [str]：查询的字段，默认为 *。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	where [str]：条件语句, 如果是一个 int 值,则自动转化为:WHERE `id` = &quot;%s&quot;&#39;。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	order [str]：排序：`id` ASC, `name` DESC。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	page [int]：当前页码，是否分页，0不分页；其它数字为页码；分页时可以通过 total 获取总记录数。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	limit [int|str]：分页时只填写一个数字，每页要显示的记录数: &#39;0, 30&#39;|10。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	shitf [int]：是否将二维列表成一维，1转成一维、0不转换，查询单条记录时非常有用。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	log [bool]：是否记录操作日志, 查询敏感数据时建议开启。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 返回值<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	返回一个列表。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.list(\r\n	table=&#39;`{pr}admin`&nbsp;as&nbsp;a&#39;,\r\n	field=&#39;a.`id`,&nbsp;a.`username`&#39;,\r\n	where=&#39;`id`&gt;4&nbsp;&amp;&amp;&nbsp;`id`&lt;100&#39;,\r\n	order=&#39;`id`&nbsp;ASC,&nbsp;`username`&nbsp;DESC&#39;,\r\n	page=2,\r\n	limit=3,\r\n	log=True,\r\n)</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">[{&#39;id&#39;:&nbsp;90,&nbsp;&#39;username&#39;:&nbsp;&#39;admin&#39;},&nbsp;{&#39;id&#39;:&nbsp;92,&nbsp;&#39;username&#39;:&nbsp;&#39;kgcms888&#39;},&nbsp;{&#39;id&#39;:&nbsp;93,&nbsp;&#39;username&#39;:&nbsp;&#39;kgcms2&#39;}]</pre><br/><div class=\"gtitle\">方法7：log()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	获取数据库操作日志记录。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">log(type=1,&nbsp;info={&#39;state&#39;:&nbsp;&#39;SUCCESS&#39;})</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	type [int]：日志类型(1查询敏感数据/2添加数据/3修改数据/4删除数据/5其它数据库操作/6后台管理员登录/7上传文件)。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	info [dict]：MySQL json。state: [SUCCESS|FAILURE] 结果。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 返回值<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	无返回值。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.log(type=5,&nbsp;info={&#39;state&#39;:&nbsp;&#39;SUCCESS&#39;})</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">#&nbsp;暂无结果</pre><br/><div class=\"gtitle\">方法8：processlist()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	查询当前对应的 MySQL 帐户运行的线程,查看MySQL连接列表。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">processlist()</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	无参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 返回值<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	返回一个列表。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.processlist()</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">[{&#39;Id&#39;:&nbsp;72535,&nbsp;&#39;User&#39;:&nbsp;&#39;kgcms&#39;,&nbsp;&#39;Host&#39;:&nbsp;&#39;163.179.46.37:63341&#39;,&nbsp;&#39;db&#39;:&nbsp;&#39;kgcms&#39;,&nbsp;&#39;Command&#39;:&nbsp;&#39;Query&#39;,&nbsp;&#39;Time&#39;:&nbsp;0,&nbsp;&#39;State&#39;:&nbsp;&#39;starting&#39;,&nbsp;&#39;Info&#39;:&nbsp;&#39;SHOW&nbsp;FULL&nbsp;PROCESSLIST&#39;}]</pre><br/><div class=\"gtitle\">方法9：run_sql()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	自定义查询, 直接查询SQL。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">run_sql(sql,&nbsp;act=&#39;list&#39;,&nbsp;log=True)</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	sql [str]：要执行的sql语句。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	act [str]：add：返回插入后的ID，list：返回list数据，act=edit|dele：返回影响的数据条数。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	log [bool]：是否记录操作日志, 建议开启。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 返回值<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	返回一个列表。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.run_sql(&#39;select&nbsp;id,username&nbsp;from&nbsp;kg_admin&nbsp;where&nbsp;id=83&#39;,&nbsp;&#39;list&#39;)</pre><pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.run_sql(&#39;insert&nbsp;into&nbsp;kg_admin(id,username)&nbsp;value(100,&quot;kgtest&quot;)&#39;,&nbsp;&#39;add&#39;)</pre><pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.run_sql(&#39;update&nbsp;kg_admin&nbsp;set&nbsp;username=&quot;kg&quot;&nbsp;where&nbsp;id=100&#39;,&nbsp;&#39;edit&#39;)</pre>\r\n	pre class=&quot;brush:python;toolbar:false&quot;&gt;return self.db.run_sql(&#39;delete from kg_admin where id=100&#39;, &#39;dele&#39;)\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">[{&#39;id&#39;:&nbsp;83,&nbsp;&#39;username&#39;:&nbsp;&#39;kgcms&#39;}]</pre><pre class=\"brush:python;toolbar:false\">100&nbsp;&nbsp;#&nbsp;返回插入的id</pre><pre class=\"brush:python;toolbar:false\">1&nbsp;&nbsp;#&nbsp;返回影响的条数</pre><pre class=\"brush:python;toolbar:false\">1&nbsp;&nbsp;#&nbsp;返回影响的条数</pre><br/><div class=\"gtitle\">方法10：table_list()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	获取当前库中所有的数据表表名。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">table_list(log=True)</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	log [bool]：是否记录操作日志, 建议开启。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 返回值<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	返回一个列表。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.table_list()</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">[&#39;kg_ad&#39;,&nbsp;&#39;kg_admin&#39;,&nbsp;&#39;kg_article&#39;,&nbsp;&#39;kg_category&#39;,&nbsp;&#39;kg_guestbook&#39;]</pre><br/><div class=\"gtitle\">方法11：timeout()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	获取MySQL自动断开连接时效。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">timeout()</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	无参数。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 返回值<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	返回一个字典。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.timeout()</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">{&#39;Variable_name&#39;:&nbsp;&#39;connect_timeout&#39;,&nbsp;&#39;Value&#39;:&nbsp;&#39;10&#39;}</pre><br/><div class=\"gtitle\">方法12：version()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	获取MySQL版本号。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">version()</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	无参数。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 返回值<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	返回一个字符串。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.version()</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">&#39;5.7.24&#39;</pre><br/><div class=\"gtitle\">方法13：open()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	打开数据库连接。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">open()</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	无参数。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 返回值<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	返回布尔类型。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.open()</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">Ture</pre><br/><div class=\"gtitle\">方法14：close()</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 描述<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	关闭数据库连接。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">close()</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 参数<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	无参数。 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 返回值<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;\r\n	返回布尔类型或字符串。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 实例	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.db.close()</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">&#39;tools.pymysql.err.Error:&nbsp;Already&nbsp;closed&#39;</pre><br/><div class=\"gtitle\">属性</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;1. total_rows：查询到的总记录条数<br/><pre class=\"brush:python;toolbar:false\">self.db.total_rows&nbsp;&nbsp;#&nbsp;调用总记录条数</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;2. total_page：查询到的总页数<br/><pre class=\"brush:python;toolbar:false\">self.db.total_page&nbsp;&nbsp;#&nbsp;调用总页数</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;3. sql：查询的sql语句<br/><pre class=\"brush:python;toolbar:false\">self.db.sql&nbsp;&nbsp;#&nbsp;调用执行的sql语句</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;4. request_count：当前页请求数据库的次数，包括查询、修改、添加数据的总次数<br/><pre class=\"brush:python;toolbar:false\">self.db.request_count&nbsp;&nbsp;#&nbsp;调用当前页面请求数据库的次数</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;5. page：查询的当前页码<br/><pre class=\"brush:python;toolbar:false\">self.db.page&nbsp;&nbsp;#&nbsp;调用当前页码</pre><br/><div class=\"gtitle\">适应版本</div><br/>\r\n	v1.0.1</div>', '', '1', '1', '0', '', '[\"product_50_0\", \"product_50_1\"]', '0', '1', '1', '[0, 1, 2, 3, 4, 5]', '0', '606', '0');
INSERT INTO `kg_article` VALUES ('53', '12', '[47, 79]', '全局变量kg', '', '', '', '', '', '', '全局变量kg包含了浏览器在请求时提交的内容，方便后端获取相应的值进行处理。\r\nkg以字典嵌套的形式进行存储，取值方式参考python字典类型的取值。', '										<style type=\"text/css\">pre{white-space: pre-wrap !important;}</style><style type=\"text/css\">pre{white-space: pre-wrap !important;}</style><div class=\"v2\"><div class=\"gtitle\">描述</div><br/>\r\n	全局变量kg包含了浏览器在请求时提交的内容，方便后端获取相应的值进行处理。<br/>\r\n	kg以字典嵌套的形式进行存储，取值方式参考python字典类型的取值。<br/><br/><div class=\"gtitle\">常见调用：get</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.kg[&#39;get&#39;]&nbsp;#&nbsp;&nbsp;获取所有get提交的参数</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">{&#39;id&#39;:&#39;85&#39;,&nbsp;&#39;sort&#39;:&#39;1&#39;}</pre><br/><div class=\"gtitle\">常见调用：post</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.kg[&#39;post&#39;]&nbsp;#&nbsp;&nbsp;获取所有get提交的参数</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">{&#39;filename&#39;:&#39;kgcms.zip&#39;}</pre><br/><div class=\"gtitle\">常见调用：cookie</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.kg[&#39;cookie&#39;]&nbsp;#&nbsp;获取cookie</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">{&#39;__CURRNET_USER__&#39;:&nbsp;&#39;&quot;2|1:0|10:1565051987|16:__CURRNET_USER__|12:d2FueWFubmk&#39;,\r\n&nbsp;&#39;__CURRENT_USER_ID__&#39;:&nbsp;&#39;&quot;2|1:0|10:1565051987|19:__CURRENT_USER_ID__|4:MjA&#39;,\r\n&nbsp;&#39;_USER_RIGHTS_&#39;:&nbsp;&#39;2|1:0|10:1565051987|13:_USER_RIGHTS_|92:Y2F0ZWdvcnksYXJ0aWNsZSxhcnRfc2gscmV2aXNpb24scXVlc3Rpb24scGFydHksbmVlZCxtZW1iZXIsYWQscmlnaHRz|83833db29d0349e5254cf460847a1ac44b044eb431be68fb0057d29f6da0b337&#39;,\r\n&nbsp;&#39;mlecms_admin_left_menu&#39;:&nbsp;&#39;show&#39;,&nbsp;&#39;name2&#39;:&nbsp;&#39;kgcms&#39;,&nbsp;&#39;id3&#39;:&nbsp;&#39;99&#39;,&nbsp;&#39;OK&#39;:&nbsp;&#39;True&#39;}</pre><br/><div class=\"gtitle\">常见调用：session</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.kg[&#39;session&#39;]&nbsp;#&nbsp;&nbsp;获取session</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">{&#39;name&#39;:&nbsp;&#39;kgcms&#39;,&nbsp;&#39;id&#39;:&nbsp;&#39;99&#39;,&nbsp;&#39;OK&#39;:&nbsp;True}</pre><br/><div class=\"gtitle\">常见调用：server</div><br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 语法	<pre class=\"brush:python;toolbar:false\">return&nbsp;self.kg[&#39;server&#39;][&#39;ROOT_PATH&#39;]&nbsp;#&nbsp;&nbsp;获取服务器变量</pre>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● 结果	<pre class=\"brush:python;toolbar:false\">&quot;/kgcms_admin/environ&quot;</pre><br/><br/><div class=\"gtitle\">内容</div><br/><p><img src=\"/upload/article/201912/20191225095039329.png\" title=\"20191225095039329.png\" alt=\"20191225095039329.png\"/></p><br/><div class=\"gtitle\">适应版本</div><br/>\r\n	v1.0.1</div>', '', '1', '0', '0', '', '[]', '1', '1', '1', '[0]', '0', '386', '0');
INSERT INTO `kg_article` VALUES ('69', '12', '[47, 82]', '文章内容模块数据调用方法及技巧', '', '', '', '', '文章内容模块数据调用方法及技巧', '										pre{white-space: pre-wrap !important;}pre{white-space: pre-wrap !important;}描述文章内容调用单个文章内容使用{{ 0|article_single() }}，调用多个文章内容使用{{ 0|article_list() }}，分页调用文章内容使用{{ 0|article_page() }}。	|左边填第一个参数，右边填其他参数用逗号隔开。例:{{ 0|article_list(10,2) }}，回返数据由变量名data来接收，变量名可自行定义。	调用单个时返回一个字典，调用多个和分页调用时返回一个列表套字典的数据，每个字典是一条文章数据  	调用方法以下是文章的调用方法:{{ 0|article_single()&amp; ...', '文章内容调用单个文章内容使用{{ 0|article_single() }}，调用多个文章内容使用{{ 0|article_list() }}，分页调用文章内容使用{{ 0|article_page() }}。\r\n|左边填第一个参数，右边填其他参数用逗号隔开。例:{{ 0|article_list(10,2) }}，回返数据由变量名data来接收，变量名可自行定义。\r\n调用单个时返回一个字典，调用多个和分页调用时返回一个列表套字典的数据，每个字典是一条文章数据', '<style type=\"text/css\">pre{white-space: pre-wrap !important;}</style><style type=\"text/css\">pre{white-space: pre-wrap !important;}</style><div class=\"v2\"><div class=\"gtitle\">描述</div><p>文章内容调用单个文章内容使用{{ 0|article_single() }}，调用多个文章内容使用{{ 0|article_list() }}，分页调用文章内容使用{{ 0|article_page() }}。<br/>\r\n	|左边填第一个参数，右边填其他参数用逗号隔开。例:{{ 0|article_list(10,2) }}，回返数据由变量名data来接收，变量名可自行定义。<br/>\r\n	调用单个时返回一个字典，调用多个和分页调用时返回一个列表套字典的数据，每个字典是一条文章数据<br/></p><br/>\r\n &nbsp;<div class=\"gtitle\">调用方法</div><p>以下是文章的调用方法:</p><pre class=\"brush:python;toolbar:false\">{{&nbsp;0|article_single()&nbsp;}}&nbsp;&nbsp;#&nbsp;单条\r\n{{&nbsp;0|article_list()&nbsp;}}&nbsp;&nbsp;#&nbsp;多条\r\n{{&nbsp;0|article_page()&nbsp;}}&nbsp;&nbsp;#&nbsp;分页</pre><br/><div class=\"gtitle\">单条调用参数</div><p>&nbsp; &nbsp; ● &nbsp;articleid: [int] 要获取数据的ID<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;date: [str] 日期格式化：<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%y 两位数的年份表示（00-99） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%Y 四位数的年份表示（000-9999） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%m 月份（01-12） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%d 日，月内中的一天（0-31）<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%H 24小时制小时数（0-23） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%I 12小时制小时数（01-12） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%M 分钟数（00=59） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%S 秒（00-59）<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%a 本地简化星期名称 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%A 本地完整星期名称 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%b 本地简化的月份名称, 英文 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%B 本地完整的月份名称, 英文<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%c 本地相应的日期表示和时间表示 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%j 年内的一天（001-366） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%p 本地A.M.或P.M.的等价符 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%U 一年中的星期数（00-53）星期天为星期的开始（第n周）<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%w 星期（0-6），星期天为星期的开始 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%W 一年中的星期数（00-53）星期一为星期的开始（第n周） <br/> &nbsp;\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%x 本地相应的日期表示<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%X 本地相应的时间表示 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%Z 当前时区的名称 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%% %号本身<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;field: [int|list] 为0时查询默认字段，为列表时查询列表内包含的字段，例：[&#39;id&#39;, &#39;title&#39;, &#39;author&#39;]。缺省值0<br/></p><br/><div class=\"gtitle\">多条和分页调用参数</div><p>&nbsp; &nbsp; ● &nbsp;sort: [int] 排序，,0ID降序，1ID升序，2日期降序，3日期升序，4浏览数降序，5浏览数升序，6评论数降序，7评论数升序，8自定义。缺省值0<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;row: [int] 分页时为每页要显示的数量，不分页时为调用的总记录数。缺省值为 10<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;recom: [int] 是否推荐，0调用全部，1只调用推荐，2只调用不推荐。缺省值为0<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;category: [int] 调用栏目id，0调用全部，其他为要调用的栏目id。缺省值0<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;start: [int] 不分页时，从第几天数据开始调用，分页时无效。缺省值0<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;picture: [int] 是否调用带有图片的内容，0调用全部，1调用有图片数据，2调用无图数据。缺省值0<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;word: [str] 搜索的关键字。<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;published: [int] 是否调用已发布的内容，0调用全部，1调用已发布，2调用草稿。缺省值0<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;audit: [int] 是否调用已审核的内容，0调用全部，1调用审核，2调用未审核。缺省值0<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;recycle: [int] 是否调用回收站的内容，0调用全部，1调用正常，2调用回收站。缺省值0<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;comment: [int] 是否调用可评论内容，0调用全部，1调用可评论，2调用不可评论。缺省值0<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;date: [str] 日期格式化：<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%y 两位数的年份表示（00-99） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%Y 四位数的年份表示（000-9999） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%m 月份（01-12） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%d 日，月内中的一天（0-31）<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%H 24小时制小时数（0-23） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%I 12小时制小时数（01-12） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%M 分钟数（00=59） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%S 秒（00-59）<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%a 本地简化星期名称 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%A 本地完整星期名称 <br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%b 本地简化的月份名称, 英文 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%B 本地完整的月份名称, 英文<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%c 本地相应的日期表示和时间表示 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%j 年内的一天（001-366） &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%p 本地A.M.或P.M.的等价符 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%U 一年中的星期数（00-53）星期天为星期的开始（第n周）<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%w 星期（0-6），星期天为星期的开始 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%W 一年中的星期数（00-53）星期一为星期的开始（第n周） <br/> &nbsp;\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%x 本地相应的日期表示<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%X 本地相应的时间表示 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%Z 当前时区的名称 &nbsp;<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;%% %号本身<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;● &nbsp;field: [int|list] 为0时查询默认字段，为列表时查询列表内包含的字段，例：[&#39;id&#39;, &#39;title&#39;, &#39;author&#39;]。缺省值0<br/></p><br/><div class=\"gtitle\">调用实例</div><p><br/></p><pre class=\"brush:python;toolbar:false\">{{&nbsp;12|article_single&nbsp;}}&nbsp;&nbsp;#&nbsp;调用ID为12的文章内容\r\n{{&nbsp;0|article_list(5)&nbsp;}}&nbsp;&nbsp;#&nbsp;调用最新发布的5篇文章\r\n\r\n#&nbsp;===========================================================&nbsp;#\r\n#&nbsp;调用当前频道下含有图片的内容并循环\r\n{%&nbsp;for&nbsp;row&nbsp;in&nbsp;0|article_list(10,0,kg[&#39;category&#39;])&nbsp;%}{{row[&#39;title&#39;]}}\r\n{%&nbsp;endfor&nbsp;%}\r\n\r\n#&nbsp;===========================================================&nbsp;#\r\n#&nbsp;列表分页及内容分页数据调用\r\n{%&nbsp;set&nbsp;article_data&nbsp;=&nbsp;0|article_page()&nbsp;%}\r\n{%&nbsp;for&nbsp;row&nbsp;in&nbsp;article_data[&#39;list&#39;]&nbsp;%}\r\n	{{row}}&nbsp;&nbsp;#&nbsp;每一条数据（字典）\r\n{%&nbsp;endfor&nbsp;%}\r\n数据总记录数：{{article_data[&#39;page_data&#39;][&#39;total_rows&#39;]}}\r\n当前页码：{{article_data[&#39;page_data&#39;][&#39;page&#39;]}}\r\n总页数：{{article_data[&#39;page_data&#39;][&#39;total_page&#39;]}}\r\n页码html代码：{{article_data[&#39;page_html&#39;]}}\r\n\r\n#&nbsp;===========================================================&nbsp;#\r\n在文章内页模板中有增加以下变量可以调用：\r\n当前内容所属一级类别ID：{{a[&#39;category_split&#39;][&#39;root_id&#39;]}}\r\n当前内容所属最低级类别ID：{{a[&#39;category_split&#39;][&#39;end_id&#39;]}}\r\n当前内容所属最低级类别名称：{{a[&#39;category_split&#39;][&#39;end_name&#39;]}</pre><p><br/></p><br/><div class=\"gtitle\">适应版本</div><br/>\r\n	v1.0.1</div>', '', '1', '0', '0', '', '[]', '0', '1', '1', '[0]', '0', '315', '0');
INSERT INTO `kg_article` VALUES ('75', '12', '[47, 83]', 'KGCMS 最终用户授权许可协议', '', '', '', '', '', '', '本《KGCMS用户使用授权许可协议》(以下简称&quot;KGCMS&quot;)是您(自然人、法人或其他组织)与KGCMS之间有关复制、下载、安装、使用KGCMS相关产品以及任何相关材料、补丁更新的法律协议...', '<div class=\"content\">本《KGCMS用户使用授权许可协议》(以下简称&quot;KGCMS&quot;)是您(自然人、法人或其他组织)与KGCMS之间有关复制、下载、安装、使用KGCMS相关产品以及任何相关材料、补丁更新的法律协议，同时本协议亦适用于任何有关本软件的后期更新和升级。一旦复制、下载、安装或以其他方式使用本软件，即表明您同意接受本协议各项条款的约束。如果您不同意本协议中的条款，请勿复制、下载、安装或以其他方式使用本软件。<br/><br/><strong>约束和限制：</strong><br/>1、未获得商业授权之前，不得将本软件用于(包括但不限于)以下用途：<br/>　　a、 不得将该软件用于企业或公司网站。<br/>　　b、 不得将该软件用于政府、金融、教育机构、学校、社会团体及其他经营性网站、以营利为目或实现盈利的网站。<br/>　　c、 不是将该软件用于带有盈利性质的个人网站。<br/>　　d、 不得将该软件用于免费性个人网站以外的其它任何网站。<br/>2、不得对本软件或与之关联的商业授权进行出租、出售、抵押或发放子许可证。<br/>3、不管您的网站是否整体使用KGCMS，还是部份栏目使用KGCMS，在您使用了KGCMS的网站主页上必须保留KGCMS版权信息及相关链接。<br/>4、禁止在本软件的整体或任何部分基础上以发展任何派生版本、修改版本或第三方版本用于重新分发。<br/>5、如果您未能遵守本协议的条款，您的授权将被终止，所被许可的权利将被收回，并承担相应法律责任。<br/><br/><strong>许可您的权利：</strong><br/>1、您可以在完全遵守本最终用户授权协议的基础上，将本软件免费应用于个人非商业用途网站，而不必支付软件版权授权费用。<br/>2、您可以在协议规定的约束和限制范围内根据需要对本软件进行必要的修改和美化，以适应您的网站要求。<br/>3、您拥有使用本软件构建的网站中收集到的全部会员资料、文章、下载、图片、留言及相关信息的所有权，并独立承担与内容相关的法律义务。<br/>4、获得商业授权之后，您可以将本软件应用于商业用途，同时依据所购买的授权类型中确定的技术支持服务期限、服务方式和服务内容，自购买时刻起，在技术支持服务期限内拥有通过指定的方式获得指定范围内的技术支持服务。<br/>5、服务网站数量：一份KGCMS使用授权安装为一个服务网站，同一使用主体下的同一套系统可支持多个域名。<br/>&nbsp;<br/><strong>有限担保和免责声明：</strong><br/>　　本软件及所附带的文件是作为不提供任何明确的或隐含的赔偿或担保的形式提供的。<br/>　　用户出于自愿而使用本软件，您必须了解使用本软件的风险，在尚未购买产品技术服务之前，我们不承诺提供任何形式的技术支持、使用担保，也不承担任何因使用本软件而产生问题的相关责任。<br/>　　KGCMS不对使用本软件构建的网站的任何信息内容以及导致的任何版权纠纷和法律争议及后果承担责任。<br/>　　有关本软件最终用户授权协议、商业授权与技术服务的详细内容，均由KGCMS(http://www.KGCMS.com)和官方论坛(http://bbs.KGCMS.com)提供唯一的解释和官方价目表。KGCMS拥有在不提前通知的情况下，修改授权协议和价目表的权力，修改后的协议或价目表对自改变之日起的新授权用户生效。<br/>&nbsp;<br/><strong>权利和所有权的保留：</strong><br/>　　KGCMS保留所有未在本协议中明确授予您的权利。<br/>　　您一旦开始安装本软件，即被视为完全理解并接受本协议的各项条款，在享有上述条款授予的权力的同时，受到相关的约束和限制。协议许可范围以外的行为，将直接违反本授权协议并构成侵权，我们有权随时终止授权，责令停止损害，并保留追究相关责任的权力。<br/>　　请购买前务必认清并理解不同技术服务方式及服务范围。技术支持只面向官方标准安装版本，自行修改或使用非原始KGCMS程序代码后可能产生的问题均不在服务范围之内。</div>', '', '1', '0', '0', '', '[]', '1', '1', '1', '[0]', '0', '156', '0');
INSERT INTO `kg_article` VALUES ('76', '12', '[47, 84]', '如何配置/安装 KGCMS', '', '', '', '', '如何配置/安装 KGCMS', '准备工作：运行环境要求：Linux/FreeBSD/Solaris + Apache + Mysql 5 + PHP 5或 Windows + IIS 5/Apache + Mysql 5 + PHP 5　　确定你的空间支持程序运行（MySQL 5 + PHP5 或以上版本)，没有环境的童鞋可以用集成包。我们完成了环境的准备之后，下面就可以通过在浏览器中输入安装向导的网址开始进行MLECMS的安装，在安装完成之后我们就可以看到我们的站点。开始安装：　　我们下载通常是一个压缩包，压缩包解压后，将 upload 目录下的所有文件上传至网站根目录中。注：Linux 或 Freebsd 服务器下安装，使用 FTP 工具中的二进制模式上传。同时确认以下目录或文件属性为 ...', '', '<p><strong>准备工作：</strong></p><p style=\"text-indent: 2em;\">运行环境要求：Linux &nbsp;+ Mysql 5.7 + Python 3.8.0 或 Windows + Mysql 5.7 + Python 3.8.0</p><p style=\"text-indent: 2em;\">确定你的空间支持程序运行（MySQL 5.7 + Python 3.8.0 或以上版本)，没有环境的童鞋可以参照下文的安装教程进行配置。应用启动入口程序：index.py，默认端口：8000<br/></p><p><strong>开始安装:</strong></p><p>1、安装 Python 3.8+版本：</p><p><strong>提示：</strong>建议安装3.8.*版本,因为系统pyc文件用3.8编译,如果安装3.8以上还需处理版本兼容问题</p><p style=\"text-indent: 2em;\">1.1 进入官网安装Python3.8(本文以3.9.0版本为例进行安装说明)，官网下载地址:https://www.python.org/downloads/</p><p style=\"text-indent: 2em; text-align: left;\">可直接在首页安装最新版本</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026111520145.png\" title=\"20201026111520145.png\" alt=\"20201026111520145.png\"/></p><p style=\"text-indent: 2em;\">或者根据需求选择系统对应的版本进行下载</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026111716237.png\" title=\"20201026111716237.png\" alt=\"20201026111716237.png\"/></p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026111740352.png\" title=\"20201026111740352.png\" alt=\"20201026111740352.png\"/></p><p style=\"text-indent: 2em;\">1.2 下载好安装包后,双击安装包进行安装</p><p style=\"text-indent: 2em;\">1.2.1 勾选下方“Add Python 3.9 to PATH”，并选择“Customize installation”</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026111949762.png\" title=\"20201026111949762.png\" alt=\"20201026111949762.png\"/></p><p style=\"text-indent: 2em;\">1.2.2 把Optional Features全部勾选上，点击“Next”</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026115740580.png\" title=\"20201026115740580.png\" alt=\"20201026115740580.png\"/></p><p style=\"text-indent: 2em;\">1.2.3 Advanced Options勾选2/3/4项，然后选择安装路径，点击“Install”，等待安装完成</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026115818199.png\" title=\"20201026115818199.png\" alt=\"20201026115818199.png\"/></p><p style=\"text-indent: 2em;\">1.2.4 页面出现Successful字样，说明安装成功</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026115831790.png\" title=\"20201026115831790.png\" alt=\"20201026115831790.png\"/></p><p style=\"text-indent: 2em;\">1.2.5 按win+R，输入“cmd”，回车，输入“python”，如果能如下正常回显，则成功。</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026115845234.png\" title=\"20201026115845234.png\" alt=\"20201026115845234.png\"/></p><p style=\"text-indent: 2em;\"><br/></p><p>2、安装 MySQL 5.7+版本</p><p style=\"text-indent: 2em;\">2.1 进入官网安装MySQL 5.7或其以上的版本(本文以5.7.0版本为例进行说明)官网下载地址:https://dev.mysql.com/downloads/mysql/5.7.html</p><p style=\"text-indent: 2em;\">将页面拖到最下看到如下界面，根据电脑的版本选择下载对应的ZIP文件</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026140858851.png\" title=\"20201026140858851.png\" alt=\"20201026140858851.png\"/></p><p style=\"text-indent: 2em;\">直接点击最下面的no thanks开始进行下载</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026140958219.png\" title=\"20201026140958219.png\" alt=\"20201026140958219.png\"/></p><p style=\"text-indent: 2em;\">下载完毕后将文件解压到想保存到的盘和目录内，<span style=\"text-indent: 2em;\">本文以解压在D:\\mysql目录下为例</span></p><p style=\"text-indent: 2em;\">2.2 配置系统变量</p><p style=\"text-indent: 2em;\">右键点击”我的电脑”,选择”属性”</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026141116078.png\" title=\"20201026141116078.png\" alt=\"20201026141116078.png\"/></p><p style=\"text-indent: 2em;\">高级系统设置—&gt;环境变量—&gt;系统变量,依次点击进入</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026141154167.png\" title=\"20201026141154167.png\" alt=\"20201026141154167.png\"/><br/><img src=\"/upload/article/202010/20201026141201939.png\" title=\"20201026141201939.png\" alt=\"20201026141201939.png\"/></p><p style=\"text-indent: 2em;\">进入后新建系统变量,变量名为：MYSQL_HOME，添加解压的mysql文件夹所在的目录位置。</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026141256706.png\" title=\"20201026141256706.png\" alt=\"20201026141256706.png\"/><br/><img src=\"/upload/article/202010/20201026141303038.png\" title=\"20201026141303038.png\" alt=\"20201026141303038.png\"/></p><p style=\"text-indent: 2em;\">2.3配置my.ini文件</p><p style=\"text-indent: 2em;\">在D:\\mysql\\mysql-5.7.32-winx64的目录下新建my.ini文件，my.ini文件的内容以用户安装地址为准,例：</p><p style=\"text-indent: 2em;\">#-----------------开始--------------------------</p><p style=\"text-indent: 2em;\">[mysqld]</p><p style=\"text-indent: 2em;\">#端口号</p><p style=\"text-indent: 2em;\">port = 3306</p><p style=\"text-indent: 2em;\">#mysql-5.7.32-winx64的路径</p><p style=\"text-indent: 2em;\">basedir=D:\\mysql\\mysql-5.7.32-winx64</p><p style=\"text-indent: 2em;\">#mysql-5.7.32-winx64的路径+\\data</p><p style=\"text-indent: 2em;\">datadir=D:\\mysql\\mysql-5.7.32-winx64\\data&nbsp;</p><p style=\"text-indent: 2em;\">#最大连接数</p><p style=\"text-indent: 2em;\">max_connections=200</p><p style=\"text-indent: 2em;\">#编码</p><p style=\"text-indent: 2em;\">character-set-server=utf8</p><p style=\"text-indent: 2em;\">default-storage-engine=INNODB</p><p style=\"text-indent: 2em;\">sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES</p><p style=\"text-indent: 2em;\">[mysql]</p><p style=\"text-indent: 2em;\">#编码</p><p style=\"text-indent: 2em;\">default-character-set=utf8&nbsp;</p><p style=\"text-indent: 2em;\">#-----------------结束--------------------------<br/><br/></p><p style=\"text-indent: 2em;\">2.4.安装MySQL</p><p style=\"text-indent: 2em;\">在输入框内输入cmd，以管理员的身份运行在cmd中进入到D:\\mysql\\mysql-5.7.32-winx64\\bin目录下:</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026141634742.png\" title=\"20201026141634742.png\" alt=\"20201026141634742.png\"/></p><p style=\"text-indent: 2em;\">输入安装命令：mysqld -install，若出现Service successfully installed，证明安装成功；如出现Install of the Service Denied，则说明没有以管理员权限来运行cmd</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026141747568.png\" title=\"20201026141747568.png\" alt=\"20201026141747568.png\"/></p><p style=\"text-indent: 2em;\">然后继续输入命令：mysqld &nbsp;-initialize，此时不会有任何提示：</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026141845941.png\" title=\"20201026141845941.png\" alt=\"20201026141845941.png\"/></p><p style=\"text-indent: 2em;\">再输入启动命令：net start mysql，出现以下提示证明MySQL启动成功：</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026141949512.png\" title=\"20201026141949512.png\" alt=\"20201026141949512.png\"/></p><p style=\"text-indent: 2em;\">在输入命令mysql -u root -p，不需要输入密码，直接回车</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145030558.png\" title=\"20201026145030558.png\" alt=\"20201026145030558.png\"/>&nbsp;</p><p style=\"text-indent: 2em;\">输入命令行use mysql，进入数据库</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145040341.png\" title=\"20201026145040341.png\" alt=\"20201026145040341.png\"/>&nbsp;</p><p style=\"text-indent: 2em;\">输入命令行update user set authentication_string=password(&quot;xxxxxx&quot;) where user=&quot;root&quot;；xxxxxx是设置的新密码，敲击回车后若出现以下信息，证明修改成功</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145048905.png\" title=\"20201026145048905.png\" alt=\"20201026145048905.png\"/>&nbsp;</p><p style=\"text-indent: 2em;\"><strong>提示：</strong>命令行<span style=\"text-indent: 32px;\">输入</span>exit；可<span style=\"text-indent: 32px;\">退出mysql。</span><span style=\"text-indent: 2em;\">停止MySQL服务，可输入net stop mysql</span></p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145219602.png\" title=\"20201026145219602.png\" alt=\"20201026145219602.png\"/>&nbsp;</p><p dir=\"ltr\" style=\"text-indent: 2em;\">然后在刚刚的my.ini文件中删除skip-grant-tables这一行，保存关闭,再次启动cmd（管理员身份），输入启动命令：net start mysql,再输入mysql -u root -p，再输入刚刚设置的密码，出现以下信息证明设置成功</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145100253.png\" title=\"20201026145100253.png\" alt=\"20201026145100253.png\" style=\"white-space: normal;\"/></p><p style=\"text-indent: 2em;\">重置一下密码,键入命令行alter user user() identified by &quot;xxxxxx&quot;；xxxxxx是设置的新密码</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145109871.png\" title=\"20201026145109871.png\" alt=\"20201026145109871.png\" style=\"white-space: normal;\"/></p><p style=\"text-indent: 2em;\">再次输入命令行use mysql验证一下，是否成功</p><p style=\"text-align: center;\">&nbsp;<img src=\"/upload/article/202010/20201026145117039.png\" title=\"20201026145117039.png\" alt=\"20201026145117039.png\" style=\"white-space: normal;\"/></p><p>&nbsp;</p><p style=\"text-indent: 2em;\">3.&nbsp;创建/导入 MySQL 数据库</p><p style=\"text-indent: 2em;\">输入:CREATE DATABASE 数据库名；进行创建数据库</p><p style=\"text-align: center;\">&nbsp;<img src=\"/upload/article/202010/20201026145133002.png\" title=\"20201026145133002.png\" alt=\"20201026145133002.png\" style=\"white-space: normal;\"/></p><p style=\"text-indent: 2em;\">输入:SHOW DATABASES；查看已有的数据库</p><p style=\"text-align: center;\">&nbsp;<img src=\"/upload/article/202010/20201026145140167.png\" title=\"20201026145140167.png\" alt=\"20201026145140167.png\" style=\"white-space: normal;\"/></p><p style=\"text-indent: 2em;\">导入MySQL 数据库,以导入.sql文件为例</p><p style=\"text-indent: 2em;\">输入:USE 数据库名；数据库名为<span style=\"text-indent: 32px;\">选择要导入的数据库</span></p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145150211.png\" title=\"20201026145150211.png\" alt=\"20201026145150211.png\" style=\"white-space: normal;\"/></p><p style=\"text-indent: 2em;\">输入: &nbsp;SOURCE SQL文件；</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145334842.png\" title=\"20201026145334842.png\" alt=\"20201026145334842.png\"/>&nbsp;</p><p style=\"text-indent: 2em;\">4.&nbsp;安装 pymysql 库</p><p style=\"text-indent: 2em;\">在cmd中输入pip install pymysql 进行安装</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145339833.png\" title=\"20201026145339833.png\" alt=\"20201026145339833.png\"/></p><p style=\" text-indent: 2em;\">5. 修改KGCMS中的配置</p><p style=\" text-indent: 2em;\">在KGCMS的文件夹中找到config文件夹</p><p style=\"text-align: center;\"><img src=\"/upload/article/202011/20201118174730121.png\" title=\"20201118174730121.png\" alt=\"20201118174730121.png\"/></p><p style=\" text-indent: 2em;\">进入目录中找到db.ini文件，点击打开</p><p style=\"text-align: center;\"><img src=\"/upload/article/202011/20201118174808064.png\" title=\"20201118174808064.png\" alt=\"20201118174808064.png\"/></p><p style=\" text-indent: 2em;\">修改里面关于数据库的配置，填写在之前配置的数据库参数，实际参数已安装数据库时设置的为准</p><p style=\"text-align: center;\"><img src=\"/upload/article/202011/20201118175614377.png\" title=\"20201118175614377.png\" alt=\"20201118175614377.png\"/></p><p style=\"text-indent: 2em;\">6.&nbsp;完成</p><p style=\"text-indent: 2em;\">打开index.py文件，设置网站的端口</p><p style=\"text-align: center;\"><img src=\"/upload/article/202011/20201119114332654.png\" title=\"20201119114332654.png\" alt=\"20201119114332654.png\"/></p><p style=\"text-indent: 2em;\">进行完环境的配置后，<span style=\"text-indent: 2em;\">在cmd中选择项目目录,进入后输入“pytho</span><span style=\"text-indent: 2em;\">n index.py”</span></p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145347161.png\" title=\"20201026145347161.png\" alt=\"20201026145347161.png\"/>&nbsp;</p><p style=\"text-indent: 2em;\"><strong>提示：</strong>如果出现图中的错误,则表示安装的python编译器与pyc文件编译的版本不一致</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145352387.png\" title=\"20201026145352387.png\" alt=\"20201026145352387.png\"/></p><p style=\"text-indent: 2em;\">解决方案:</p><p style=\"text-indent: 2em;\">1.&nbsp;重新安装一个版本与编译pyc文件时所用的python版本相同的python</p><p style=\"text-indent: 2em;\">2. 删除所有pyc文件,用当前python编译器生成pyc文件</p><p style=\"text-indent: 2em;\">如果出现下图情况则表示运行成功</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145401368.png\" title=\"20201026145401368.png\" alt=\"20201026145401368.png\"/></p><p style=\"text-indent: 2em;\">在浏览器中输入http://localhost:8000/后出现下图就表示项目已配置完成（注：实际端口号以index.py中的配置为准）</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145408241.png\" title=\"20201026145408241.png\" alt=\"20201026145408241.png\"/></p><p style=\"text-indent: 2em;\"><strong>提示：</strong>如果出现样式文件没加载成功的情况</p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145416196.png\" title=\"20201026145416196.png\" alt=\"20201026145416196.png\"/></p><p style=\"text-indent: 2em;\">1.&nbsp;如果是使用谷歌浏览器才出现这种情况的,可能是浏览器的配置问题</p><p style=\"text-indent: 2em;\">地址栏输入 chrome://net-internals/#hsts，<span style=\"text-indent: 2em;\">找到底部Delete domain security policies一栏，输入想处理的域名，点击delete</span></p><p style=\"text-align: center;\"><img src=\"/upload/article/202010/20201026145422791.png\" title=\"20201026145422791.png\" alt=\"20201026145422791.png\"/></p><p style=\"text-indent: 2em;\">2.&nbsp;所有浏览器都出现的情况:</p><p style=\"text-indent: 2em;\">找到项目里的文件\\config\\settings.ini，<span style=\"text-indent: 2em;\">在该文件中加上server_protocol&nbsp;=&nbsp;http&nbsp;后,重新刷新页面就正常了</span></p><p><br/></p>', '', '1', '32', '0', '', '[\"product_76_0\", \"product_76_1\"]', '0', '1', '1', '[0]', '0', '2135', '0');
INSERT INTO `kg_article` VALUES ('90', '12', '[90]', '软件著作权证书', '', '', '', '', '软件著作权证书', '', '', '<p style=\"text-align: center;\"><img src=\"/upload/article/202001/20200116165848698.jpg\" title=\"20200116165848698.jpg\" alt=\"20200116165848698.jpg\"/></p>', '', '1', '2', '0', '', '[]', '1', '1', '1', '[0]', '0', '166', '0');
INSERT INTO `kg_article` VALUES ('93', '12', '[47, 91]', '获取Python版本函数：get_python_version()', '', '', '', '', '获取Python版本函数：get_python_version()', '描述get_python_version() 获取系统安装的Python版本get_python_version() 接收一个参数，第一个参数为是否获取原始信息, 直接返回 sys.version，语法以下是 get_python_version() 的语法:get_python_version(original=False)参数    ● original [bool]：是否获取原始信息, 直接返回 sys.version。返回值返回一个tuple类型的数据实例以下展示了使用 get_python_version() 的实例:from kyger.common import get_python_versionprint(get_python_version())print(get_python_version(True))以上实例运行后输出的 ...', 'get_python_version() 获取系统安装的Python版本\r\nget_python_version() 接收一个参数，第一个参数为是否获取原始信息, 直接返回 sys.version，', '<div class=\"v2\"><div class=\"gtitle\">描述</div><p>get_python_version() 获取系统安装的Python版本<br/>get_python_version() 接收一个参数，第一个参数为是否获取原始信息, 直接返回 sys.version，<br/></p><br/><div class=\"gtitle\">语法</div><p>以下是 get_python_version() 的语法:</p><pre class=\"brush:python;toolbar:false\">get_python_version(original=False)</pre><br/><div class=\"gtitle\">参数</div><p>&nbsp;&nbsp;&nbsp;&nbsp;● original [bool]：是否获取原始信息, 直接返回 sys.version。<br/></p><br/><div class=\"gtitle\">返回值</div><p>返回一个tuple类型的数据<br/></p><br/><div class=\"gtitle\">实例</div><p>以下展示了使用 get_python_version() 的实例:</p><pre class=\"brush:python;toolbar:false\">from&nbsp;kyger.common&nbsp;import&nbsp;get_python_version\r\nprint(get_python_version())\r\nprint(get_python_version(True))</pre><p>以上实例运行后输出的结果为:</p><pre class=\"brush:python;toolbar:false\">(&#39;3.8.1&#39;,&nbsp;&#39;2019-12-18&#39;,&nbsp;&#39;AMD64&#39;)\r\n3.8.1&nbsp;(tags/v3.8.1:1b293b6,&nbsp;Dec&nbsp;18&nbsp;2019,&nbsp;23:11:46)&nbsp;[MSC&nbsp;v.1916&nbsp;64&nbsp;bit&nbsp;(AMD64)]</pre><br/><div class=\"gtitle\">适应版本</div><br/>\r\n &nbsp; &nbsp;v1.0.1</div>', '', '1', '0', '0', '', '[]', '1', '1', '1', '[0]', '0', '131', '0');
INSERT INTO `kg_article` VALUES ('110', '12', '[47, 81]', '项目结构图', '', '', '', '', '项目结构图', 'admin - 后台管理程序目录    index.py - 首页程序文件api - 通用接口、异常、请求、逻辑过程处理等程序文件目录    admin_process.py - 后台通用接口、逻辑处理程序文件', '', '<div class=\"v2\"><div class=\"gtitle\">admin - 后台管理程序目录</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adminpage_manage.py - 模块及分类管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adminpage_update.py - 添加和修改模块页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;admin_manage.py - 后台管理员账号管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;admin_update.py - 后台管理员账号修改和添加页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ad_manage.py - 广告管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ad_update.py - 广告添加和修改页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;app_manage.py - 系统应用管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;app_update.py - 系统应用添加和修改页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;article_manage.py - 文章管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;article_update.py - 文章添加和修改页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;category_manage.py - 栏目管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;category_update.py - 栏目添加和修改页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;comment_manage.py - 评论管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;download_manage.py - 下载管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;download_update.py - 下载内容添加和修改页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;environ.py - 全局变量页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fans_group.py - 粉丝分组页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fans_list.py - 粉丝列表页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;guestbook_manage.py - 留言信息管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index.py - 后台首页页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ipaddress.py - IP地址管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;links_manage.py - 友情链接管理页面<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;links_update.py - 友情链接添加和修改页面<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log.py - 系统日志页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;login.py - 登录页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;material_manage.py - 本地素材管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;material_update.py - 本地素材添加和修改程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;message_manage.py - 在线客服面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;message_manage_reply.py - 消息推送页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;message_push.py - 信息群发页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql_dump.py - 数据库镜像管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;navig_manage.py - 系统导航菜单管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;navig_update.py - 系统导航链接添加和修改页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;picture_manage.py - 图集管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;picture_update.py - 图集添加和修改页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;product_manage.py - 商品管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;product_update.py - 商品添加和修改页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;questions_manage.py - 关键字回复管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;questions_update.py - 关键字回复添加和修改页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;role_manage.py - 角色管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;role_update.py - 角色添加和修改页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;run_sql.py - 大数据插入页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set_globals.py - 全局设置页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set_member.py - 用户设置页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set_picture.py - 图片裁切水印设置页面<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shipping_manage.py - 配送方式管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shipping_update.py - 配送方式新增和添加页面<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shop_order_manage.py - 商品订单管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;shop_order_update.py - 商品订单修改页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;template_dump.py - 模板备份页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;template_install.py - 模板安装页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;template_language.py - 模板语言管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;template_manage.py - 模板管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;template_update.py - 模板修改页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ueditor_demo.py - 富文本管理器的演示程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;upload_manage.py - 服务器附件管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user_manage.py - 用户管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user_rank.py - 用户等级页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user_transactions.py - 会员交易及充值记录管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user_update.py - 会员新增和修改页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web_statistics.py - 网站概况页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web_statistics_access.py - 网站访问分析页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web_statistics_position.py - 客服端分析页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web_statistics_record.py - 实时统计页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web_statistics_source.py - 访问来路分析页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;weixin_menu_manage.py - 微信自定义菜单管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wx_cs_group_manage.py - 微信客服分组管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wx_cs_manage.py - 微信客服管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wx_material_manage.py - 微信素材管理页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wx_material_send.py - 微信群发功能页面程序<br/>\r\n		&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wx_material_update.py - 微信素材添加和修改页面程序<br/></p><br/><div class=\"gtitle\">api - 通用接口、异常、请求、逻辑过程处理等程序文件目录<br/></div><p>&nbsp; &nbsp; &nbsp; &nbsp; admin_process.py - 后台通用接口、逻辑处理程序文件<br/></p><br/><div class=\"gtitle\">backup - 数据库备份、模板备份目录<br/></div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mongodb - MongoDB数据库备份路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mssql- mssql数据库备份路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mysql- MySQL数据库备份路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oracle- Oracle数据库备份路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sybase- sybase数据库备份路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;template - 模板备份路径<br/></p><br/><div class=\"gtitle\">bat - 启动脚本存放路径<br/></div><p>&nbsp; &nbsp; &nbsp; &nbsp; __end_all.bat - 全部关闭脚本<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;__start_r1.bat - 全部关闭<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;__start_r2.bat - 启动项目<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;r1.py - 停止项目<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;r2.py - 启动项目<br/></p><br/><div class=\"gtitle\">config - 项目配置文件存放目录<br/></div><p>&nbsp; &nbsp; &nbsp; &nbsp; admin_custom_menu.json - 后台首页自定义按钮配置文件<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;admin_role.json - 后台管理员组权限配置文件<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;db.ini - 数据库配置文件<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;key.ini - 加密随机字符串文件，用于加密字符串<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;set_picture.json - 图片裁切水印设置配置文件<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;settings.ini - 系统全局设置文件<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;speci.json - 商品规格配置文件<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;update_dir.json - 服务器upload文件夹下的文件夹中文命名配置文件<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;web_statistic.json - 流量访问配置文件<br/></p><br/><div class=\"gtitle\">data - 数据文件存放目录<br/></div><p><br/></p><div class=\"gtitle\">fonts - 字体文件存放目录<br/></div><p><br/></p><div class=\"gtitle\">kyger - 数据调用类，公共方法存放目录<br/></div><p>&nbsp; &nbsp; &nbsp; &nbsp; access.py - 流量统计调用程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ad.py - 广告调用程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adminpage.py - 后台管理页左侧菜单调用程序<br/>&nbsp; &nbsp; &nbsp; &nbsp; article.py - 文件数据调用程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;category - 栏目数据调用程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cipher_aes.py - AES加密调用程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;comment.py - 评论数据调用程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;common.py - 通用函数库<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cropper.py - 图片裁切水印处理程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;db.py - 数据库操作对象程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;download.py - 下载模块数据调用程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kgcms.py - 框架程序文件<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;log.py - 系统日志数据调用程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;misc.py - 前台杂项数据调用程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parser_ini.py - ini配置文件读取程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;parser_wsgi.py - wsgi协议入口<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;payment.py - 支付接口程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;picture.py - 图集数据调用程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;product.py - 商品数据调用程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;role.py - 后台角色数据调用程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;search.py - 前台搜索页数据调用程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;task.py - 计划任务执行程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;updatedir.py - 更新目录程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;upload.py - 图片、文件上传保存程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user.py - 前台用户管理程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;utility.py - 基础通用函数库<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;weixin.py - 微信接口库<br/></p><br/><div class=\"gtitle\">language - 语言包存放路径<br/></div><p>&nbsp; &nbsp; &nbsp; &nbsp; backend - 后台语言包路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;frontend - 前台语言包路径<br/></p><br/><div class=\"gtitle\">static - 通用静态文件存放目录<br/></div><p><br/></p><div class=\"gtitle\">temp - 缓存文件存放目录<br/></div><p><br/></p><div class=\"gtitle\">template - 模板文件存放目录<br/></div><p>&nbsp; &nbsp; &nbsp; &nbsp; backend - 后台模板存放路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;frontedn - 前台模板存放路径<br/></p><br/><div class=\"gtitle\">tools - 第三方模块、基本工具存放路径<br/></div><p>&nbsp; &nbsp; &nbsp; &nbsp; alipay - 支付宝支付<br/>&nbsp; &nbsp; &nbsp; &nbsp; amazeui - 前端插件<br/>&nbsp; &nbsp; &nbsp; &nbsp; Cryptodome - python加密第三方库<br/>&nbsp; &nbsp; &nbsp; &nbsp; jinja2 - python模板引擎<br/>&nbsp; &nbsp; &nbsp; &nbsp; markupsafe - jinja2依赖项<br/>&nbsp; &nbsp; &nbsp; &nbsp; mysqldump - 数据库备份<br/>&nbsp; &nbsp; &nbsp; &nbsp; PIL - python图像处理库<br/>&nbsp; &nbsp; &nbsp; &nbsp; PIL-- - python图像处理库<br/>&nbsp; &nbsp; &nbsp; &nbsp; pymysql - python操作数据库的库<br/>&nbsp; &nbsp; &nbsp; &nbsp; qrcode - python生成二维码库<br/>&nbsp; &nbsp; &nbsp; &nbsp; ueditor - 富文本编辑器<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|_&nbsp; &nbsp;python - 前后端通信配置文件夹<br/>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;|_&nbsp; &nbsp;ueditor.config.js - 文件上传配置文件</p><div class=\"gtitle\">upload - 上传文件、图片存放目录<br/></div><p>&nbsp; &nbsp; &nbsp; &nbsp; advertise - 广告图片文件存放路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;article - 文章图片存放路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;category - 栏目图片存放路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;client_services - 在线客服头像、图片、文件存放路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;download - 下载模块图片、文件存放路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;material - 本地素材图片存放路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;message - 微信粉丝发送给公众号的图片、文件存放路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;other - 其他文件、图片存放路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;photo - 图集图片存放路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;product - 商品图片存放路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;system - 系统图片、文件存放路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;userimage - 用户头像存放路径<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wx_material - 微信素材文件存放路径<br/></p><br/><div class=\"gtitle\">user - 前台用户中心页面程序文件存放目录<br/></div><p>&nbsp; &nbsp; &nbsp; &nbsp; address_update.py - 新增收货地址程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;center.py - 前台用户中心首页程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;checkout.py - 订单提交页面程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;forgot_password.py - 忘记密码，密码找回页面程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index.py - 跳转用户中心程序文件<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;info_modify.py - 修改用户信息程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;login.py - 登录页面程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;my_address.py - 用户地址管理页程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;order.py - 订单管理页面程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;order_logs.py - 交易记录页面程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pwd_modif.py - 密码与邮箱修改页面程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;recharge.py - 在线充值页面程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;register.py - 注册页面程序<br/></p><br/><div class=\"gtitle\">web - 前台页面程序文件存放目录<br/></div><p>&nbsp; &nbsp; &nbsp; &nbsp; article.py - 文章内容页、列表页程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;comment.py - 评论页程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cs_group.py - 客服组页面程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cs_list.py - 客服列表页面程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;download.py - 下载列表页、内容页程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;environ.py - 前台全局变量页面程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index.py - 前台首页页面程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;photo.py - 图集列表页、内容页程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;product.py - 商品列表页、内容页程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;search.py - 搜索页面程序<br/>\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;index.py - 项目启动文件<br/></p><br/></div>', '', '1', '5', '0', '', '[]', '1', '1', '1', '[0]', '0', '332', '0');
INSERT INTO `kg_article` VALUES ('113', '12', '[47, 81]', '数据库结构及字段功能', '', '', '', '', '数据库结构及字段功能', '表[kg_access]（前/后台访问统计）        id [int(10)]             webid [int(10)] 访问的应用ID            aid [varchar(32)] 自动用户ID，随机生成并记录于COOKIE[&#x27;KGCMS_ACCESS_ID&#x27;]            userid [int(10)] 前台用户id            adminid [int(10)] 后台管理员 ...', '', '<div class=\"v2\"><div class=\"gtitle\">创建数据库</div><p>&nbsp; &nbsp; &nbsp; &nbsp;\r\n	&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; CREATE DATABASE `mlecms` DEFAULT CHARACTER SET utf8 COLLATE utf8_general_ci;<br/></p><div class=\"gtitle\">表[kg_access]（前/后台访问统计）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [int(10)] 访问的应用ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;aid [varchar(32)] 自动用户ID，随机生成并记录于COOKIE[&#39;KGCMS_ACCESS_ID&#39;]<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;userid [int(10)] 前台用户id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adminid [int(10)] 后台管理员id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;model [varchar(50)] 访问模块：admin/web/..<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;page [varchar(50)] 访问页面<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url [varchar(255)] 访问完整URL<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;source [varchar(255)] 来源网址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;domain [varchar(255)] 来源域名<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ip [varchar(15)] 访客IP地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;country [varchar(255)] 国家<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;province [varchar(255)] 省份区域<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;city [varchar(255)] 城市<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ips [varchar(50)] 运营商<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rectangle [varchar(100)] 经纬度<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;os [varchar(255)] 操作系统<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;browser [varchar(500)] 客户端浏览器信息<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 记录时间<br/></p><div class=\"gtitle\">表[kg_activity]（活动表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;acstart [int(11)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [varchar(225)] 活动名字<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;password [varchar(100)] 活动密码(md5)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;logo [varchar(225)] logo图片路径<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;icon [varchar(225)] 会议图标<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;qrcode [varchar(225)] 二维码<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;place [varchar(225)] 地点<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tecsupp [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;publisher [varchar(20)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_open [varchar(10)] 签到是否打开<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_bgimg [varchar(225)] 签到背景图<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_start [int(10)] 签到开始时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_end [int(10)] 签到结束时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_head [varchar(225)] 签到头部分<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thopen [int(10)] 是否打开3D签到<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thtitle [varchar(225)] 照片签到显示的文字<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thtime [int(10)] 跳转到3D签到的时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thgroup [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thchoobg [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thobgimg [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thobgcolor [varchar(100)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thchotbg [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thtbgimg [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thtbgcolor [varchar(100)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thchange [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thfrequency [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thdirection [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thstatus [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thtextmode [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thqrcodeopen [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thqrcodecap [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sign_thshowtime [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wall_open [varchar(10)] 是否打开微信墙<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wall_bgimg [varchar(225)] 微信墙背景图<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wall_start [int(10)] 微信墙开始时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wall_end [int(10)] 微信墙结束时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wall_type [varchar(225)] 微信墙消息类型<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wall_status [varchar(225)] 微信墙消息帅选<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wall_group [varchar(225)] 微信墙组消息<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;wall_head [varchar(225)] 微信墙头部文字<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vote_open [varchar(10)] 是否打开投票<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vote_bgimg [varchar(225)] 投票背景图<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vote_id [varchar(225)] 投票调查<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vote_ip [varchar(225)] 投票IP限制<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vote_next [varchar(225)] 投票下一题<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vote_head [varchar(225)] 投票头部文字<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_open [varchar(10)] 是否打开抽奖<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_bgimg [varchar(225)] 抽奖背景图<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_sex [varchar(225)] 抽奖性别<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_card [varchar(225)] 抽奖是否需要领取会员卡<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_group_open [varchar(225)] 抽奖用户分组<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_group [varchar(225)] 抽奖指定的用户组<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_country [varchar(225)] 抽奖国家限制<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_province [varchar(225)] 抽奖省份限制<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_city [varchar(225)] 抽奖城市限制<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_location [varchar(225)] 抽奖位置限制<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_message [varchar(225)] 抽奖中奖后消息通知<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_head [varchar(225)] 抽奖头部文字<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_announc [varchar(225)] 抽奖抽奖事宜<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_reopenid [varchar(200)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_chonum [int(11)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_choose [int(11)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lottery_lotitle [text] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ddp_open [varchar(10)] 是否打开对对碰<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ddp_bgimg [varchar(225)] 对对碰现场背景图片<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ddp_group [varchar(225)] 对对碰用户组<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ddp_message [varchar(225)] 对对碰消息通知<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ddp_head [varchar(225)] 对对碰头部文字<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ddp_announc [varchar(225)] 对对碰对对碰事宜<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yyy_open [varchar(10)] 是否打开摇一摇<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yyy_bgimg [varchar(225)] 摇一摇背景图片<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yyy_card [varchar(225) CHARACTER SET utf8mb4] 摇一摇会员卡<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yyy_group_open [varchar(225)] 摇一摇指定用户分组<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yyy_group [varchar(225)] 摇一摇指定的用户组中抽取<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yyy_message [varchar(225)] 摇一摇消息通知<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yyy_head [varchar(225)] 摇一摇头部文字<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yyy_announc [varchar(225)] 摇一摇摇一摇事宜<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reward_open [int(10)] 打赏是否开启<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reward_bgimg [varchar(225)] 打赏背景图片<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reward_group [varchar(225)] 打赏用户组<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reward_message [varchar(225)] 打赏消息通知<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reward_head [varchar(225)] 打赏头部信息<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reward_announc [varchar(225)] 打赏中间通知<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reward_reamount [varchar(225)] 打赏金额设置<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auction_open [varchar(10)] 现场竞拍功能开启状态<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auction_bgimg [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auction_head [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auction_ptitle [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auction_pimg [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auction_pcontent [text] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auction_deposit [decimal(8,2)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auction_paytype [int(10)] 竞拍支付类型<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auction_startprice [decimal(8,2)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auction_message [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auction_inprice [decimal(8,2)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auction_reamount [varchar(225)] 竞拍增加的金额设置<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auction_end [int(11)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmoney_open [int(4)] 开心数钞票是否打开<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmoney_bgimg [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmoney_card [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmoney_group_open [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmoney_group [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmoney_message [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmoney_head [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmoney_number [int(11)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmoney_time [int(11)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmoney_speed [int(11)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cmoney_frequency [int(11)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;time [int(10)] 时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 添加时间<br/></p><div class=\"gtitle\">表[kg_ad]（广告表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [tinyint(3)] web表对应的id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;aid [varchar(30)] 广告位调用识别码，由英文或数字组成，且必须以字母开头，可以重复，有多个时将按权重值随机选取一个<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [varchar(50)] 广告名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type [tinyint(1)] 1定义，2图片，3文字<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;picture [json] 图片的路径<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;picurl [json] 图片链接地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;summary [json] 图片描述<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;picsize [json] 图片尺寸<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url [varchar(100)] 广告链接地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;code [text] 广告代码<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;weight [tinyint(2)] 权重，同一位置调用多个广告时有效，1 - 20 之间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;click [int(12)] 广告点击数，-1表示关闭统计，同一IP地址 8 小时只计数一次，如果您需要修改计数有效时间（如：改成24小时）请修改 app.php 文件顶部变量<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expir [tinyint(1)] 投放时间限制(0永不过期，1在设置的时间内有效)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;start [int(10)] 广告起始时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;end [int(10)] 广告终止时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;content [varchar(255)] 文字广告内容<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;size [varchar(50)] 文字大小<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color [varchar(10)] 链接颜色<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description [text] 简要描述<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expired [text] 广告过期显示内容<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sort [int(10)] 排序（升序，列表调用时有效）<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enable [tinyint(1)] 是否启用（0不启用，1启用）<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;audit [tinyint(1)] 审核，0未审核，1通过审核<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 添加时间<br/></p><div class=\"gtitle\">表[kg_address]（收货地址表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(11)] id主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uid [int(11)] 用户id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;consignee [varchar(16)] 收货人<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;areap [varchar(32)] 省<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;areac [varchar(32)] 市<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;aread [varchar(32)] 区、乡镇<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;address [varchar(64)] 地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zipcode [varchar(16)] 邮编<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tel [varchar(32)] 联系电话<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mobile [varchar(32)] 收货人手机号码<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;del [tinyint(1)] 是否删除，0否，1是<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default [tinyint(1)] 是否默认，0否，1是<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(11)] 添加时间<br/></p><div class=\"gtitle\">表[kg_admin]（后台管理员）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [int(10)] 访问的应用ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;username [varchar(30)] 用户名<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;password [varchar(32)] 登录密码<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;phone [varchar(50)] 电话<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email [varchar(100)] E-Mail<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;encryption [varchar(8)] 随机密码加密字符<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;image [varchar(255)] 用户图像<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;frequency [int(10)] 登录次数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;role [tinyint(4)] 角色表关联ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;period [int(10)] 帐号有效期/0永久有效<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;allow [tinyint(1)] 是否允许登录/0禁止/1允许<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;notes [varchar(255)] 用户备注信息<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 创建时间<br/></p><div class=\"gtitle\">表[kg_adminpage]（后台菜单及页面）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name [varchar(100)] 菜单名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;page [varchar(100)] 页面文件<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;icon [varchar(100)] 小图标样式<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;image [varchar(200)] 图标<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level [tinyint(3)] 菜单级别（1或2）<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;upper [int(10)] 上一级ID，一级菜单时为0<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sort [int(11)] 排序<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enable [tinyint(1)] 是否启用（0禁用/1启用）<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;plus [tinyint(1)] 快捷添加页面（0启用/1禁用）<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 创建时间<br/></p><div class=\"gtitle\">表[kg_article]（文章表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [tinyint(3)] 与web表的webid关联，0不区分站点<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;category [json] 所属栏目路径，JSON数据格式<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [varchar(255)] 文章标题,文章内容及栏目列表页使用,必须填写<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tag [varchar(100)] Tag标签<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;author [varchar(50)] 作者<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;source [varchar(50)] 来源<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sourceurl [varchar(50)] 来源网址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keyword [varchar(100)] SEO关键字,搜索关键字,不填写将采用tag标签<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;introduction [text] SEO页面描述<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description [text] 文章简介<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;content [mediumtext] 详细内容<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;template [varchar(50)] 指定模板,一般不选择,不选择将使用栏目里定义的内页模板,否则对单页面进行模板定义<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;comment [tinyint(1)] 是否允许评论(0不允许,1允许)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;commenttotal [int(10)] 评论人数,自动更新,提交评论时更新统计<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;like [int(10)] 点赞人数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;thumbnail [varchar(255)] 缩略图<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;picture [json] 图片, JSON List数据<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;recom [tinyint(1)] 是否推荐(0不推荐,1推荐)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;published [tinyint(1)] 是否发布(0草稿,1发布)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;audit [tinyint(1)] 审核(0未通过,1通过审核)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authority [json] 允许访问的用户等级id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;recycle [tinyint(1)] 回收站(0正常,1回收站)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;click [int(10)] 浏览次数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sort [int(10)] 自定义排序<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;publisher [varchar(20)] 发布者<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pushtime [int(10)] 发布时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 添加的时间<br/></p><div class=\"gtitle\">表[kg_cart]（购物车表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(11)] id主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uid [int(11)] 所属用户id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessid [varchar(255)] ACCESS_ID用户标识id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;productid [int(11)] 商品id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;speci [json] 商品规格<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;quantity [int(11)] 数量<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;validtime [int(11)] 过期时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(11)] 添加时间<br/></p><div class=\"gtitle\">表[kg_category]（栏目）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [smallint(5)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [tinyint(3)] 与web表的webid关联，指明网站语言，0不区分站点<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [varchar(255)] 栏目名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;module [varchar(30)] 所属模块，相关模块数据表名:product|article|...<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level [tinyint(3)] 栏目级别，所属几级栏目<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;upper [json] 所属上级栏目ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;seotitle [varchar(255)] SEO标题，类别列表页标题<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;seokey [varchar(255)] SEO关键字，用于栏目列表页<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;seodescr [varchar(255)] SEO描述，用于栏目列表页<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;picture [varchar(255)] 栏目图片，单张图片地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;introduction [text] 栏目介绍，支持HTML，部分特殊模板可能用到<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;template [varchar(255)] 自定义模板<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sort [smallint(5)] 排序<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enable [tinyint(1)] 是否启用0否，1是<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;permission [json] 下载权限设置，允许查看的会员组ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 添加的时间<br/></p><div class=\"gtitle\">表[kg_comment]（评论）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(8)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [tinyint(3)] 所属语言种类(所属第几种语言)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type [tinyint(2)] 评论类型(1文章内容,2产品评论,3图片集评论,4下载评论)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;aid [int(8)] 相关ID(与类型相关联的ID号例如：文章内容id、商品内容id)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;agree [int(10)] 顶(支持/同意数)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;quote [int(11)] 回复或引用的ID，可用于调用楼层评论数据时筛选用(按回复楼层ID，为0时没有回复/引用)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;content [text] 评论内容<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;audit [tinyint(2)] 审核状态(0未审核,1审核)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ip [varchar(15)] 评论者IP地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;address [varchar(50)] 评论者IP地址位置<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user [int(8)] 评论会员ID(0表示游客)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nickname [varchar(50)] 评论者昵称(游客)，登录会员显示会员登录名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;picture [json] 图片<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;star [tinyint(1)] 星级0-5<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;theme [int(11)] 主题贴的id，0表示单独回复，其他为最开始的主题id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 评论日期<br/></p><div class=\"gtitle\">表[kg_cs_account]（客服表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(11)] id主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;group_id [int(11)] 客服组ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kf_id [varchar(32)] 客服id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;account [varchar(32)] 完整客服帐号，格式为：帐号前缀@公众号微信号<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nickname [varchar(32)] 客服昵称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;headingurl [varchar(255)] 客服头像<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kf_wx [varchar(32)] 客服微信<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;invite_wx [varchar(32)] 客服邀请<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;invite_expire_time [int(11)] 邀请过期时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;invite_status [varchar(16)] 邀请状态<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(11)] 添加时间<br/></p><div class=\"gtitle\">表[kg_cs_group]（客服分组表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(11)] id主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;icon [varchar(255)] 图标<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;group_name [varchar(32)] 组名<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;cs_count [int(11)] 客服总数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(11)] 添加时间<br/></p><div class=\"gtitle\">表[kg_cs_transfer]（）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(11)] id主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;openid [varchar(64)] oepnid<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kf_account [varchar(32)] 客服账号<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;validtime [int(11)] 有效时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(11)] 添加时间<br/></p><div class=\"gtitle\">表[kg_download]（资源下载表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] id主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [tinyint(3)] webid对应web表<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;category [json] 所属栏目路径对应category表<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [varchar(255)] 下载标题，软件名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;downname [varchar(50)] 下载时保存的默认文件名，无需后缀<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;color [varchar(7)] 标题颜色<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;bold [tinyint(1)] 标题是否加粗(0不加粗，1加粗)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tag [varchar(100)] Tag标签<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;author [varchar(50)] 软件作者<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;source [varchar(50)] 软件来源<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sourceurl [varchar(50)] 厂商网址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;demourl [varchar(50)] 演示网址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;environment [varchar(100)] 运行环境<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;version [varchar(50)] 版本号<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;softlang [varchar(50)] 软件语言（简体中文、繁体中文、英文、多国语言、其它语言）<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authorization [varchar(50)] 授权方式（免费软件、开源软件、共享软件、试用版、破解版、商业版）<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;size [varchar(20)] 软件大小<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;local [varchar(255)] 本地下载地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mode [tinyint(1)] 本地下载链接方式：0使用下载跳转页面、1使用真实的下载地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mirror [json] 镜像下载地址，由&quot;镜像名称|下载URL&quot;组成，每一个镜像一行，用回车&quot;\\\\r\\\\n&quot;隔开<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;defaultdown [tinyint(2)] 默认下载地址，0表示本地，其他表示第几个镜像<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keyword [varchar(100)] SEO关键字，搜索关键字，不填写将采用tag标签<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;content [mediumtext] 详细介绍<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description [text] 软件简介<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;template [varchar(50)] 指定模板，一般不选择，不选择将使用栏目里定义的内页模板，否则对单页面进行模板定义<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;comment [tinyint(1)] 是否允许评论(0不允许，1允许)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;commenttotal [int(10)] 评论人数，自动更新，提交评论时更新统计<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;agree [int(10)] 顶帖总数，顶帖总数 + 评论人数 = 参与人数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;picture [json] 图片<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;thumbnail [varchar(255)] 缩略图<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;recom [tinyint(1)] 是否推荐(0不推荐，1推荐)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;audit [tinyint(1)] 审核(0未通过，1通过审核)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;recycle [tinyint(1)] 回收站(0正常，1回收站)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;permission [json] 下载权限设置，允许查看的会员组ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filename [varchar(50)] 自定义文件名，静态时有效<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;click [int(10)] 浏览次数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;count [int(10)] 下载次数，使用跳转页面下载时有效<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;money [decimal(8,2)] 消费金钱<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authority [json] 允许访问的用户等级id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;integral [int(10)] 消费积分<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;buyuser [json] 已购买该内容浏览权限的会员<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sort [int(10)] 排序<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;publisher [varchar(20)] 发布者<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 添加时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pushtime [int(10)] 发布日期<br/></p><div class=\"gtitle\">表[kg_guestbook]（(留言信息)）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [tinyint(3)] 语言<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nickname [varchar(50)] 留言者昵称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email [varchar(50)] 留言者电子邮件<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;phone [varchar(20)] 电话<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fax [varchar(20)] 公司传真<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;company [varchar(50)] 公司名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;address [varchar(255)] 公司地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;qq [varchar(20)] QQ号<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sex [tinyint(1)] 性别<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [varchar(255)] 留言主题<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;content [text] 留言内容<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;visible [tinyint(1)] 可见性(0全部可见，1只允许管理员查看)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;username [varchar(20)] 会员登录名(空为游客留言) <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ip [varchar(15)] 留言者ip<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ipaddress [varchar(100)] 留言者ip地址位置 <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 留言时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;audit [tinyint(10)] 审核(0未审核,1通过审核) <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reply [text] 回复内容(空表示未回复)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;replyadmin [varchar(30)] 回复人<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;replytime [int(10)] 回复时间<br/></p><div class=\"gtitle\">表[kg_ipaddress]（IP地址数据表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ip [varchar(15)] IP<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;country [varchar(50) CHARACTER SET utf8 COLLATE utf8_estonian_ci] 国家<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;province [varchar(255)] 省份区域<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;city [varchar(255)] 城市<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ips [varchar(50)] 运营商<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rectangle [varchar(100)] 经纬度<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] <br/></p><div class=\"gtitle\">表[kg_ipvisit]（用户操作记录表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ip [varchar(15)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accessid [varchar(255)] ACCESS_ID用户标识id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;user [int(10)] 用户id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type [tinyint(3)] 1站内搜索间隔记录、2找回密码[只使用类型及时间两个字段临时记录用]、3广告点击是否有效记录、4在线留言间隔记录、5友情链接申请、6在线反馈提交间隔记录、7文章评论间隔、8产品评论、9图片集评论、10下载评论、11评论支持[顶评论]<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 记录事件<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oid [int(10)] 其他ID,部分类型会用到该字段<br/></p><div class=\"gtitle\">表[kg_link]（导航链接表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(11)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [int(10)] 访问的应用ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name [varchar(255)] 链接名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description [text] 简要描述<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;page [varchar(255)] 链接模块<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mid [int(10)] 链接的参数id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url [varchar(255)] 完整url<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;logo [varchar(255)] 图标<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sort [int(10)] 排序<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;target [tinyint(1)] 是否新窗口打开，1是0否<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enable [tinyint(1)] 是否启用，1是0否<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nid [int(10)] 对应的导航菜单表id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 添加时间<br/></p><div class=\"gtitle\">表[kg_log]（后台操作日志）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [int(10)] 访问的应用ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type [tinyint(3)] 日志类型(1查询敏感数据/2添加数据/3修改数据/4删除数据/5其它数据库操作/6后台管理员登录/7上传文件/8项目重启/9计划任务/10前台用户注册/11前台用户登录/12文件下载)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;info [json] 日志内容{&quot;state&quot;:&quot;SUCCESS|FAILURE&quot;...}<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pageurl [varchar(255)] 操作页面URL<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;userid [varchar(20)] 前台用户id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;adminid [int(10)] 后台管理员id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;loginid [json] 登录帐号{admin,user}<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ip [varchar(15)] 操作者ip地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;address [varchar(255)] IP地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 操作的时间<br/></p><div class=\"gtitle\">表[kg_material]（本地素材表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] id主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name [varchar(255)] 素材名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type [tinyint(1)] 素材类型，0单图、1多图、2文本<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [json] 图片标题<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;picture [json] 图片路径<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;key2url [json] 图片url<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;introduction [text] 介绍<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pushtime [int(10)] 发布时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 添加时间<br/></p><div class=\"gtitle\">表[kg_message]（微信消息表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;openid [varchar(32)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type [tinyint(2)] 0用户事件及系统日志 1文本消息 2图片消息 3语音消息 4视频消息 5位置信息 6链接消息 7现场签到记录(成功) 8现场签到记录(失败) 9现场抽奖中奖记录 10对对碰中奖记录 11摇一摇中奖记录 12竞拍记录 99被动素材回复 98被动文本回复<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;content [text] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;recom [tinyint(1)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;audit [tinyint(1)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;appid [varchar(225)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;actid [int(11)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] <br/></p><div class=\"gtitle\">表[kg_navigation]（系统导航表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [int(10)] 访问的应用ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;aid [varchar(8)] 识别码<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;logo [varchar(255)] 系统导航图标<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [varchar(255)] 导航条标题<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sort [int(10)] 排序<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 添加时间<br/></p><div class=\"gtitle\">表[kg_order]（订单）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [tinyint(3)] 与web表的webid关联，指明网站语言，0不区分站点<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type [tinyint(1)] 订单类型(0普通商城订单 1微信营销领奖)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oid [varchar(20)] 订单号:由2位字母 + date(YmdHis) + 3位随机数，如：XD20110212121052123，两位字母：BP浏览权限购买、NR在线充值、AR管理员手动充值、CS消费购买、ES订单提交、TE其它交易，mle_order表可能只会用到ES<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uid [int(10)] 会员ID，0为匿名用户(暂不支持匿名订购)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pid [json] 商品(产品)ID号，多个商品用逗号隔开<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;number [json] 订购数量，与商品ID相对应，多个商品用逗号隔开 <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;price [json] 商品单价，与商品ID相对应，多个商品用逗号隔开<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;amount [decimal(8,2)] 订单应付金额，含运费和保价费用并计算会员组折扣<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;attribute [json] 商品规格<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;status [tinyint(1)] 订单状态（0等待付款、1已支付，等待发货、2订单已确认，配货中、3已发货，等待用户签收、4已签收，交易完毕、-1要求退货、-2拒绝退货，前台交易完毕、-3退货完毕，订单结束)，-4订单取消<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;dispatching [int(6)] 配送方式ID(kg_shipping表关联ID)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;address [int(11)] 收货地址id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;waybill [varchar(100)] 运单号，配送公司单号<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;freight [decimal(8,2)] 手续费，含保价费<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;customer [tinyint(1)] 手续费是否到付(0否、1是)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;vouch [tinyint(1)] 配送是否需要保价(0否、1是)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;payment [tinyint(3)] 1账户余额支付，2微信支付，3支付宝支付<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;message [varchar(255)] 客户给商家的留言<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;reply [varchar(255)] 商家给客户的留言或回复留言<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 订单提交时间<br/></p><div class=\"gtitle\">表[kg_picture]（图片集）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [tinyint(3)] 与web表的webid关联，指明网站语言，0不区分站点<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;category [json] 所属栏目路径，以逗号隔开并以逗号开始和结尾<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [varchar(255)] 完整标题，文章内容及栏目列表页使用，必须填写<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;aid [varchar(30)] 图片位调用识别码，由英文或数字组成，且必须以字母开头，可以重复<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tag [varchar(100)] Tag标签<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;author [varchar(50)] 摄影者<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;source [varchar(50)] 来源<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sourceurl [varchar(50)] 来源网址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keyword [varchar(100)] SEO关键字，搜索关键字，不填写将采用tag标签<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;content [mediumtext] 详细内容<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;template [varchar(50)] 指定模板，一般不选择，不选择将使用栏目里定义的内页模板，否则对单页面进行模板定义<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;comment [tinyint(1)] 是否允许评论(0不允许，1允许)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;commenttotal [int(10)] 评论人数，自动更新，提交评论时更新统计<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;agree [int(10)] 顶帖总数，顶帖总数 + 评论人数 = 参与人数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;thumbnail [varchar(255)] 缩略图<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;picture [json] 图片<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;summary [json] 图片描述，与图片相对应，用全局变量STRING_DELIMITED隔开<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description [text] 图集简介<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pictime [json] 图片添加时间、与图片对应<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;link [json] 链接、与图片对应<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;recom [tinyint(1)] 是否推荐(0不推荐，1推荐)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;audit [tinyint(1)] 审核(0未通过，1通过审核)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;published [tinyint(1)] 是否发布，0草稿，1发布<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;recycle [tinyint(1)] 回收站(0正常，1回收站)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;click [int(10)] 浏览次数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authority [json] 允许访问的用户等级id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sort [int(10)] 排序<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;publisher [varchar(20)] 发布者<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pushtime [int(10)] 发布时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 添加时间<br/></p><div class=\"gtitle\">表[kg_product]（商品）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [tinyint(3)] 与web表的webid关联，指明网站语言，0不区分站点<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;category [json] 所属栏目路径，JSON数据格式<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [varchar(255)] 完整标题，文章内容及栏目列表页使用，必须填写<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;virtual [tinyint(1)] 是否为虚拟商品(0实物商品、1虚拟商品)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;model [varchar(50)] 商品型号<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;market [decimal(8,2)] 市场价<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;units [varchar(20)] 计量单位<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sales [int(12)] 已销售数量<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;tag [varchar(100)] Tag标签<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keyword [varchar(100)] SEO关键字，搜索关键字，不填写将采用tag标签<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;introduction [text] 内容摘要<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description [text] SEO页面描述<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;picture [json] 图片/JSON List数据<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;thumbnail [varchar(255)] 缩略图<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;content [mediumtext] 详细内容<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;brand [varchar(50)] 品牌<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;coding [varchar(50)] 商品编码<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;speci [json] 商品规格，与规格表对应<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;inventory [json] 库存<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;price [json] 价格<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;specipic [json] 规格图<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;template [varchar(50)] 指定模板，一般不选择，不选择将使用栏目里定义的内页模板，否则对单页面进行模板定义<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;comment [tinyint(1)] 是否允许评论(0不允许，1允许)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;commenttotal [int(10)] 评论人数，自动更新，提交评论时更新统计<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;agree [int(10)] 顶帖总数，顶帖总数 + 评论人数 = 参与人数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;recom [tinyint(1)] 是否推荐(0不推荐，1推荐)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;published [tinyint(1)] 是否发布(0草稿，1发布)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;status [tinyint(1)] 销售状态(0停止销售，1销售中)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;audit [tinyint(1)] 审核(0未通过，1通过审核)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;recycle [tinyint(1)] 回收站(0正常，1回收站)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;click [int(10)] 浏览次数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;authority [json] 允许访问的用户等级id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;favorite [int(10)] 收藏人数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sort [int(10)] 排序<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;filename [varchar(255)] 自定义文件名<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;publisher [varchar(20)] 发布者<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;pushtime [int(10)] 发布时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 添加时间<br/></p><div class=\"gtitle\">表[kg_question_result]（问卷调查结果表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)]&nbsp; 主键<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; webid [tinyint(3)]&nbsp; web表id<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;questionid [int(10)]&nbsp; 问卷表id<br/>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; state [int(10)]&nbsp; 答案状态0正常1缓存<br/>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;kgid [int(11)] 凯格id,kg_user表id<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;fansid [int(11)]&nbsp; 粉丝id, wx_fans表id<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;ip [varchar(15)]&nbsp; 用户ip<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;topicid [int(10)]&nbsp; 问题表id<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;type [tinyint(2)]&nbsp; 问题类型0123456<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; answer [text]&nbsp; 问题答案<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;other [text]&nbsp; 该题用户填写了其他<br/>&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;addtime [int(11)]&nbsp; 问卷完成时间<br/></p><div class=\"gtitle\">表[kg_questionnaire]（问卷表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)]&nbsp; id主键<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;kgid [int(10)]&nbsp; 凯格id<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;webid\r\n[int(10)]&nbsp; 所属应用<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;category\r\n[json]&nbsp; 所属栏目<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;authority\r\n[json]&nbsp; 权限<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;title\r\n[varchar(50)]&nbsp; 标题<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;description\r\n[varchar(255)]&nbsp; 简要概述<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;normal_end\r\n[varchar(255)]&nbsp; 正常结束提示<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;early_closure\r\n[varchar(255)]&nbsp; 提前结束提示<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;multiple_pages\r\n[tinyint(1)]&nbsp; 一个问题一页(0关闭，1开启)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;wx_limit_time\r\n[tinyint(2)]&nbsp; 0只能、1每小时、2每天、3每自然周、4每7天、5每自然月、6每30天、7每季度、8每90天、9每自然年、10每365天<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;wx_frequency\r\n[int(5)] 每个微信答题次数限制<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;device_limit_time\r\n[int(2)]&nbsp; 0只能、1每小时、2每天、3每自然周、4每7天、5每自然月、6每30天、7每季度、8每90天、9每自然年、10每365天<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;device_frequency\r\n[int(5)]&nbsp; 每台电脑或手机答题次数限制<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;ip_limit_time\r\n[int(2)]&nbsp; 0只能、1每小时、2每天、3每自然周、4每7天、5每自然月、6每30天、7每季度、8每90天、9每自然年、10每365天<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ip_frequency\r\n[int(5)]&nbsp; 每个IP答题次数限制<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;password\r\n[varchar(32)]&nbsp; 启动访问密码(为空时无效，其他为密码)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;limited_phone\r\n[json] 限定手机号答题(json)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;limited_email\r\n[json]&nbsp; 只有邮箱邀请的受访者可以回答<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;limited_time\r\n[tinyint(1)]&nbsp; 时间限制(0不限制，1开启限制)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;start\r\n[int(10)]&nbsp; 开始时间<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;end\r\n[int(10)]&nbsp; 结束时间<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;only_wx\r\n[tinyint(1)]&nbsp; 只能通过微信回答(0关闭，1开启)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;record_info\r\n[tinyint(1)]&nbsp; 记录微信用户个人信息(0关闭，1开启)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;enforce\r\n[tinyint(1)]&nbsp; 强制收集(0关闭，1开启)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;only_fans\r\n[tinyint(1)]&nbsp; 必须关注才能回答<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;icon\r\n[varchar(255)]&nbsp; 图标<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;wx_share\r\n[tinyint(1)]&nbsp; 微信右上角分享(0关闭，1启用)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;wx_remind\r\n[tinyint(1)]&nbsp; 微信提醒(0关闭，1启用)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;openid\r\n[varchar(32)]&nbsp; 提醒的openid<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;audit\r\n[tinyint(1)]&nbsp; 审核(0未审核，1通过审核)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;published\r\n[tinyint(1)]&nbsp; 发布(0未发布，1发布收集中)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;recycle\r\n[tinyint(1)]&nbsp; 回收站(0正常，1回收站)<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;update_time [int(10)]&nbsp; 最近一次更新时间<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;addtime [int(10)]&nbsp; 添加时间</p><div class=\"gtitle\">表[kg_rank]（会员等级）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键(必须有一个id为1的级别为系统组)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [int(10)] webid对应web表<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rankname [varchar(100)] 等级名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;discount [float] 商品折扣，购买商品时的优惠折扣(8.5折=85%)，0~1的小数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scores [int(10)] 升级所需积分<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;money [decimal(8,2)] 升级所需金钱<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;auto [tinyint(1)] 自动提升等级，当用户的积分和金钱数达到等级所需的默认值时自动提升会员等级(0否，1是)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enable [tinyint(1)] 是否启用(0不启用，1启用)<br/></p><div class=\"gtitle\">表[kg_role]（系统管理角色）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [int(10)] 访问的应用ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name [varchar(100)] 角色名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type [tinyint(2)] 角色类型：0自定义角色/99超级管理员/其它为系统角色<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;permission [json] 权限模块<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description [varchar(255)] 角色描述<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 创建时间<br/></p><div class=\"gtitle\">表[kg_session]（session表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [char(32)] SESSION ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;data [json] JSON数据<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 创建时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;accesstime [int(10)] 最后访问时间<br/></p><div class=\"gtitle\">表[kg_shipping]（物流配送方式及运费）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(6)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [tinyint(3)] 与web表的webid关联，指明网站语言，0不区分站点<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [varchar(100)] 配送方式名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;freight [decimal(8,2)] 纯手续费(运费)，全国统一，暂不分地区<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;topay [tinyint(1)] 运费到付支持(0不支持，购买时计算手续费、1支持，由收件人支付手续费)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;insure [float] 保价费比例，一个小数，值为0时不支持保价担保，(注：物品总金额 * 保价费比例 = 保价费)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description [varchar(255)] 简要描述<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enable [tinyint(1)] 是否启用(0不启用、1启用)<br/></p><div class=\"gtitle\">表[kg_survey_question]（问卷调查问题表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;id\r\n[int(10)] id主键<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;ques_id\r\n[int(10)]&nbsp; 所属问卷id<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;title\r\n[varchar(50)]&nbsp; 总标题<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;type\r\n[tinyint(2)]&nbsp; 题目类型,0单选，1多选，2填空题，3多项填空题，4矩阵填空题，5矩阵单选项题，6矩阵多选项题,7图片选择,8图片投票<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;topic\r\n[json]&nbsp; 题目设置<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;options\r\n[json]&nbsp; 题目选项<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;jump_logic\r\n[json]&nbsp; 跳转逻辑<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;show_logic\r\n[json]&nbsp; 显示逻辑&nbsp;<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;sort\r\n[int(5)]&nbsp; 题目序号<br/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;addtime [int(10)]&nbsp; 添加时间</p><div class=\"gtitle\">表[kg_tag]（TAG标签）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;webid [tinyint(3)] 与web表的webid关联，指明网站语言，0不区分站点<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [varchar(100)] TAG名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;module [varchar(6)] 所属模块，模块识别码<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;click [int(10)] 点击次数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;total [int(10)] 标签使用总数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;firsttime [int(10)] 首次创建TAG的时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;lasttime [int(10)] 最后一次添加时间<br/></p><div class=\"gtitle\">表[kg_transaction]（交易日志）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;oid [varchar(20)] 订单号，由2位字母 + date(YmdHis) + 3位随机数，如：XD20110212121052123，两位字母：BP浏览权限购买、NR在线充值、AR管理员手动充值、CS消费购买、ES订单提交或修改、TE其它交易、LG操作日志<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;uid [int(10)] 会员关联id号<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type [tinyint(1)] 交易类型(1会员在线充值,2后台手动充值[银行转账],3购买商品[消费支付],4提交、删除或修改订单,5购买浏览权限,6操作日志)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;amount [decimal(8,2)] 交易金额<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;result [tinyint(1)] 事件结果、状态(0交易失败[异常],1成功交易)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;info [varchar(255)] 交易信息，针对交易类型的补充说明文字(失败原因、交易内容等信息,如：通过中国网银在线充值 或 购买vip会员服务等)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ip [varchar(15)] 操作者ip<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 记录时间<br/></p><div class=\"gtitle\">表[kg_user]（注册会员）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;username [varchar(20)] 登录用户名(不得有@符号，否则会影响使用E-mail登录，大于4个字符)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;password [varchar(32)] 登录密码(为md5(md5(用户密码).md5(encryption字段值)))<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;encryption [varchar(8)] 随机的密码加密字符<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type [tinyint(1)] 会员类型(0个人会员，1企业会员)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;openid [varchar(28)] 微信OPENID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email [varchar(50)] 注册邮箱(唯一且必须填写，可作为登录帐号)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;qq [varchar(15)] 腾讯QQ号<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sex [tinyint(1)] 性别(0女，1男，2保密)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nickname [varchar(20)] 昵称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;image [varchar(255) CHARACTER SET armscii8] 头像<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;money [decimal(8,2)] 帐户金额(允许负充值)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;usemoney [decimal(8,2)] 已消费金额<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scores [int(10)] 积分<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;level [json] 会员等级id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;problem [varchar(255)] 密保问题<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;answer [varchar(255)] 密保答案<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;companyname [varchar(255)] 公司名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;companyweb [varchar(100)] 公司网址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;companyaddress [varchar(255)] 公司地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;phone [varchar(20)] 电话<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fax [varchar(20)] 传真<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;frequency [int(10)] 登录次数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;jointime [int(10)] 注册时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;joinip [varchar(15)] 注册IP<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;joinaddress [varchar(100)] 注册ip地址位置<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;audit [tinyint(1)] 帐号验证状态(0已通过验证、可登录，1等待用户邮件验证，2等待管理员手工验证审核)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;effective [tinyint(1)] 帐号状态(0禁止登录，1允许登录)<br/></p><div class=\"gtitle\">表[kg_vote_candidate]（主题及候选信息）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(11)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [varchar(30)] 主题名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;image [json] 主题宣传图地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;digest [text] 主题简短介绍<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;traffic [int(10)] 主题访问量<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;starttime [int(10)] 发起时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;stoptime [int(10)] 结束时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;candtitle [json] 候选信息标题<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;photo [json] 候选信息图地址 <br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;votenumb [json] 候选人投票数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rank [json] 候选人名次<br/></p><div class=\"gtitle\">表[kg_vote_user]（投票人信息表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(11)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kgid [int(11)] 注册登录用户id对应kg_user表id微信用户为0<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fansid [int(11)] 粉丝id非粉丝为0<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ip [varchar(15)] 登录ip<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;kgaccessid [varchar(32)] cookie身份识别码<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;titleid [int(10)] 投票主题id<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;candid [int(10)] 候选人索引值<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;votetime [int(10)] 投票时间<br/></p><div class=\"gtitle\">表[kg_web]（网站基本设置）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [tinyint(3)] 网站ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;default [tinyint(1)] 是否为默认站点<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enable [tinyint(1)] 是否启用，0禁用1启用<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name [varchar(255)] 语言名称，如：中文站<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;domain [json] 域名<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;language [varchar(30)] 语言包目录名，位于 language/frontend 下面的一个目录名<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;template [varchar(30)] 模板文件，位于 template/frontend 下面的一个目录名<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;template_auto [json] 自动切换模板{&#39;pc&#39;:&#39;&#39;,&#39;wx&#39;:&#39;&#39;,&#39;m&#39;:&#39;&#39;}<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;title [varchar(255)] 网站标题<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;logo [varchar(255)] 网站Logo地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;keyword [varchar(255)] SEO关键字，主要用于网站首页及一些插件页缺省关键字<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description [text] 网站描述，网站首页SEO描述内容<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;copyright [text] 网站底部版权信息HTML<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;email [json] 联系Email<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;qq [json] 客服QQ<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;phone [json] 客服电话，多个电话用逗号隔开，调用加索引值<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;qrcode [json] 公众号或小程序二维码<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;address [varchar(255)] 公司地址<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sort [int(5)] 排序<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 创建时间<br/></p><div class=\"gtitle\">表[kg_wx_fans]（微信粉丝表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;groupid [int(10)] 用户所属分组ID，粉丝分组，非会员等级（分组）<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;openid [varchar(32)] 用户OPENID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;nickname [varchar(255)] 用户昵称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;sex [tinyint(1)] 用户的性别，值为1时是男性，值为2时是女性，值为0时是未知<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;city [varchar(255)] 用户所在城市<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;country [varchar(255)] 用户所在国家<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;province [varchar(255)] 用户所在省份<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;language [varchar(20)] 用户的语言，简体中文为zh_CN<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;headimgurl [varchar(255)] 用户头像，最后一个数值代表正方形头像大小（有0、46、64、96、132数值可选，0代表640*640正方形头像），用户没有头像时该项为空<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;qrscene [int(10)] 二维码扫码场景（开发者自定义）<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scenestr [varchar(255)] 现场描述<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;subscribetime [int(10)] 用户关注时间，为时间戳。如果用户曾多次关注，则取最后关注时间<br/></p><div class=\"gtitle\">表[kg_wx_group]（粉丝分组表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] 主键，与腾讯服务器同ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name [varchar(50)] 分组名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;count [int(10)] 分组内用户数量<br/></p><div class=\"gtitle\">表[kg_wx_material]（微信素材表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(11)] 主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;media_id [varchar(128)] 素材ID<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name [varchar(128)] 素材名，图文素材时为空<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type [varchar(32)] 类型 image video voice图文news<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;news_type [tinyint(1)] 图文类型(0单图文，1多图文)<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;url [text] 素材地址，图文素材时为空<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;localpath [varchar(1024)] 素材下载到本地地址，图文素材时为空<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;update_time [int(11)] 更新时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(11)] 添加时间<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;description [varchar(255)] 描述<br/></p><div class=\"gtitle\">表[kg_wx_qrcode]（微信二维码表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] id主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;name [varchar(50)] 二维码推广名称<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;genre [tinyint(1)] 二维码类型（0推广二维码、1签到二维码）<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;imgurl [text] 二维码源始地址(腾讯服务器地址，本地路径为:inc/upload/qrcode<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;expire [int(5)] 二维码有效时间（单位：秒），为0时永久有效，为其它数字时为临时二维码，最大值不超过1800秒<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;fans [int(10)] 关注人数，通过该二维码扫描且关注的人数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;scanning [int(10)] 签到人数<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 二维码创建时间<br/></p><div class=\"gtitle\">表[kg_wx_questions]（关键字回复表）</div><p>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;id [int(10)] id主键<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ask [json] 问题关键字<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;type [tinyint(1)] 回复模式，0本地素材，1微信素材，2自定义文本<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;mid [int(10)] 答案素材ID,（0普通答案，使用答案内容(answer)作为回复、其它数字为素材库ID，以素材库中的素材为答案）<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;answer [text] 答案内容<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;rule [tinyint(1)] 匹配规则（0广泛匹配、1精准匹配）<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;enable [tinyint(1)] 是否启用，（0禁用、1启用）<br/>\r\n &nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;addtime [int(10)] 答案添加时间<br/></p></div>', '', '1', '0', '0', '', '[]', '1', '1', '1', '[0]', '0', '302', '0');

-- ----------------------------
-- Table structure for kg_cart
-- ----------------------------
DROP TABLE IF EXISTS `kg_cart`;
CREATE TABLE `kg_cart` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id主键',
  `uid` int(11) unsigned NOT NULL COMMENT '所属用户id',
  `accessid` varchar(255) NOT NULL COMMENT 'ACCESS_ID用户标识id',
  `productid` int(11) unsigned NOT NULL COMMENT '商品id',
  `speci` json NOT NULL COMMENT '商品规格',
  `quantity` int(11) NOT NULL COMMENT '数量',
  `validtime` int(11) unsigned NOT NULL COMMENT '过期时间',
  `addtime` int(11) unsigned NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=41 DEFAULT CHARSET=utf8 COMMENT='购物车表';

-- ----------------------------
-- Records of kg_cart
-- ----------------------------

-- ----------------------------
-- Table structure for kg_category
-- ----------------------------
DROP TABLE IF EXISTS `kg_category`;
CREATE TABLE `kg_category` (
  `id` smallint(5) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `webid` tinyint(3) unsigned NOT NULL COMMENT '与web表的webid关联，指明网站语言，0不区分站点',
  `title` varchar(255) NOT NULL COMMENT '栏目名称',
  `module` varchar(30) NOT NULL COMMENT '所属模块，相关模块数据表名:product（商品）|article（文章）|photo（图集）|download（下载）|research（问卷）',
  `level` tinyint(3) unsigned NOT NULL COMMENT '栏目级别，所属几级栏目',
  `upper` json NOT NULL COMMENT '所属上级栏目ID',
  `seotitle` varchar(255) NOT NULL COMMENT 'SEO标题，类别列表页标题',
  `seokey` varchar(255) NOT NULL COMMENT 'SEO关键字，用于栏目列表页',
  `seodescr` varchar(255) NOT NULL COMMENT 'SEO描述，用于栏目列表页',
  `picture` varchar(255) NOT NULL COMMENT '栏目图片，单张图片地址',
  `introduction` text NOT NULL COMMENT '栏目介绍，支持HTML，部分特殊模板可能用到',
  `template` varchar(255) NOT NULL COMMENT '自定义模板',
  `sort` smallint(5) unsigned NOT NULL COMMENT '排序',
  `enable` tinyint(1) DEFAULT '1' COMMENT '是显示0否，1是',
  `display` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是否启用该栏目0不显示1显示',
  `permission` json NOT NULL COMMENT '下载权限设置，允许查看的会员组ID',
  `addtime` int(10) unsigned NOT NULL COMMENT '添加的时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=152 DEFAULT CHARSET=utf8 COMMENT='栏目';

-- ----------------------------
-- Records of kg_category
-- ----------------------------
INSERT INTO `kg_category` VALUES ('38', '12', '联系我们', 'article', '1', '[]', '', '', '', '', '', '', '6', '0', '0');
INSERT INTO `kg_category` VALUES ('47', '12', '技术文档', 'article', '1', '[]', 'KGCMS文档', 'KGCMS，广东凯格，凯格科技', '广东凯格科技有限公司', '', '介绍', '', '1', '1', '1');
INSERT INTO `kg_category` VALUES ('48', '12', '产品功能', 'product', '1', '[]', '', '', '', '', '', '', '4', '1', '1');
INSERT INTO `kg_category` VALUES ('49', '12', '应用领域', 'photo', '1', '[]', 'KGCMS应用', 'KGCMS，广东凯格，凯格科技', '广东凯格科技有限公司', '', '', '', '2', '1', '1');
INSERT INTO `kg_category` VALUES ('50', '12', '软件下载', 'download', '1', '[]', '', '', '', '', '', '', '3', '1', '1');
INSERT INTO `kg_category` VALUES ('57', '12', '家用电器', 'product', '2', '[48]', '', '', '', '', '', '', '1', '1', '1');
INSERT INTO `kg_category` VALUES ('58', '12', '手机及配件', 'product', '2', '[48]', '', '', '', '', '', '', '2', '1', '1');
INSERT INTO `kg_category` VALUES ('62', '12', '微信小程序', 'photo', '2', '[49]', '', '', '', '', '', '', '1', '1', '1');
INSERT INTO `kg_category` VALUES ('63', '12', '微信公众平台', 'photo', '2', '[49]', '', '', '', '', '', '', '2', '1', '1');
INSERT INTO `kg_category` VALUES ('68', '12', 'utility 库', 'article', '2', '[47]', '', '', '', '', '', '', '1', '1', '1');
INSERT INTO `kg_category` VALUES ('79', '12', '系统基础模块', 'article', '2', '[47]', '', '', '', '', '', '', '3', '1', '1');
INSERT INTO `kg_category` VALUES ('80', '12', '数据库操作', 'article', '2', '[47]', '', '', '', '', '', '', '4', '1', '1');
INSERT INTO `kg_category` VALUES ('81', '12', '项目文件夹', 'article', '2', '[47]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('82', '12', '数据调用', 'article', '2', '[47]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('83', '12', '产品与服务', 'article', '2', '[47]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('84', '12', 'KGCMS配置与安装', 'article', '2', '[47]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('85', '12', '移动客户端', 'photo', '2', '[49]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('86', '12', '企业建站', 'photo', '2', '[49]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('90', '12', '其它文章', 'article', '1', '[]', '', '', '', '', '', '', '20', '0', '0');
INSERT INTO `kg_category` VALUES ('91', '12', 'common 库', 'article', '2', '[47]', '', '', '', '', '', '', '2', '1', '1');
INSERT INTO `kg_category` VALUES ('92', '28', 'Technical Documents', 'article', '1', '[]', '', '', '', '', '', '', '1', '1', '1');
INSERT INTO `kg_category` VALUES ('93', '28', 'Product Showcase', 'product', '1', '[]', '', '', '', '', '', '', '2', '0', '1');
INSERT INTO `kg_category` VALUES ('94', '28', 'Application Area', 'photo', '1', '[]', '', '', '', '', '', '', '3', '1', '1');
INSERT INTO `kg_category` VALUES ('95', '28', 'Software Download', 'download', '1', '[]', '', '', '', '', '', '', '4', '1', '1');
INSERT INTO `kg_category` VALUES ('96', '28', 'Contact us', 'article', '1', '[]', '', '', '', '', '', '', '5', '0', '1');
INSERT INTO `kg_category` VALUES ('97', '28', 'Other Articles', 'article', '1', '[]', '', '', '', '', '', '', '6', '0', '1');
INSERT INTO `kg_category` VALUES ('98', '28', 'utility library', 'article', '2', '[92]', '', '', '', '', '', '', '1', '1', '1');
INSERT INTO `kg_category` VALUES ('99', '28', 'System basic module', 'article', '2', '[92]', '', '', '', '', '', '', '3', '1', '1');
INSERT INTO `kg_category` VALUES ('100', '28', 'Database operations', 'article', '2', '[92]', '', '', '', '', '', '', '4', '1', '1');
INSERT INTO `kg_category` VALUES ('101', '28', 'Project folder', 'article', '2', '[92]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('102', '28', 'Data call', 'article', '2', '[92]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('103', '28', 'products and services', 'article', '2', '[92]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('104', '28', 'KGCMS configuration and installation', 'article', '2', '[92]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('105', '28', 'common library', 'article', '2', '[92]', '', '', '', '', '', '', '2', '1', '1');
INSERT INTO `kg_category` VALUES ('106', '28', 'Household appliances', 'product', '2', '[93]', '', '', '', '', '', '', '1', '1', '1');
INSERT INTO `kg_category` VALUES ('107', '28', 'Mobile phones and accessories', 'product', '2', '[93]', '', '', '', '', '', '', '2', '1', '1');
INSERT INTO `kg_category` VALUES ('108', '28', 'Computers and supplies', 'product', '2', '[93]', '', '', '', '', '', '', '3', '1', '1');
INSERT INTO `kg_category` VALUES ('109', '28', 'Office equipment', 'product', '2', '[93]', '', '', '', '', '', '', '4', '1', '1');
INSERT INTO `kg_category` VALUES ('110', '28', 'Fashion Digital', 'product', '2', '[93]', '', '', '', '', '', '', '5', '1', '1');
INSERT INTO `kg_category` VALUES ('111', '28', 'WeChat Mini Program', 'photo', '2', '[94]', '', '', '', '', '', '', '1', '1', '1');
INSERT INTO `kg_category` VALUES ('112', '28', 'WeChat public platform', 'photo', '2', '[94]', '', '', '', '', '', '', '2', '1', '1');
INSERT INTO `kg_category` VALUES ('113', '28', 'mobile client', 'photo', '2', '[94]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('114', '28', 'Enterprise Website', 'photo', '2', '[94]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('115', '28', 'E-commerce', 'photo', '2', '[94]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('116', '28', 'Operational services', 'photo', '2', '[94]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('117', '28', 'APP development', 'photo', '2', '[94]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('118', '30', 'お問い合わせください', 'article', '1', '[]', '', '', '', '', '', '', '5', '0', '1');
INSERT INTO `kg_category` VALUES ('119', '30', '技術資料', 'article', '1', '[]', 'KGCMS文档', 'KGCMS，广东凯格，凯格科技', '广东凯格科技有限公司', '', '介绍', '', '1', '1', '1');
INSERT INTO `kg_category` VALUES ('120', '30', '商品展示', 'product', '1', '[]', '', '', '', '', '', '', '2', '0', '1');
INSERT INTO `kg_category` VALUES ('121', '30', '応用分野', 'photo', '1', '[]', 'KGCMS应用', 'KGCMS，广东凯格，凯格科技', '广东凯格科技有限公司', '', '', '', '3', '1', '1');
INSERT INTO `kg_category` VALUES ('122', '30', 'ソフトウェアのダウンロード', 'download', '1', '[]', '', '', '', '', '', '', '4', '1', '1');
INSERT INTO `kg_category` VALUES ('123', '30', '家電製品', 'product', '2', '[120]', '', '', '', '', '', '', '1', '1', '1');
INSERT INTO `kg_category` VALUES ('124', '30', '携帯電話とアクセサリー', 'product', '2', '[120]', '', '', '', '', '', '', '2', '1', '1');
INSERT INTO `kg_category` VALUES ('125', '30', 'コンピューターと消耗品', 'product', '2', '[120]', '', '', '', '', '', '', '3', '1', '1');
INSERT INTO `kg_category` VALUES ('126', '30', 'オフィス機器', 'product', '2', '[120]', '', '', '', '', '', '', '4', '1', '1');
INSERT INTO `kg_category` VALUES ('127', '30', 'ファッションデジタル', 'product', '2', '[120]', '', '', '', '', '', '', '5', '1', '1');
INSERT INTO `kg_category` VALUES ('128', '30', 'WeChat Miniプログラム', 'photo', '2', '[121]', '', '', '', '', '', '', '1', '1', '1');
INSERT INTO `kg_category` VALUES ('129', '30', 'WeChatパブリックプラットフォーム', 'photo', '2', '[121]', '', '', '', '', '', '', '2', '1', '1');
INSERT INTO `kg_category` VALUES ('130', '30', 'utility 図書館', 'article', '2', '[119]', '', '', '', '', '', '', '1', '1', '1');
INSERT INTO `kg_category` VALUES ('131', '30', 'システム基本モジュール', 'article', '2', '[119]', '', '', '', '', '', '', '3', '1', '1');
INSERT INTO `kg_category` VALUES ('132', '30', 'データベース操作', 'article', '2', '[119]', '', '', '', '', '', '', '4', '1', '1');
INSERT INTO `kg_category` VALUES ('133', '30', 'プロジェクトフォルダ', 'article', '2', '[119]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('134', '30', 'データ呼び出し', 'article', '2', '[119]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('135', '30', '製品とサービス', 'article', '2', '[119]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('136', '30', 'KGCMSの構成とインストール', 'article', '2', '[119]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('137', '30', 'モバイルクライアント', 'photo', '2', '[121]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('138', '30', 'エンタープライズウェブサイト', 'photo', '2', '[121]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('139', '30', 'Eコマース', 'photo', '2', '[121]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('140', '30', '運用サービス', 'photo', '2', '[121]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('141', '30', 'APP開発する', 'photo', '2', '[121]', '', '', '', '', '', '', '20', '1', '1');
INSERT INTO `kg_category` VALUES ('142', '30', 'その他の記事', 'article', '1', '[]', '', '', '', '', '', '', '20', '0', '1');
INSERT INTO `kg_category` VALUES ('143', '30', 'common 図書館', 'article', '2', '[119]', '', '', '', '', '', '', '2', '1', '1');
INSERT INTO `kg_category` VALUES ('148', '12', '软件下载', 'download', '2', '[50]', '', '', '', '', '软件下载子栏目', '', '20', '1', '1');

-- ----------------------------
-- Table structure for kg_comment
-- ----------------------------
DROP TABLE IF EXISTS `kg_comment`;
CREATE TABLE `kg_comment` (
  `id` int(8) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `webid` tinyint(3) unsigned NOT NULL COMMENT '所属语言种类(所属第几种语言)',
  `type` tinyint(2) unsigned NOT NULL COMMENT '评论类型(1文章内容,2产品评论,3图片集评论,4下载评论)',
  `aid` int(8) unsigned NOT NULL COMMENT '相关ID(与类型相关联的ID号例如：文章内容id、商品内容id)',
  `agree` int(10) unsigned NOT NULL COMMENT '顶(支持/同意数)',
  `quote` int(11) unsigned NOT NULL COMMENT '回复或引用的ID，可用于调用楼层评论数据时筛选用(按回复楼层ID，为0时没有回复/引用)',
  `content` text NOT NULL COMMENT '评论内容',
  `audit` tinyint(2) unsigned NOT NULL COMMENT '审核状态(0未审核,1审核)',
  `ip` varchar(15) NOT NULL COMMENT '评论者IP地址',
  `address` varchar(50) NOT NULL COMMENT '评论者IP地址位置',
  `user` int(8) unsigned NOT NULL COMMENT '评论会员ID(0表示游客)',
  `nickname` varchar(50) NOT NULL COMMENT '评论者昵称(游客)，登录会员显示会员登录名称',
  `picture` json NOT NULL COMMENT '图片',
  `star` tinyint(1) unsigned NOT NULL COMMENT '星级0-5',
  `theme` int(11) unsigned NOT NULL COMMENT '主题贴的id，0表示单独回复，其他为最开始的主题id',
  `addtime` int(10) unsigned NOT NULL COMMENT '评论日期',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=54 DEFAULT CHARSET=utf8 COMMENT='评论';

-- ----------------------------
-- Records of kg_comment
-- ----------------------------
INSERT INTO `kg_comment` VALUES ('52', '30', '1', '48', '0', '0', 'e', '1', '219.128.52.18', '中国-广东省-中山市', '0', '游客', '[]', '0', '0');
INSERT INTO `kg_comment` VALUES ('53', '28', '1', '110', '0', '0', 'e', '1', '219.128.52.18', '中国-广东省-中山市', '0', '游客', '[]', '0', '0');

-- ----------------------------
-- Table structure for kg_cs_account
-- ----------------------------
DROP TABLE IF EXISTS `kg_cs_account`;
CREATE TABLE `kg_cs_account` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id主键',
  `group_id` int(11) unsigned NOT NULL COMMENT '客服组ID',
  `kf_id` varchar(32) NOT NULL COMMENT '客服id',
  `account` varchar(32) NOT NULL COMMENT '完整客服帐号，格式为：帐号前缀@公众号微信号',
  `nickname` varchar(32) NOT NULL COMMENT '客服昵称',
  `headingurl` varchar(255) NOT NULL COMMENT '客服头像',
  `kf_wx` varchar(32) NOT NULL COMMENT '客服微信',
  `invite_wx` varchar(32) NOT NULL COMMENT '客服邀请',
  `invite_expire_time` int(11) unsigned NOT NULL COMMENT '邀请过期时间',
  `invite_status` varchar(16) NOT NULL COMMENT '邀请状态',
  `addtime` int(11) unsigned NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=21 DEFAULT CHARSET=utf8 COMMENT='客服表';

-- ----------------------------
-- Records of kg_cs_account
-- ----------------------------

-- ----------------------------
-- Table structure for kg_cs_group
-- ----------------------------
DROP TABLE IF EXISTS `kg_cs_group`;
CREATE TABLE `kg_cs_group` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id主键',
  `icon` varchar(255) NOT NULL COMMENT '图标',
  `group_name` varchar(32) NOT NULL COMMENT '组名',
  `cs_count` int(11) unsigned NOT NULL COMMENT '客服总数',
  `addtime` int(11) unsigned NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=8 DEFAULT CHARSET=utf8 COMMENT='客服分组表';

-- ----------------------------
-- Records of kg_cs_group
-- ----------------------------
INSERT INTO `kg_cs_group` VALUES ('1', '', '业务咨询', '0', '1584337527');
INSERT INTO `kg_cs_group` VALUES ('2', '', '售后服务', '0', '1583719069');
INSERT INTO `kg_cs_group` VALUES ('3', '/upload/client_services/cs_group_3.png', '技术支持', '0', '1583719069');
INSERT INTO `kg_cs_group` VALUES ('5', '/upload/client_services/cs_group_5.png', '财务及发票', '0', '1583745427');
INSERT INTO `kg_cs_group` VALUES ('7', '', '测试标题', '0', '1585705703');

-- ----------------------------
-- Table structure for kg_cs_transfer
-- ----------------------------
DROP TABLE IF EXISTS `kg_cs_transfer`;
CREATE TABLE `kg_cs_transfer` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id主键',
  `openid` varchar(64) NOT NULL COMMENT 'oepnid',
  `kf_account` varchar(32) NOT NULL COMMENT '客服账号',
  `validtime` int(11) unsigned NOT NULL COMMENT '有效时间',
  `addtime` int(11) unsigned NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;

-- ----------------------------
-- Records of kg_cs_transfer
-- ----------------------------
INSERT INTO `kg_cs_transfer` VALUES ('1', 'orAV_1on5Ph8RJFX9kvLpFFLn4B8', 'kgcms1@kyger1', '1583828289', '1583827989');
INSERT INTO `kg_cs_transfer` VALUES ('2', 'orAV_1on5Ph8RJFX9kvLpFFLn4B8', 'kgcms1@kyger1', '1583828362', '1583828062');
INSERT INTO `kg_cs_transfer` VALUES ('3', 'orAV_1on5Ph8RJFX9kvLpFFLn4B8', 'kgcms1@kyger1', '1583888431', '1583888131');
INSERT INTO `kg_cs_transfer` VALUES ('4', 'orAV_1rD8rD-5RnedGOfWNNHtMfY', 'kgcms1@kyger1', '1583888529', '1583888229');

-- ----------------------------
-- Table structure for kg_download
-- ----------------------------
DROP TABLE IF EXISTS `kg_download`;
CREATE TABLE `kg_download` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id主键',
  `webid` tinyint(3) unsigned NOT NULL COMMENT 'webid对应web表',
  `category` json NOT NULL COMMENT '所属栏目路径对应category表',
  `title` varchar(255) NOT NULL COMMENT '下载标题，软件名称',
  `downname` varchar(50) NOT NULL COMMENT '下载时保存的默认文件名，无需后缀',
  `color` varchar(7) NOT NULL COMMENT '标题颜色',
  `bold` tinyint(1) unsigned NOT NULL COMMENT '标题是否加粗(0不加粗，1加粗)',
  `tag` varchar(100) NOT NULL COMMENT 'Tag标签',
  `author` varchar(50) NOT NULL COMMENT '软件作者',
  `source` varchar(50) NOT NULL COMMENT '软件来源',
  `sourceurl` varchar(50) NOT NULL COMMENT '厂商网址',
  `demourl` varchar(50) NOT NULL COMMENT '演示网址',
  `environment` varchar(100) NOT NULL COMMENT '运行环境',
  `version` varchar(50) NOT NULL COMMENT '版本号',
  `softlang` varchar(50) NOT NULL COMMENT '软件语言（简体中文、繁体中文、英文、多国语言、其它语言）',
  `authorization` varchar(50) NOT NULL COMMENT '授权方式（免费软件、开源软件、共享软件、试用版、破解版、商业版）',
  `size` varchar(20) NOT NULL COMMENT '软件大小',
  `local` varchar(255) NOT NULL COMMENT '本地下载地址',
  `mode` tinyint(1) unsigned NOT NULL COMMENT '本地下载链接方式：0使用下载跳转页面、1使用真实的下载地址',
  `mirror` json NOT NULL COMMENT '镜像下载地址，由"镜像名称|下载URL"组成，每一个镜像一行，用回车"\\r\\n"隔开',
  `defaultdown` tinyint(2) unsigned NOT NULL COMMENT '默认下载地址，0表示本地，其他表示第几个镜像',
  `keyword` varchar(100) NOT NULL COMMENT 'SEO关键字，搜索关键字，不填写将采用tag标签',
  `content` mediumtext NOT NULL COMMENT '详细介绍',
  `description` text NOT NULL COMMENT '软件简介',
  `template` varchar(50) NOT NULL COMMENT '指定模板，一般不选择，不选择将使用栏目里定义的内页模板，否则对单页面进行模板定义',
  `comment` tinyint(1) unsigned NOT NULL COMMENT '是否允许评论(0不允许，1允许)',
  `commenttotal` int(10) unsigned NOT NULL COMMENT '评论人数，自动更新，提交评论时更新统计',
  `agree` int(10) unsigned NOT NULL COMMENT '顶帖总数，顶帖总数 + 评论人数 = 参与人数',
  `picture` json NOT NULL COMMENT '图片',
  `thumbnail` varchar(255) NOT NULL COMMENT '缩略图',
  `recom` tinyint(1) unsigned NOT NULL COMMENT '是否推荐(0不推荐，1推荐)',
  `audit` tinyint(1) unsigned NOT NULL COMMENT '审核(0未通过，1通过审核)',
  `recycle` tinyint(1) unsigned NOT NULL COMMENT '回收站(0正常，1回收站)',
  `permission` json NOT NULL COMMENT '下载权限设置，允许查看的会员组ID',
  `filename` varchar(50) NOT NULL COMMENT '自定义文件名，静态时有效',
  `click` int(10) unsigned NOT NULL COMMENT '浏览次数',
  `count` int(10) unsigned NOT NULL COMMENT '下载次数，使用跳转页面下载时有效',
  `money` decimal(8,2) unsigned NOT NULL COMMENT '消费金钱',
  `authority` json NOT NULL COMMENT '允许访问的用户等级id',
  `integral` int(10) unsigned NOT NULL COMMENT '消费积分',
  `buyuser` json NOT NULL COMMENT '已购买该内容浏览权限的会员',
  `sort` int(10) unsigned NOT NULL COMMENT '排序',
  `publisher` varchar(20) NOT NULL COMMENT '发布者',
  `addtime` int(10) unsigned NOT NULL COMMENT '添加时间',
  `pushtime` int(10) unsigned NOT NULL COMMENT '发布日期',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='资源下载表';

-- ----------------------------
-- Records of kg_download
-- ----------------------------

-- ----------------------------
-- Table structure for kg_guestbook
-- ----------------------------
DROP TABLE IF EXISTS `kg_guestbook`;
CREATE TABLE `kg_guestbook` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `webid` tinyint(3) unsigned NOT NULL COMMENT '语言',
  `nickname` varchar(50) NOT NULL COMMENT '留言者昵称',
  `email` varchar(50) NOT NULL COMMENT '留言者电子邮件',
  `phone` varchar(20) NOT NULL COMMENT '电话',
  `fax` varchar(20) NOT NULL COMMENT '公司传真',
  `company` varchar(50) NOT NULL COMMENT '公司名称',
  `address` varchar(255) NOT NULL COMMENT '公司地址',
  `qq` varchar(20) NOT NULL COMMENT 'QQ号',
  `sex` tinyint(1) unsigned NOT NULL COMMENT '性别',
  `title` varchar(255) NOT NULL COMMENT '留言主题',
  `content` text NOT NULL COMMENT '留言内容',
  `visible` tinyint(1) unsigned NOT NULL COMMENT '可见性(0全部可见，1只允许管理员查看)',
  `username` varchar(20) NOT NULL COMMENT '会员登录名(空为游客留言) ',
  `ip` varchar(15) NOT NULL COMMENT '留言者ip',
  `ipaddress` varchar(100) NOT NULL COMMENT '留言者ip地址位置 ',
  `addtime` int(10) unsigned NOT NULL COMMENT '留言时间',
  `audit` tinyint(10) unsigned NOT NULL COMMENT '审核(0未审核,1通过审核) ',
  `reply` text NOT NULL COMMENT '回复内容(空表示未回复)',
  `replyadmin` varchar(30) NOT NULL COMMENT '回复人',
  `replytime` int(10) unsigned NOT NULL COMMENT '回复时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='(留言信息)';

-- ----------------------------
-- Records of kg_guestbook
-- ----------------------------

-- ----------------------------
-- Table structure for kg_ipaddress
-- ----------------------------
DROP TABLE IF EXISTS `kg_ipaddress`;
CREATE TABLE `kg_ipaddress` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `ip` varchar(15) NOT NULL COMMENT 'IP',
  `country` varchar(50) CHARACTER SET utf8 COLLATE utf8_estonian_ci NOT NULL COMMENT '国家',
  `province` varchar(255) NOT NULL COMMENT '省份区域',
  `city` varchar(255) NOT NULL COMMENT '城市',
  `ips` varchar(50) NOT NULL COMMENT '运营商',
  `rectangle` varchar(100) NOT NULL COMMENT '经纬度',
  `addtime` int(10) unsigned NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7708 DEFAULT CHARSET=utf8 COMMENT='IP地址数据表';

-- ----------------------------
-- Records of kg_ipaddress
-- ----------------------------
INSERT INTO `kg_ipaddress` VALUES ('7702', '163.179.46.38', '中国', '广东省', '中山市', '联通', '', '1604969581');
INSERT INTO `kg_ipaddress` VALUES ('7703', '163.179.46.95', '中国', '广东省', '中山市', '联通', '', '1604975767');
INSERT INTO `kg_ipaddress` VALUES ('7704', '163.177.13.2', '中国', '广东省', '广州市', '联通', '', '1604992555');
INSERT INTO `kg_ipaddress` VALUES ('7705', '101.132.121.35', '中国', '上海', '上海市', '阿里云', '', '1605005375');
INSERT INTO `kg_ipaddress` VALUES ('7706', '47.101.193.98', '中国', '上海', '上海市', '阿里云', '', '1605102494');
INSERT INTO `kg_ipaddress` VALUES ('7707', '106.15.201.70', '中国', '上海', '上海市', '阿里云', '', '1605138668');

-- ----------------------------
-- Table structure for kg_ipvisit
-- ----------------------------
DROP TABLE IF EXISTS `kg_ipvisit`;
CREATE TABLE `kg_ipvisit` (
  `ip` varchar(15) NOT NULL COMMENT '主键',
  `accessid` varchar(255) NOT NULL COMMENT 'ACCESS_ID用户标识id',
  `user` int(10) unsigned NOT NULL COMMENT '用户id',
  `type` tinyint(3) unsigned NOT NULL COMMENT '1站内搜索间隔记录、2找回密码[只使用类型及时间两个字段临时记录用]、3广告点击是否有效记录、4在线留言间隔记录、5友情链接申请、6在线反馈提交间隔记录、7文章评论间隔、8产品评论、9图片集评论、10下载评论、11评论支持[顶评论]',
  `addtime` int(10) unsigned NOT NULL COMMENT '记录事件',
  `oid` int(10) unsigned NOT NULL COMMENT '其他ID,部分类型会用到该字段'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户操作记录表';

-- ----------------------------
-- Records of kg_ipvisit
-- ----------------------------
INSERT INTO `kg_ipvisit` VALUES ('163.179.46.38', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '1', '1604972053', '0');
INSERT INTO `kg_ipvisit` VALUES ('163.179.46.38', 'UWGJ7796CX1Sf60LnYPdBIfFCxU23OGR', '1', '1', '1604972058', '0');

-- ----------------------------
-- Table structure for kg_link
-- ----------------------------
DROP TABLE IF EXISTS `kg_link`;
CREATE TABLE `kg_link` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `webid` int(10) unsigned NOT NULL COMMENT '访问的应用ID',
  `name` varchar(255) NOT NULL COMMENT '链接名称',
  `description` text NOT NULL COMMENT '简要描述',
  `page` varchar(255) NOT NULL COMMENT '链接模块',
  `mid` int(10) NOT NULL COMMENT '链接的参数id',
  `url` varchar(255) NOT NULL COMMENT '完整url',
  `logo` varchar(255) NOT NULL COMMENT '图标',
  `sort` int(10) NOT NULL COMMENT '排序',
  `target` tinyint(1) NOT NULL COMMENT '是否新窗口打开，1是0否',
  `enable` tinyint(1) NOT NULL COMMENT '是否启用，1是0否',
  `nid` int(10) NOT NULL COMMENT '对应的导航菜单表id',
  `addtime` int(10) NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1118 DEFAULT CHARSET=utf8 COMMENT='导航链接表';

-- ----------------------------
-- Records of kg_link
-- ----------------------------
INSERT INTO `kg_link` VALUES ('7', '1', '', '', 'index', '0', '/', '', '1', '1', '1', '1', '1');
INSERT INTO `kg_link` VALUES ('8', '1', '', '', 'index', '0', '/', '', '1', '1', '1', '1', '1');
INSERT INTO `kg_link` VALUES ('152', '12', '凯格官网', '', 'index', '0', '/', '/upload/system/navigation/8_0.png', '2', '1', '1', '8', '1574841799');
INSERT INTO `kg_link` VALUES ('153', '12', '测试标题', '', 'index', '0', '/', '/upload/system/navigation/8_1.png', '10', '1', '1', '8', '1574841799');
INSERT INTO `kg_link` VALUES ('154', '12', '测试', '', 'index', '0', '/', '/upload/system/navigation/8_2.png', '0', '1', '1', '8', '1574841799');
INSERT INTO `kg_link` VALUES ('169', '12', '培训', '', 'index', '0', '/', '/upload/system/navigation/13_0.png', '1', '0', '1', '13', '1575513345');
INSERT INTO `kg_link` VALUES ('170', '12', '认证', '', 'index', '0', '/', '/upload/system/navigation/13_1.png', '2', '0', '1', '13', '1575513345');
INSERT INTO `kg_link` VALUES ('171', '12', '咨询', '', 'index', '0', '/', '/upload/system/navigation/13_2.png', '3', '0', '1', '13', '1575513345');
INSERT INTO `kg_link` VALUES ('172', '12', '支持', '', 'index', '0', '/', '/upload/system/navigation/13_3.png', '4', '0', '1', '13', '1575513345');
INSERT INTO `kg_link` VALUES ('352', '12', '功能展示', '', 'customize', '0', '#', '', '1', '0', '1', '27', '1578293806');
INSERT INTO `kg_link` VALUES ('353', '12', '为什么选择KGCMS ？', '', 'customize', '0', '#', '', '2', '0', '1', '27', '1578293806');
INSERT INTO `kg_link` VALUES ('354', '12', '如何购买', '', 'customize', '0', '#', '', '3', '0', '1', '27', '1578293806');
INSERT INTO `kg_link` VALUES ('355', '12', '合作伙伴', '', 'customize', '0', '#', '', '4', '0', '1', '27', '1578293806');
INSERT INTO `kg_link` VALUES ('434', '12', '全面的跨平台管理', '不依赖于操作系统及硬件环境，具备海量数据处理能力。在人工智能、大数据、网络爬虫、自动化运维、游戏等方面占有绝对优势。支持MySQL/MongoDB等数据库。', 'customize', '0', 'article?id=50', '/upload/system/navigation/24_0.png', '1', '0', '1', '24', '1578299591');
INSERT INTO `kg_link` VALUES ('435', '12', '轻盈(Lightness)、简易(Simplicity)、可扩展性(Scalability)', '高效、简洁、易扩展性。不使用 Tornado/Django/Flask 等庞大的第三方框架，系统全部采用原生态开发。只使用Python自带标准库，易升级、易移植、可控性。', 'customize', '0', 'article?id=50', '/upload/system/navigation/24_1.png', '2', '0', '1', '24', '1578299591');
INSERT INTO `kg_link` VALUES ('436', '12', '多站点、多应用、多平台同步管理', '实现多个WEB站点、APP、微信公众号、小程序、GUI应用、多国语言站点、OA、ERP等同步管理。大幅降低企业维护成本，方便、快捷处理企业内部数据。', 'customize', '0', 'article?id=50', '/upload/system/navigation/24_2.png', '3', '0', '1', '24', '1578299591');
INSERT INTO `kg_link` VALUES ('437', '12', '丰富的API接口', '支持JSON/XML等数据格式，可兼容vue等进行数据渲染。系统同时集成Jinja2模板引擎，支持所有模块数据 Custom Filters，可在模板中使用Jinja2语法直接调用数据。', 'customize', '0', 'article?id=50', '/upload/system/navigation/24_3.png', '4', '0', '1', '24', '1578299591');
INSERT INTO `kg_link` VALUES ('480', '12', 'MySQL 参考手册', '', 'index', '0', '/', '/upload/system/navigation/15_0.png', '1', '0', '1', '15', '1578533377');
INSERT INTO `kg_link` VALUES ('481', '12', 'MySQL NDB Cluster', '', 'index', '0', '/', '/upload/system/navigation/15_1.png', '2', '0', '1', '15', '1578533377');
INSERT INTO `kg_link` VALUES ('482', '12', 'MySQL 连接器', '', 'index', '0', '/', '/upload/system/navigation/15_2.png', '3', '0', '1', '15', '1578533377');
INSERT INTO `kg_link` VALUES ('483', '12', '主题指南', '', 'index', '0', '/', '/upload/system/navigation/15_3.png', '4', '0', '1', '15', '1578533377');
INSERT INTO `kg_link` VALUES ('484', '12', '联系方式 ', '', 'article_view', '0', '/article?id=#', '', '0', '0', '1', '15', '1578533377');
INSERT INTO `kg_link` VALUES ('808', '28', 'Function display', '', 'customize', '0', '#', '', '1', '0', '1', '29', '1583135563');
INSERT INTO `kg_link` VALUES ('809', '28', 'Why choose KGCMS?', '', 'customize', '0', '#', '', '2', '0', '1', '29', '1583135563');
INSERT INTO `kg_link` VALUES ('810', '28', 'How to buy', '', 'customize', '0', '#', '', '3', '0', '1', '29', '1583135563');
INSERT INTO `kg_link` VALUES ('811', '28', 'Partner', '', 'customize', '0', '#', '', '4', '0', '1', '29', '1583135563');
INSERT INTO `kg_link` VALUES ('812', '28', 'Comprehensive cross-platform management', 'Does not depend on the operating system and hardware environment, with massive data processing capabilities. It has absolute advantages in artificial intelligence, big data, web crawlers, automated operation and maintenance, and games. Support MySQL / MongoDB and other databases.', 'customize', '0', 'article?id=50', '/upload/system/navigation/30_0.png', '1', '0', '1', '30', '1583135993');
INSERT INTO `kg_link` VALUES ('813', '28', 'Lightness, Simplicity, Scalability', 'Efficient, simple and easy to expand. Instead of using huge third-party frameworks such as Tornado / Django / Flask, the system is developed using the original ecology. Only use Python\'s own standard library, which is easy to upgrade, portable and controllable.', 'customize', '0', 'article?id=50', '/upload/system/navigation/30_1.png', '2', '0', '1', '30', '1583135993');
INSERT INTO `kg_link` VALUES ('814', '28', 'Multi-site, multi-application, multi-platform synchronous management', 'Realize the simultaneous management of multiple WEB sites, APPs, WeChat public accounts, applets, GUI applications, multi-language sites, OA, ERP, etc. Significantly reduce the maintenance cost of the enterprise, and handle the internal data of the enterprise conveniently and quickly.', 'customize', '0', 'article?id=50', '/upload/system/navigation/30_2.png', '3', '0', '1', '30', '1583135993');
INSERT INTO `kg_link` VALUES ('815', '28', 'Rich API interface', 'Support JSON / XML and other data formats, compatible with vue and other data rendering. The system also integrates Jinja2 template engine, supports all module data Custom Filters, and can use Jinja2 syntax to directly call data in the template.', 'customize', '0', 'article?id=50', '/upload/system/navigation/30_3.png', '4', '0', '1', '30', '1583135993');
INSERT INTO `kg_link` VALUES ('816', '28', 'KGCMS v1.1.0 Beta Local Download', 'Release time: 2020-01-10 08:20:30', 'customize', '0', '#', '', '1', '1', '1', '31', '1583136914');
INSERT INTO `kg_link` VALUES ('817', '28', 'Version update log see GitHub', 'https://github.com/kgcms/', 'customize', '0', 'https://github.com/kgcms/', '', '2', '1', '1', '31', '1583136914');
INSERT INTO `kg_link` VALUES ('818', '28', 'Alibaba Cloud (North Netcom) mirror download', 'On Demand', 'customize', '0', '#', '', '3', '0', '1', '31', '1583136914');
INSERT INTO `kg_link` VALUES ('819', '28', '87218 Public Service Platform', '', 'customize', '0', 'http://www.87218.org/', '/upload/system/navigation/32_0.png', '1', '0', '1', '32', '1583137632');
INSERT INTO `kg_link` VALUES ('820', '28', 'Customer 2', '', 'index', '0', '/', '/upload/system/navigation/32_1.png', '2', '0', '1', '32', '1583137632');
INSERT INTO `kg_link` VALUES ('821', '28', 'Customer 3', '', 'index', '0', '/', '/upload/system/navigation/32_2.png', '3', '0', '1', '32', '1583137632');
INSERT INTO `kg_link` VALUES ('822', '28', 'Customer 4', '', 'index', '0', '/', '/upload/system/navigation/32_3.png', '4', '0', '1', '32', '1583137632');
INSERT INTO `kg_link` VALUES ('823', '28', 'Customer 5', '', 'index', '0', '/', '/upload/system/navigation/32_4.png', '5', '0', '1', '32', '1583137632');
INSERT INTO `kg_link` VALUES ('824', '28', 'Customer 6', '', 'index', '0', '/', '/upload/system/navigation/32_5.png', '6', '0', '1', '32', '1583137632');
INSERT INTO `kg_link` VALUES ('825', '28', 'Customer 7', '', 'index', '0', '/', '/upload/system/navigation/32_6.png', '7', '0', '1', '32', '1583137632');
INSERT INTO `kg_link` VALUES ('826', '28', 'Customer 8', '', 'index', '0', '/', '/upload/system/navigation/32_7.png', '8', '0', '1', '32', '1583137632');
INSERT INTO `kg_link` VALUES ('827', '28', 'Customer 9', '', 'index', '0', '/', '/upload/system/navigation/32_8.png', '9', '0', '1', '32', '1583137632');
INSERT INTO `kg_link` VALUES ('828', '28', 'Customer 10', '', 'index', '0', '/', '/upload/system/navigation/32_9.png', '10', '0', '1', '32', '1583137632');
INSERT INTO `kg_link` VALUES ('829', '28', 'Customer 11', '', 'index', '0', '/', '/upload/system/navigation/32_10.png', '11', '0', '1', '32', '1583137632');
INSERT INTO `kg_link` VALUES ('830', '28', 'Customer 12', '', 'index', '0', '/', '/upload/system/navigation/32_11.png', '12', '0', '1', '32', '1583137632');
INSERT INTO `kg_link` VALUES ('841', '28', 'Contact KGCMS Sales', '<div id=\"footer-contact-numbers\" class=\"ngsty-Ynum\">\r\n    <strong>Contact KGCMS Sales</strong><br>\r\n    China mainland: 400 669 0561\r\n    (<a href=\"https://www.mysql.com/cn/about/contact/phone/\">More countries »</a>)\r\n</div>\r\n<div id=\"footer-contact-copyright\">\r\n    <a href=\"#\" aria-label=\"KGCMS\" title=\"KGCMS\"><span class=\"oracle-logo\"></span></a>\r\n     © 2019, KGCMS Corporation and/or its affiliates\r\n</div>', 'customize', '0', '#', '/upload/system/navigation/33_0.png', '1', '1', '1', '33', '1583138857');
INSERT INTO `kg_link` VALUES ('842', '28', 'Right icon link 1', '', 'customize', '0', '#', '/upload/system/navigation/33_1.png', '2', '1', '1', '33', '1583138857');
INSERT INTO `kg_link` VALUES ('843', '28', 'Right icon link 2', '', 'customize', '0', '#', '/upload/system/navigation/33_2.png', '3', '1', '1', '33', '1583138857');
INSERT INTO `kg_link` VALUES ('844', '28', 'Right icon link 3', '', 'customize', '0', '#', '/upload/system/navigation/33_3.png', '4', '1', '1', '33', '1583138857');
INSERT INTO `kg_link` VALUES ('845', '28', 'Right icon link 4', '', 'customize', '0', '#', '/upload/system/navigation/33_4.png', '5', '1', '1', '33', '1583138857');
INSERT INTO `kg_link` VALUES ('846', '28', 'utility library', '', 'customize', '0', '#', '/upload/system/navigation/34_0.png', '1', '1', '1', '34', '1583139810');
INSERT INTO `kg_link` VALUES ('847', '28', 'System basic module', '', 'customize', '0', '#', '/upload/system/navigation/34_1.png', '2', '0', '1', '34', '1583139810');
INSERT INTO `kg_link` VALUES ('848', '28', 'Database operations', '', 'customize', '0', '#', '/upload/system/navigation/34_2.png', '3', '1', '1', '34', '1583139810');
INSERT INTO `kg_link` VALUES ('849', '28', 'Project structure', '', 'customize', '0', '#', '/upload/system/navigation/34_3.png', '4', '1', '1', '34', '1583139810');
INSERT INTO `kg_link` VALUES ('850', '28', 'Standard data call', '', 'customize', '0', '#', '/upload/system/navigation/34_4.png', '5', '1', '1', '34', '1583139810');
INSERT INTO `kg_link` VALUES ('851', '28', 'KGCMS configuration and installation', '', 'customize', '0', '#', '/upload/system/navigation/34_5.png', '6', '1', '1', '34', '1583139810');
INSERT INTO `kg_link` VALUES ('852', '28', 'Common library', '', 'customize', '0', '#', '', '7', '1', '1', '34', '1583139810');
INSERT INTO `kg_link` VALUES ('857', '28', 'Training', '', 'index', '0', '/', '/upload/system/navigation/35_0.png', '1', '0', '1', '35', '1583140559');
INSERT INTO `kg_link` VALUES ('858', '28', 'Certification', '', 'index', '0', '/', '/upload/system/navigation/35_1.png', '2', '0', '1', '35', '1583140559');
INSERT INTO `kg_link` VALUES ('859', '28', 'Advisory', '', 'index', '0', '/', '/upload/system/navigation/35_2.png', '3', '0', '1', '35', '1583140559');
INSERT INTO `kg_link` VALUES ('860', '28', 'Support', '', 'index', '0', '/', '/upload/system/navigation/35_3.png', '4', '0', '1', '35', '1583140559');
INSERT INTO `kg_link` VALUES ('861', '28', 'MySQL Community Server', '', 'index', '0', '/', '', '1', '0', '1', '36', '1575513504');
INSERT INTO `kg_link` VALUES ('862', '28', ' MySQL NDB Cluster ', '', 'index', '0', '/', '', '2', '0', '1', '36', '1575513504');
INSERT INTO `kg_link` VALUES ('863', '28', 'MySQL Shell', '', 'index', '0', '/', '', '3', '0', '1', '36', '1575513504');
INSERT INTO `kg_link` VALUES ('864', '28', ' MySQL Router', '', 'index', '0', '/', '', '4', '0', '1', '36', '1575513504');
INSERT INTO `kg_link` VALUES ('865', '28', ' MySQL Workbench', '', 'index', '0', '/', '', '5', '0', '1', '36', '1575513504');
INSERT INTO `kg_link` VALUES ('866', '28', 'MySQL Reference Manual', '', 'index', '0', '/', '', '1', '0', '1', '37', '1578533377');
INSERT INTO `kg_link` VALUES ('867', '28', 'MySQL NDB Cluster', '', 'index', '0', '/', '', '2', '0', '1', '37', '1578533377');
INSERT INTO `kg_link` VALUES ('868', '28', 'MySQL connector', '', 'index', '0', '/', '', '3', '0', '1', '37', '1578533377');
INSERT INTO `kg_link` VALUES ('869', '28', 'Theme Guide', '', 'index', '0', '/', '', '4', '0', '1', '37', '1578533377');
INSERT INTO `kg_link` VALUES ('870', '28', 'Contact Details ', '', 'article_view', '0', '/article?id=#', '', '0', '0', '1', '37', '1578533377');
INSERT INTO `kg_link` VALUES ('871', '28', 'Contact Us', '', 'index', '0', '/', '', '1', '0', '1', '38', '1575513794');
INSERT INTO `kg_link` VALUES ('872', '28', 'how To Buy', '', 'index', '0', '/', '', '2', '0', '1', '38', '1575513794');
INSERT INTO `kg_link` VALUES ('873', '28', 'Partner', '', 'index', '0', '/', '', '3', '0', '1', '38', '1575513794');
INSERT INTO `kg_link` VALUES ('874', '28', 'Career Opportunities', '', 'index', '0', '/', '', '4', '0', '1', '38', '1575513794');
INSERT INTO `kg_link` VALUES ('875', '28', 'itemap', '', 'index', '0', '/', '', '5', '0', '1', '38', '1575513794');
INSERT INTO `kg_link` VALUES ('876', '30', 'トレーニング', '', 'index', '0', '/', '/upload/system/navigation/13_0.png', '1', '0', '1', '40', '1575513345');
INSERT INTO `kg_link` VALUES ('877', '30', '認証', '', 'index', '0', '/', '/upload/system/navigation/13_1.png', '2', '0', '1', '40', '1575513345');
INSERT INTO `kg_link` VALUES ('878', '30', 'コンサルティング', '', 'index', '0', '/', '/upload/system/navigation/13_2.png', '3', '0', '1', '40', '1575513345');
INSERT INTO `kg_link` VALUES ('879', '30', 'サポート', '', 'index', '0', '/', '/upload/system/navigation/13_3.png', '4', '0', '1', '40', '1575513345');
INSERT INTO `kg_link` VALUES ('880', '30', 'MySQL Community Server', '', 'index', '0', '/', '/upload/system/navigation/14_0.png', '1', '0', '1', '41', '1575513504');
INSERT INTO `kg_link` VALUES ('881', '30', ' MySQL NDB Cluster ', '', 'index', '0', '/', '/upload/system/navigation/14_1.png', '2', '0', '1', '41', '1575513504');
INSERT INTO `kg_link` VALUES ('882', '30', 'MySQL Shell', '', 'index', '0', '/', '/upload/system/navigation/14_2.png', '3', '0', '1', '41', '1575513504');
INSERT INTO `kg_link` VALUES ('883', '30', ' MySQL Router', '', 'index', '0', '/', '/upload/system/navigation/14_3.png', '4', '0', '1', '41', '1575513504');
INSERT INTO `kg_link` VALUES ('884', '30', ' MySQL Workbench', '', 'index', '0', '/', '/upload/system/navigation/14_4.png', '5', '0', '1', '41', '1575513504');
INSERT INTO `kg_link` VALUES ('885', '30', 'お問い合わせください', '', 'index', '0', '/', '/upload/system/navigation/16_0.png', '1', '0', '1', '43', '1575513794');
INSERT INTO `kg_link` VALUES ('886', '30', '購入方法', '', 'index', '0', '/', '/upload/system/navigation/16_1.png', '2', '0', '1', '43', '1575513794');
INSERT INTO `kg_link` VALUES ('887', '30', 'パートナー', '', 'index', '0', '/', '/upload/system/navigation/16_2.png', '3', '0', '1', '43', '1575513794');
INSERT INTO `kg_link` VALUES ('888', '30', '求人', '', 'index', '0', '/', '/upload/system/navigation/16_3.png', '4', '0', '1', '43', '1575513794');
INSERT INTO `kg_link` VALUES ('889', '30', 'サイトマップ', '', 'index', '0', '/', '/upload/system/navigation/16_4.png', '5', '0', '1', '43', '1575513794');
INSERT INTO `kg_link` VALUES ('890', '30', '機能表示', '', 'customize', '0', '#', '', '1', '0', '1', '47', '1578293806');
INSERT INTO `kg_link` VALUES ('891', '30', 'KGCMSを選ぶ理由 ？', '', 'customize', '0', '#', '', '2', '0', '1', '47', '1578293806');
INSERT INTO `kg_link` VALUES ('892', '30', '購入方法', '', 'customize', '0', '#', '', '3', '0', '1', '47', '1578293806');
INSERT INTO `kg_link` VALUES ('893', '30', 'パートナー', '', 'customize', '0', '#', '', '4', '0', '1', '47', '1578293806');
INSERT INTO `kg_link` VALUES ('894', '30', '包括的なクロスプラットフォーム管理', 'オペレーティングシステムとハードウェア環境に依存せず、大規模なデータ処理機能を備えています。 人工知能、ビッグデータ、Webクローラー、自動化された運用と保守、およびゲームにおいて絶対的な利点があります。 MySQL / MongoDBおよびその他のデータベースをサポートします。', 'customize', '0', 'article?id=50', '/upload/system/navigation/24_0.png', '1', '0', '1', '45', '1578299591');
INSERT INTO `kg_link` VALUES ('895', '30', '軽量(Lightness)、シンプル(Simplicity)、スケーラブル(Scalability)', '効率的でシンプルで拡張しやすい。 Tornado / Django / Flaskなどの巨大なサードパーティフレームワークを使用する代わりに、システムは元のエコロジーを使用して開発されています。 Python独自の標準ライブラリのみを使用してください。これは、アップグレードが簡単で、ポータブルで制御可能です。', 'customize', '0', 'article?id=50', '/upload/system/navigation/24_1.png', '2', '0', '1', '45', '1578299591');
INSERT INTO `kg_link` VALUES ('896', '30', 'マルチサイト、マルチアプリケーション、マルチプラットフォームの同期管理', '複数のWEBサイト、APP、WeChatパブリックアカウント、アプレット、GUIアプリケーション、多言語サイト、OA、ERPなどの同時管理を実現します。 企業の保守コストを大幅に削減し、企業の内部データを便利かつ迅速に処理します。', 'customize', '0', 'article?id=50', '/upload/system/navigation/24_2.png', '3', '0', '1', '45', '1578299591');
INSERT INTO `kg_link` VALUES ('897', '30', 'リッチAPIインターフェース', 'JSON / XMLおよびその他のデータ形式をサポートし、vueおよびその他のデータレンダリングと互換性があります。 また、システムはJinja2テンプレートエンジンを統合し、すべてのモジュールデータカスタムフィルターをサポートし、Jinja2構文を使用してテンプレート内のデータを直接呼び出すことができます。', 'customize', '0', 'article?id=50', '/upload/system/navigation/24_3.png', '4', '0', '1', '45', '1578299591');
INSERT INTO `kg_link` VALUES ('898', '30', 'KGCMS v1.1.0 Betaローカルダウンロード', 'リリース時間：2020-01-10 08:20:30', 'customize', '0', '#', '', '1', '1', '1', '46', '1578387341');
INSERT INTO `kg_link` VALUES ('899', '30', 'バージョン更新ログはGitHubをご覧ください', 'https://github.com/kgcms/', 'customize', '0', 'https://github.com/kgcms/', '', '2', '1', '1', '46', '1578387341');
INSERT INTO `kg_link` VALUES ('900', '30', 'Alibaba Cloud（North Netcom）ミラーダウンロード ', 'On Demand', 'customize', '0', '#', '', '3', '0', '1', '46', '1578387341');
INSERT INTO `kg_link` VALUES ('901', '30', 'MySQL リファレンスマニュアル', '', 'index', '0', '/', '/upload/system/navigation/15_0.png', '1', '0', '1', '42', '1578533377');
INSERT INTO `kg_link` VALUES ('902', '30', 'MySQL NDB Cluster', '', 'index', '0', '/', '/upload/system/navigation/15_1.png', '2', '0', '1', '42', '1578533377');
INSERT INTO `kg_link` VALUES ('903', '30', 'MySQL コネクター', '', 'index', '0', '/', '/upload/system/navigation/15_2.png', '3', '0', '1', '42', '1578533377');
INSERT INTO `kg_link` VALUES ('904', '30', 'テーマガイド', '', 'index', '0', '/', '/upload/system/navigation/15_3.png', '4', '0', '1', '42', '1578533377');
INSERT INTO `kg_link` VALUES ('905', '30', '連絡先 ', '', 'article_view', '0', '/article?id=#', '', '0', '0', '1', '42', '1578533377');
INSERT INTO `kg_link` VALUES ('907', '30', 'クライアント2', '', 'index', '0', '/', '/upload/system/navigation/17_1.png', '2', '0', '1', '44', '1578561538');
INSERT INTO `kg_link` VALUES ('908', '30', 'クライアント3', '', 'index', '0', '/', '/upload/system/navigation/17_2.png', '3', '0', '1', '44', '1578561538');
INSERT INTO `kg_link` VALUES ('909', '30', 'クライアント4', '', 'index', '0', '/', '/upload/system/navigation/17_3.png', '4', '0', '1', '44', '1578561538');
INSERT INTO `kg_link` VALUES ('910', '30', 'クライアント5', '', 'index', '0', '/', '/upload/system/navigation/17_4.png', '5', '0', '1', '44', '1578561538');
INSERT INTO `kg_link` VALUES ('911', '30', 'クライアント6', '', 'index', '0', '/', '/upload/system/navigation/17_5.png', '6', '0', '1', '44', '1578561538');
INSERT INTO `kg_link` VALUES ('912', '30', 'クライアント7', '', 'index', '0', '/', '/upload/system/navigation/17_6.png', '7', '0', '1', '44', '1578561538');
INSERT INTO `kg_link` VALUES ('913', '30', 'クライアント8', '', 'index', '0', '/', '/upload/system/navigation/17_7.png', '8', '0', '1', '44', '1578561538');
INSERT INTO `kg_link` VALUES ('914', '30', 'クライアント9', '', 'index', '0', '/', '/upload/system/navigation/17_8.png', '9', '0', '1', '44', '1578561538');
INSERT INTO `kg_link` VALUES ('915', '30', 'クライアント10', '', 'index', '0', '/', '/upload/system/navigation/17_9.png', '10', '0', '1', '44', '1578561538');
INSERT INTO `kg_link` VALUES ('916', '30', 'クライアント11', '', 'index', '0', '/', '/upload/system/navigation/17_10.png', '11', '0', '1', '44', '1578561538');
INSERT INTO `kg_link` VALUES ('917', '30', 'クライアント12', '', 'index', '0', '/', '/upload/system/navigation/17_11.png', '39', '0', '1', '44', '1578561538');
INSERT INTO `kg_link` VALUES ('918', '30', 'utility 図書館', '', 'article_list', '68', '/article?cid=68', '/upload/system/navigation/12_0.png', '1', '1', '1', '39', '1580956258');
INSERT INTO `kg_link` VALUES ('919', '30', 'システム基本モジュール', '', 'article_list', '79', '/article?cid=79', '/upload/system/navigation/12_1.png', '2', '0', '1', '39', '1580956258');
INSERT INTO `kg_link` VALUES ('920', '30', 'データベース操作', '', 'article_list', '80', '/article?cid=80', '/upload/system/navigation/12_2.png', '3', '1', '1', '39', '1580956258');
INSERT INTO `kg_link` VALUES ('921', '30', 'プロジェクト構造', '', 'article_list', '81', '/article?cid=81', '/upload/system/navigation/12_3.png', '4', '1', '1', '39', '1580956258');
INSERT INTO `kg_link` VALUES ('922', '30', '標準データ呼び出し', '', 'article_list', '82', '/article?cid=82', '/upload/system/navigation/12_4.png', '5', '1', '1', '39', '1580956258');
INSERT INTO `kg_link` VALUES ('923', '30', 'KGCMSの構成とインストール', '', 'article_list', '84', '/article?cid=84', '/upload/system/navigation/12_5.png', '6', '1', '1', '39', '1580956258');
INSERT INTO `kg_link` VALUES ('924', '30', 'Common 図書館', '', 'article_list', '91', '/article?cid=91', '', '7', '1', '1', '39', '1580956258');
INSERT INTO `kg_link` VALUES ('925', '30', 'KGCMSセールスへのお問い合わせ', '<div id=\"footer-contact-numbers\" class=\"ngsty-Ynum\">\r\n                <strong>KGCMSセールスへのお問い合わせ</strong><br>\r\n                中国本土: 400 669 0561 \r\n                (<a href=\"https://www.mysql.com/cn/about/contact/phone/\">その他の国 ?</a>)\r\n            </div>\r\n            <div id=\"footer-contact-copyright\">\r\n                <a href=\"#\" aria-label=\"KGCMS\" title=\"KGCMS\"><span class=\"oracle-logo\"></span></a>\r\n                ?? 2019, KGCMS Corporation and/or its affiliates\r\n            </div>', 'customize', '0', '#', '/upload/system/navigation/28_0.png', '1', '1', '1', '48', '1583137937');
INSERT INTO `kg_link` VALUES ('926', '30', '右のアイコンリンク1', '', 'customize', '0', '#', '/upload/system/navigation/28_1.png', '2', '1', '1', '48', '1583137937');
INSERT INTO `kg_link` VALUES ('927', '30', '右のアイコンリンク2', '', 'customize', '0', '#', '/upload/system/navigation/28_2.png', '3', '1', '1', '48', '1583137937');
INSERT INTO `kg_link` VALUES ('928', '30', '右のアイコンリンク3', '', 'customize', '0', '#', '/upload/system/navigation/28_3.png', '4', '1', '1', '48', '1583137937');
INSERT INTO `kg_link` VALUES ('929', '30', '右のアイコンリンク4', '', 'customize', '0', '#', '/upload/system/navigation/28_4.png', '5', '1', '1', '48', '1583137937');
INSERT INTO `kg_link` VALUES ('1018', '12', 'utility 库', '', 'article_list', '68', '/article?cid=68', '/upload/system/navigation/12_0.png', '1', '1', '1', '12', '1589430868');
INSERT INTO `kg_link` VALUES ('1019', '12', '系统基础模块', '', 'article_list', '79', '/article?cid=79', '/upload/system/navigation/12_1.png', '7', '0', '1', '12', '1589430868');
INSERT INTO `kg_link` VALUES ('1020', '12', 'Common 库', '', 'article_list', '91', '/article?cid=91', '', '2', '1', '1', '12', '1589430868');
INSERT INTO `kg_link` VALUES ('1021', '12', '数据库操作', '', 'article_list', '80', '/article?cid=80', '/upload/system/navigation/12_3.png', '3', '1', '1', '12', '1589430868');
INSERT INTO `kg_link` VALUES ('1022', '12', '项目结构', '', 'article_list', '81', '/article?cid=81', '/upload/system/navigation/12_4.png', '4', '1', '1', '12', '1589430868');
INSERT INTO `kg_link` VALUES ('1023', '12', '标准数据调用', '', 'article_list', '82', '/article?cid=82', '/upload/system/navigation/12_5.png', '5', '1', '1', '12', '1589430868');
INSERT INTO `kg_link` VALUES ('1024', '12', 'KGCMS配置与安装', '', 'article_list', '84', '/article?cid=84', '/upload/system/navigation/12_6.png', '6', '1', '1', '12', '1589430868');
INSERT INTO `kg_link` VALUES ('1025', '12', '网站地图', '', 'index', '0', '/', '/upload/system/navigation/16_0.png', '5', '0', '1', '16', '1589430941');
INSERT INTO `kg_link` VALUES ('1026', '12', '联系我们', '', 'index', '0', '/', '/upload/system/navigation/16_1.png', '1', '0', '1', '16', '1589430941');
INSERT INTO `kg_link` VALUES ('1027', '12', ' 如何购买', '', 'index', '0', '/', '/upload/system/navigation/16_2.png', '2', '0', '1', '16', '1589430941');
INSERT INTO `kg_link` VALUES ('1028', '12', '合作伙伴', '', 'index', '0', '/', '/upload/system/navigation/16_3.png', '3', '0', '1', '16', '1589430941');
INSERT INTO `kg_link` VALUES ('1029', '12', '工作机会', '', 'index', '0', '/', '/upload/system/navigation/16_4.png', '4', '0', '1', '16', '1589430941');
INSERT INTO `kg_link` VALUES ('1047', '12', 'KGCMS v1.1.0 Beta 本地下载', '发布时间：2020-01-10  08:20:30', 'customize', '0', '/download', '', '1', '1', '1', '26', '1590111233');
INSERT INTO `kg_link` VALUES ('1048', '12', '版本更新日志见 GitHub', 'https://github.com/kgcms/', 'customize', '0', 'https://github.com/kgcms/', '', '2', '1', '1', '26', '1590111233');
INSERT INTO `kg_link` VALUES ('1049', '12', '阿里云（北方网通）镜像下载 ', 'On Demand', 'customize', '0', '/download', '', '3', '0', '1', '26', '1590111233');
INSERT INTO `kg_link` VALUES ('1070', '12', 'Kgcms v1.0', '', 'index', '0', '/', '/upload/system/navigation/14_0.png', '1', '0', '1', '14', '1591058950');
INSERT INTO `kg_link` VALUES ('1071', '12', 'Download Python', '', 'customize', '0', 'https://www.python.org/downloads/', '/upload/system/navigation/14_1.png', '2', '1', '1', '14', '1591058950');
INSERT INTO `kg_link` VALUES ('1072', '12', 'Jinja2 PyPI Releases', '', 'customize', '0', 'https://pypi.org/project/Jinja2/', '/upload/system/navigation/14_2.png', '3', '1', '1', '14', '1591058950');
INSERT INTO `kg_link` VALUES ('1073', '12', ' MySQL Router', '', 'index', '0', '/', '/upload/system/navigation/14_3.png', '4', '1', '1', '14', '1591058950');
INSERT INTO `kg_link` VALUES ('1074', '12', ' MySQL Workbench', '', 'index', '0', '/', '/upload/system/navigation/14_4.png', '5', '1', '1', '14', '1591058950');
INSERT INTO `kg_link` VALUES ('1075', '12', '联系 KGCMS 销售人员', '<div id=\"footer-contact-numbers\" class=\"ngsty-Ynum\">\r\n                <strong>联系 KGCMS 销售人员</strong><br>\r\n                中国大陆地区: 400 669 0561 \r\n                (<a href=\"#\">更多国家/地区 »</a>)\r\n            </div>\r\n            <div id=\"footer-contact-copyright\">\r\n                <a href=\"#\" aria-label=\"KGCMS\" title=\"KGCMS\"><span class=\"oracle-logo\"></span></a>\r\n                 © 2019, KGCMS Corporation and/or its affiliates\r\n            </div>', 'customize', '0', '#', '/upload/system/navigation/28_0.png', '1', '0', '1', '28', '1604646928');
INSERT INTO `kg_link` VALUES ('1076', '12', '右侧图标链接1', '', 'customize', '0', '#', '/upload/system/navigation/28_1.png', '2', '1', '0', '28', '1604646928');
INSERT INTO `kg_link` VALUES ('1077', '12', '右侧图标链接2', '', 'customize', '0', '#', '/upload/system/navigation/28_2.png', '3', '1', '1', '28', '1604646928');
INSERT INTO `kg_link` VALUES ('1078', '12', '右侧图标链接3', '', 'customize', '0', '#', '/upload/system/navigation/28_3.png', '4', '1', '1', '28', '1604646928');
INSERT INTO `kg_link` VALUES ('1079', '12', '右侧图标链接4', '', 'customize', '0', '#', '/upload/system/navigation/28_4.png', '5', '1', '1', '28', '1604646928');
INSERT INTO `kg_link` VALUES ('1106', '12', '客户6', '', 'index', '0', '/', '/upload/system/navigation/17_0.png', '1', '0', '1', '17', '1604649799');
INSERT INTO `kg_link` VALUES ('1107', '12', '客户2', '', 'index', '0', '/', '/upload/system/navigation/17_1.png', '2', '0', '1', '17', '1604649799');
INSERT INTO `kg_link` VALUES ('1108', '12', '87218公共服务平台', '', 'customize', '0', 'http://www.87218.org/', '/upload/system/navigation/17_2.png', '3', '1', '1', '17', '1604649799');
INSERT INTO `kg_link` VALUES ('1109', '12', '客户4', '', 'index', '0', '/', '/upload/system/navigation/17_3.png', '4', '0', '1', '17', '1604649799');
INSERT INTO `kg_link` VALUES ('1110', '12', '客户5', '', 'index', '0', '/', '/upload/system/navigation/17_4.png', '5', '0', '1', '17', '1604649799');
INSERT INTO `kg_link` VALUES ('1111', '12', '客户7', '', 'index', '0', '/', '/upload/system/navigation/17_5.png', '7', '0', '1', '17', '1604649799');
INSERT INTO `kg_link` VALUES ('1112', '12', '客户8', '', 'index', '0', '/', '/upload/system/navigation/17_6.png', '8', '0', '1', '17', '1604649799');
INSERT INTO `kg_link` VALUES ('1113', '12', '客户9', '', 'index', '0', '/', '/upload/system/navigation/17_7.png', '9', '0', '1', '17', '1604649799');
INSERT INTO `kg_link` VALUES ('1114', '12', '客户10', '', 'index', '0', '/', '/upload/system/navigation/17_8.png', '10', '0', '1', '17', '1604649799');
INSERT INTO `kg_link` VALUES ('1115', '12', '客户11', '', 'index', '0', '/', '/upload/system/navigation/17_9.png', '11', '0', '1', '17', '1604649799');
INSERT INTO `kg_link` VALUES ('1116', '12', '客户12', '', 'index', '0', '/', '/upload/system/navigation/17_10.png', '12', '0', '1', '17', '1604649799');
INSERT INTO `kg_link` VALUES ('1117', '12', '客户3', '', 'index', '0', '/', '/upload/system/navigation/17_11.png', '13', '0', '1', '17', '1604649799');

-- ----------------------------
-- Table structure for kg_log
-- ----------------------------
DROP TABLE IF EXISTS `kg_log`;
CREATE TABLE `kg_log` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `webid` int(10) unsigned NOT NULL COMMENT '访问的应用ID',
  `type` tinyint(3) unsigned NOT NULL COMMENT '日志类型(1查询敏感数据/2添加数据/3修改数据/4删除数据/5其它数据库操作/6后台管理员登录/7上传文件/8项目重启/9计划任务/10前台用户注册/11前台用户登录/12文件下载)',
  `info` json NOT NULL COMMENT '日志内容{"state":"SUCCESS|FAILURE"...}',
  `pageurl` varchar(255) NOT NULL COMMENT '操作页面URL',
  `userid` varchar(20) NOT NULL COMMENT '前台用户id',
  `adminid` int(10) unsigned NOT NULL COMMENT '后台管理员id',
  `loginid` json NOT NULL COMMENT '登录帐号{admin,user}',
  `ip` varchar(15) NOT NULL COMMENT '操作者ip地址',
  `address` varchar(255) NOT NULL COMMENT 'IP地址',
  `addtime` int(10) unsigned NOT NULL COMMENT '操作的时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=67 DEFAULT CHARSET=utf8 COMMENT='后台操作日志';

-- ----------------------------
-- Records of kg_log
-- ----------------------------
INSERT INTO `kg_log` VALUES ('1', '12', '2', '{\"id\": 119, \"state\": \"SUCCESS\", \"table\": \"article\"}', 'http://v.kgcms.com/admin/article_update', '0', '174', '{\"user\": \"\", \"admin\": \"admin1\"}', '163.179.46.38');
INSERT INTO `kg_log` VALUES ('2', '12', '3', '{\"state\": \"SUCCESS\", \"table\": \"article\", \"where\": \"id in (119)\", \"edit_count\": 1}', 'http://v.kgcms.com/admin/article_manage?action=del&id=119', '0', '174', '{\"user\": \"\", \"admin\": \"admin1\"}', '163.179.46.38');
INSERT INTO `kg_log` VALUES ('3', '12', '4', '{\"state\": \"SUCCESS\", \"table\": \"article\", \"where\": \"id in (119)\", \"del_count\": 1}', 'http://v.kgcms.com/admin/article_manage?action=del_true&id=119', '0', '174', '{\"user\": \"\", \"admin\": \"admin1\"}', '163.179.46.38');
INSERT INTO `kg_log` VALUES ('4', '12', '3', '{\"state\": \"SUCCESS\", \"table\": \"user\", \"where\": 1, \"edit_count\": 1}', 'http://v.kgcms.com/user/login', '0', '0', '{\"user\": \"\", \"admin\": \"admin1\"}', '163.179.46.38');
INSERT INTO `kg_log` VALUES ('5', '12', '11', '{\"id\": 1, \"state\": \"SUCCESS\", \"loginid\": \"admin\", \"frequency\": 79}', 'http://v.kgcms.com/user/login', '1', '174', '{\"user\": \"admin\", \"admin\": \"admin1\"}', '163.179.46.38');
INSERT INTO `kg_log` VALUES ('6', '12', '2', '{\"id\": 0, \"state\": \"FAILURE\", \"table\": \"ipvisit\"}', 'http://v.kgcms.com/search?word=ces', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin1\"}', '163.179.46.38');
INSERT INTO `kg_log` VALUES ('7', '12', '2', '{\"id\": 0, \"state\": \"FAILURE\", \"table\": \"ipvisit\"}', 'http://v.kgcms.com/search?word=ces&type=2', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin1\"}', '163.179.46.38');
INSERT INTO `kg_log` VALUES ('8', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://v.kgcms.com/api/admin_process?action=app_restart&value=start', '0', '174', '{\"user\": \"admin\", \"admin\": \"admin1\"}', '163.179.46.38');
INSERT INTO `kg_log` VALUES ('9', '12', '3', '{\"state\": \"FAILURE\", \"table\": \"article\", \"where\": 76, \"edit_count\": 0}', 'http://v.kgcms.com/admin/article_update?id=76', '0', '174', '{\"user\": \"admin\", \"admin\": \"admin1\"}', '163.179.46.38');
INSERT INTO `kg_log` VALUES ('10', '12', '3', '{\"state\": \"SUCCESS\", \"table\": \"article\", \"where\": 76, \"edit_count\": 1}', 'http://v.kgcms.com/admin/article_update?id=76', '0', '174', '{\"user\": \"admin\", \"admin\": \"admin1\"}', '163.179.46.38');
INSERT INTO `kg_log` VALUES ('11', '12', '3', '{\"state\": \"FAILURE\", \"table\": \"article\", \"where\": 76, \"edit_count\": 0}', 'http://v.kgcms.com/admin/article_update?id=76', '0', '174', '{\"user\": \"admin\", \"admin\": \"admin1\"}', '163.179.46.38');
INSERT INTO `kg_log` VALUES ('12', '12', '3', '{\"state\": \"SUCCESS\", \"table\": \"article\", \"where\": 76, \"edit_count\": 1}', 'http://v.kgcms.com/admin/article_update?id=76', '0', '174', '{\"user\": \"admin\", \"admin\": \"admin1\"}', '163.179.46.38');
INSERT INTO `kg_log` VALUES ('13', '12', '3', '{\"state\": \"SUCCESS\", \"table\": \"article\", \"where\": 76, \"edit_count\": 1}', 'http://v.kgcms.com/admin/article_update?id=76', '0', '174', '{\"user\": \"admin\", \"admin\": \"admin1\"}', '163.179.46.38');
INSERT INTO `kg_log` VALUES ('14', '12', '6', '{\"id\": 138, \"state\": \"SUCCESS\", \"loginid\": \"admin\", \"frequency\": 282}', 'http://v.kgcms.com/admin/login', '0', '138', '{\"user\": \"\", \"admin\": \"admin\"}', '163.179.46.95');
INSERT INTO `kg_log` VALUES ('15', '12', '4', '{\"state\": \"SUCCESS\", \"table\": \"admin\", \"where\": 174, \"del_count\": 1}', 'http://v.kgcms.com/admin/admin_manage?del=174', '0', '138', '{\"user\": \"\", \"admin\": \"admin\"}', '163.179.46.95');
INSERT INTO `kg_log` VALUES ('16', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://v.kgcms.com/api/admin_process?action=app_restart&value=start', '0', '138', '{\"user\": \"\", \"admin\": \"admin\"}', '163.179.46.95');
INSERT INTO `kg_log` VALUES ('17', '12', '9', '{\"msg\": \"系统自动执行了每日计划任务\", \"list\": [\"Kgcms Version\", \"Update Notice\"], \"state\": \"SUCCESS\"}', 'http://v.kgcms.com/', '0', '0', '{\"user\": \"\", \"admin\": \"\"}', '47.101.193.98');
INSERT INTO `kg_log` VALUES ('18', '12', '9', '{\"msg\": \"系统自动执行了每日计划任务\", \"list\": [\"Kgcms Version\", \"Update Notice\"], \"state\": \"SUCCESS\"}', 'http://v.kgcms.com/', '0', '0', '{\"user\": \"\", \"admin\": \"\"}', '106.15.201.70');
INSERT INTO `kg_log` VALUES ('19', '12', '9', '{\"msg\": \"系统自动执行了每日计划任务\", \"list\": [\"Kgcms Version\", \"Update Notice\"], \"state\": \"SUCCESS\"}', 'http://localhost:8001/admin/login', '0', '0', '{\"user\": \"\", \"admin\": \"\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('20', '12', '9', '{\"msg\": \"系统自动执行了第 46 周计划任务\", \"list\": [\"Clear Access Data\"], \"state\": \"SUCCESS\"}', 'http://localhost:8001/admin/login', '0', '0', '{\"user\": \"\", \"admin\": \"\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('21', '12', '6', '{\"id\": 138, \"state\": \"SUCCESS\", \"loginid\": \"admin\", \"frequency\": 283}', 'http://localhost:8001/admin/login', '0', '138', '{\"user\": \"\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('22', '12', '9', '{\"msg\": \"系统自动执行了每日计划任务\", \"list\": [\"Kgcms Version\", \"Update Notice\"], \"state\": \"SUCCESS\"}', 'http://localhost:8001/admin/', '0', '138', '{\"user\": \"\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('23', '12', '3', '{\"state\": \"SUCCESS\", \"table\": \"user\", \"where\": 1, \"edit_count\": 1}', 'http://localhost:8001/user/login', '0', '0', '{\"user\": \"\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('24', '12', '11', '{\"id\": 1, \"state\": \"SUCCESS\", \"loginid\": \"admin\", \"frequency\": 80}', 'http://localhost:8001/user/login', '1', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('25', '12', '2', '{\"id\": 2, \"state\": \"SUCCESS\", \"table\": \"download\"}', 'http://localhost:8001/admin/download_update', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('26', '12', '2', '{\"id\": 3, \"state\": \"SUCCESS\", \"table\": \"download\"}', 'http://localhost:8001/admin/download_update', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('27', '12', '3', '{\"state\": \"SUCCESS\", \"table\": \"download\", \"where\": 3, \"edit_count\": 1}', 'http://localhost:8001/admin/download_update?id=3', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('28', '12', '7', '{\"msg\": \"不允许上传该类型的文件: \\\".docx\\\"\", \"state\": \"FAILURE\"}', 'http://localhost:8001/admin/download_update', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('29', '12', '7', '{\"url\": \"/upload/download/file/202011/20201119090258967.png\", \"size\": 0.01, \"type\": \".png\", \"state\": \"SUCCESS\", \"filename\": \"20201119090258967.png\"}', 'http://localhost:8001/admin/download_update', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('30', '12', '2', '{\"id\": 4, \"state\": \"SUCCESS\", \"table\": \"download\"}', 'http://localhost:8001/admin/download_update', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('31', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('32', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('33', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('34', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '0', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('35', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('36', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '0', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('37', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('38', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '0', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('39', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('40', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '0', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('41', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('42', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '0', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('43', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('44', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '0', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('45', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('46', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '0', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('47', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('48', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '0', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('49', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '0', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('50', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '0', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('51', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('52', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '0', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('53', '12', '12', '{\"msg\": \"{\\\\\\\"id\\\\\\\": 2, \\\\\\\"url\\\\\\\": \\\\\\\"http://localhost:8001/download?action=download&download=2\\\\\\\"}\", \"state\": \"SUCCESS\"}', 'http://localhost:8001/download?action=download&download=2', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('54', '12', '3', '{\"state\": \"SUCCESS\", \"table\": \"download\", \"where\": 3, \"edit_count\": 1}', 'http://localhost:8001/admin/download_update?id=3', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('55', '12', '3', '{\"state\": \"SUCCESS\", \"table\": \"download\", \"where\": 4, \"edit_count\": 1}', 'http://localhost:8001/admin/download_update?id=4', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('56', '12', '12', '{\"msg\": \"{\\\\\\\"id\\\\\\\": 4, \\\\\\\"url\\\\\\\": \\\\\\\"http://localhost:8001/download?action=download&mirror=0&download=4\\\\\\\"}\", \"state\": \"SUCCESS\"}', 'http://localhost:8001/download?action=download&mirror=0&download=4', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('57', '12', '12', '{\"msg\": \"{\\\\\\\"id\\\\\\\": 3, \\\\\\\"url\\\\\\\": \\\\\\\"http://localhost:8001/download?action=download&mirror=2&download=3\\\\\\\"}\", \"state\": \"SUCCESS\"}', 'http://localhost:8001/download?action=download&mirror=2&download=3', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('58', '12', '12', '{\"msg\": \"{\\\\\\\"id\\\\\\\": 3, \\\\\\\"url\\\\\\\": \\\\\\\"http://localhost:8001/download?action=download&mirror=1&download=3\\\\\\\"}\", \"state\": \"SUCCESS\"}', 'http://localhost:8001/download?action=download&mirror=1&download=3', '1', '0', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('59', '12', '2', '{\"id\": 151, \"state\": \"SUCCESS\", \"table\": \"category\"}', 'http://localhost:8001/admin/category_update?add=50', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('60', '12', '3', '{\"state\": \"SUCCESS\", \"table\": \"category\", \"where\": 151, \"edit_count\": 1}', 'http://localhost:8001/admin/category_update?cid=151', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('61', '12', '8', '{\"state\": \"SUCCESS\"}', 'http://localhost:8001/api/admin_process?action=app_restart&value=start', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('62', '12', '4', '{\"state\": \"SUCCESS\", \"table\": \"download\", \"where\": \"id in (4,2,3)\", \"del_count\": 3}', 'http://localhost:8001/admin/download_manage', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('63', '12', '4', '{\"state\": \"SUCCESS\", \"table\": \"category\", \"where\": 151, \"del_count\": 1}', 'http://localhost:8001/admin/category_manage?cid=50&action=del&id=151', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('64', '12', '3', '{\"state\": \"FAILURE\", \"table\": \"article\", \"where\": 76, \"edit_count\": 0}', 'http://localhost:8001/admin/article_update?id=76', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('65', '12', '3', '{\"state\": \"SUCCESS\", \"table\": \"article\", \"where\": 76, \"edit_count\": 1}', 'http://localhost:8001/admin/article_update?id=76', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');
INSERT INTO `kg_log` VALUES ('66', '12', '3', '{\"state\": \"SUCCESS\", \"table\": \"article\", \"where\": 76, \"edit_count\": 1}', 'http://localhost:8001/admin/article_update?id=76', '0', '138', '{\"user\": \"admin\", \"admin\": \"admin\"}', '127.0.0.1');

-- ----------------------------
-- Table structure for kg_material
-- ----------------------------
DROP TABLE IF EXISTS `kg_material`;
CREATE TABLE `kg_material` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id主键',
  `name` varchar(255) NOT NULL COMMENT '素材名称',
  `type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '素材类型，0单图、1多图、2文本',
  `title` json NOT NULL COMMENT '图片标题',
  `picture` json NOT NULL COMMENT '图片路径',
  `key2url` json NOT NULL COMMENT '图片url',
  `introduction` text NOT NULL COMMENT '介绍',
  `pushtime` int(10) unsigned NOT NULL COMMENT '发布时间',
  `addtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='本地素材表';

-- ----------------------------
-- Records of kg_material
-- ----------------------------
INSERT INTO `kg_material` VALUES ('1', '新用户关注推送消息', '0', '[]', '[]', '[]');

-- ----------------------------
-- Table structure for kg_message
-- ----------------------------
DROP TABLE IF EXISTS `kg_message`;
CREATE TABLE `kg_message` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `openid` varchar(32) NOT NULL,
  `type` tinyint(2) unsigned NOT NULL DEFAULT '0' COMMENT '0用户事件及系统日志 1文本消息 2图片消息 3语音消息 4视频消息 5位置信息 6链接消息 7现场签到记录(成功) 8现场签到记录(失败) 9现场抽奖中奖记录 10对对碰中奖记录 11摇一摇中奖记录 12竞拍记录 99被动素材回复 98被动文本回复',
  `content` text NOT NULL,
  `recom` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `audit` tinyint(1) unsigned NOT NULL DEFAULT '0',
  `appid` varchar(225) NOT NULL,
  `actid` int(11) NOT NULL,
  `addtime` int(10) unsigned NOT NULL DEFAULT '0',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=319 DEFAULT CHARSET=utf8 COMMENT='微信消息表';

-- ----------------------------
-- Records of kg_message
-- ----------------------------
INSERT INTO `kg_message` VALUES ('50', 'orAV_1jh1A8Uac6P33MX_kyy1reg', '98', '欢迎关注广东凯格公众号', '0', '0', 'wx1d514e1f85c33819', '0', '1585013123');
INSERT INTO `kg_message` VALUES ('72', 'orAV_1vQBa851NjQGWiYplUBjiw0', '98', '感谢关注凯格科技', '0', '0', 'wx1d514e1f85c33819', '0', '1585646598');
INSERT INTO `kg_message` VALUES ('73', 'orAV_1jl4TXiJrrvhisNTANqi5F4', '98', '感谢关注凯格科技', '0', '0', 'wx1d514e1f85c33819', '0', '1585646801');
INSERT INTO `kg_message` VALUES ('74', 'orAV_1ke2RF3qDL55eLsZEdO8QD4', '98', '感谢关注凯格科技', '0', '0', 'wx1d514e1f85c33819', '0', '1585651534');
INSERT INTO `kg_message` VALUES ('75', 'orAV_1o-9tyqNGkxw3K7MQx8Tf-8', '98', '感谢关注凯格科技', '0', '0', 'wx1d514e1f85c33819', '0', '1585652772');
INSERT INTO `kg_message` VALUES ('210', 'orAV_1vQBa851NjQGWiYplUBjiw0', '98', 'hahahha', '0', '0', 'wx1d514e1f85c33819', '0', '1594627196');
INSERT INTO `kg_message` VALUES ('211', 'orAV_1jl4TXiJrrvhisNTANqi5F4', '99', '自动本地素材推送，素材ID：5', '0', '0', 'wx1d514e1f85c33819', '0', '1594632780');
INSERT INTO `kg_message` VALUES ('212', 'orAV_1jl4TXiJrrvhisNTANqi5F4', '98', 'hahahha', '0', '0', 'wx1d514e1f85c33819', '0', '1594632788');
INSERT INTO `kg_message` VALUES ('315', 'orAV_1nzwrMslLp7TAJC-sivr05I', '0', '关注公众号', '0', '0', 'wx1d514e1f85c33819', '0', '1595982223');
INSERT INTO `kg_message` VALUES ('316', 'orAV_1nzwrMslLp7TAJC-sivr05I', '99', '自动本地素材推送，素材ID：1', '0', '0', 'wx1d514e1f85c33819', '0', '1595982223');
INSERT INTO `kg_message` VALUES ('317', 'orAV_1rD8rD-5RnedGOfWNNHtMfY', '99', '自动本地素材推送，素材ID：1', '0', '0', 'wx1d514e1f85c33819', '0', '1598078373');
INSERT INTO `kg_message` VALUES ('318', 'orAV_1oIye2VTdQywWpvXYqs7WZE', '99', '自动本地素材推送，素材ID：5', '0', '0', 'wx1d514e1f85c33819', '0', '1598078764');

-- ----------------------------
-- Table structure for kg_navigation
-- ----------------------------
DROP TABLE IF EXISTS `kg_navigation`;
CREATE TABLE `kg_navigation` (
  `id` int(10) NOT NULL AUTO_INCREMENT,
  `webid` int(10) unsigned NOT NULL COMMENT '访问的应用ID',
  `aid` varchar(8) NOT NULL COMMENT '识别码',
  `logo` varchar(255) DEFAULT NULL COMMENT '系统导航图标',
  `title` varchar(255) NOT NULL COMMENT '导航条标题',
  `sort` int(10) unsigned NOT NULL COMMENT '排序',
  `addtime` int(10) NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=50 DEFAULT CHARSET=utf8 COMMENT='系统导航表';

-- ----------------------------
-- Records of kg_navigation
-- ----------------------------
INSERT INTO `kg_navigation` VALUES ('12', '12', 'Product', '/upload/system/navigation/logo_12.png', '产品', '1', '1575512947');
INSERT INTO `kg_navigation` VALUES ('13', '12', 'Service', '/upload/system/navigation/logo_13.png', '服务', '2', '1575513246');
INSERT INTO `kg_navigation` VALUES ('14', '12', 'Navdown', '/upload/system/navigation/logo_14.png', '下载', '3', '1575513369');
INSERT INTO `kg_navigation` VALUES ('15', '12', 'Document', '/upload/system/navigation/logo_15.png', '文档', '4', '1575513536');
INSERT INTO `kg_navigation` VALUES ('16', '12', 'About', '/upload/system/navigation/logo_16.png', '关于 MYSQL', '5', '1575513691');
INSERT INTO `kg_navigation` VALUES ('17', '12', 'Customer', '/upload/system/navigation/logo_17.png', '我们的部分客户', '6', '1575515384');
INSERT INTO `kg_navigation` VALUES ('24', '12', 'ProIntr0', null, '首页KGCMS产品简介', '7', '1577150739');
INSERT INTO `kg_navigation` VALUES ('26', '12', 'Download', null, 'KGCMS 最新版下载', '8', '1577155390');
INSERT INTO `kg_navigation` VALUES ('27', '12', 'TopNav2', null, '首页顶部二级导航', '9', '1577326410');
INSERT INTO `kg_navigation` VALUES ('28', '12', 'BotPhone', null, '首页底部联系电话', '100', '1578531411');
INSERT INTO `kg_navigation` VALUES ('29', '28', 'TopNav2', null, 'Home top secondary navigation', '1', '1583135431');
INSERT INTO `kg_navigation` VALUES ('30', '28', 'ProIntr0', null, 'KGCMS Product Introduction', '2', '1583135759');
INSERT INTO `kg_navigation` VALUES ('31', '28', 'Download', null, 'KGCMS latest version download', '3', '1583136809');
INSERT INTO `kg_navigation` VALUES ('32', '28', 'Customer', '/upload/system/navigation/logo_32.png', 'Some of our customers', '4', '1583137184');
INSERT INTO `kg_navigation` VALUES ('33', '28', 'BotPhone', null, 'Contact phone at the bottom', '5', '1583138126');
INSERT INTO `kg_navigation` VALUES ('34', '28', 'Product', null, 'Products', '6', '1583139567');
INSERT INTO `kg_navigation` VALUES ('35', '28', 'Service', '/upload/system/navigation/logo_35.png', 'Service', '7', '1575513246');
INSERT INTO `kg_navigation` VALUES ('36', '28', 'Navdown', '/upload/system/navigation/logo_36.png', 'Download', '8', '1575513369');
INSERT INTO `kg_navigation` VALUES ('37', '28', 'Document', '/upload/system/navigation/logo_37.png', 'Documentation', '9', '1575513536');
INSERT INTO `kg_navigation` VALUES ('38', '28', 'About', '/upload/system/navigation/logo_38.png', 'About KGCMS', '10', '1575513691');
INSERT INTO `kg_navigation` VALUES ('39', '30', 'Product', '/upload/system/navigation/logo_12.png', '製品', '1', '1575512947');
INSERT INTO `kg_navigation` VALUES ('40', '30', 'Service', '/upload/system/navigation/logo_13.png', 'サービス', '2', '1575513246');
INSERT INTO `kg_navigation` VALUES ('41', '30', 'Navdown', '/upload/system/navigation/logo_14.png', 'ダウンロードする', '3', '1575513369');
INSERT INTO `kg_navigation` VALUES ('42', '30', 'Document', '/upload/system/navigation/logo_15.png', 'ドキュメンテーション', '4', '1575513536');
INSERT INTO `kg_navigation` VALUES ('43', '30', 'About', '/upload/system/navigation/logo_16.png', 'MYSQLについて', '5', '1575513691');
INSERT INTO `kg_navigation` VALUES ('44', '30', 'Customer', '/upload/system/navigation/logo_17.png', '一部のお客様', '6', '1575515384');
INSERT INTO `kg_navigation` VALUES ('45', '30', 'ProIntr0', null, 'ホームKGCMS製品紹介', '7', '1577150739');
INSERT INTO `kg_navigation` VALUES ('46', '30', 'Download', null, 'KGCMS最新バージョンのダウンロード', '8', '1577155390');
INSERT INTO `kg_navigation` VALUES ('47', '30', 'TopNav2', null, 'ホームトップセカンダリナビゲーション', '9', '1577326410');
INSERT INTO `kg_navigation` VALUES ('48', '30', 'BotPhone', null, 'ホームページの下部にある連絡先電話', '100', '1578531411');

-- ----------------------------
-- Table structure for kg_order
-- ----------------------------
DROP TABLE IF EXISTS `kg_order`;
CREATE TABLE `kg_order` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `webid` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '与web表的webid关联，指明网站语言，0不区分站点',
  `type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '订单类型(0普通商城订单 1微信营销领奖)',
  `oid` varchar(20) NOT NULL COMMENT '订单号:由2位字母 + date(YmdHis) + 3位随机数，如：XD20110212121052123，两位字母：BP浏览权限购买、NR在线充值、AR管理员手动充值、CS消费购买、ES订单提交、TE其它交易，mle_order表可能只会用到ES',
  `uid` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '会员ID，0为匿名用户(暂不支持匿名订购)',
  `pid` json NOT NULL COMMENT '商品(产品)ID号，多个商品用逗号隔开',
  `number` json NOT NULL COMMENT '订购数量，与商品ID相对应，多个商品用逗号隔开 ',
  `price` json NOT NULL COMMENT '商品单价，与商品ID相对应，多个商品用逗号隔开',
  `amount` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '订单应付金额，含运费和保价费用并计算会员组折扣',
  `attribute` json NOT NULL COMMENT '商品规格',
  `status` tinyint(1) NOT NULL DEFAULT '0' COMMENT '订单状态（0等待付款、1已支付，等待发货、2订单已确认，配货中、3已发货，等待用户签收、4已签收，交易完毕、-1要求退货、-2拒绝退货，前台交易完毕、-3退货完毕，订单结束)，-4订单取消',
  `dispatching` int(6) unsigned NOT NULL DEFAULT '0' COMMENT '配送方式ID(kg_shipping表关联ID)',
  `address` int(11) unsigned NOT NULL COMMENT '收货地址id',
  `waybill` varchar(100) NOT NULL COMMENT '运单号，配送公司单号',
  `freight` decimal(8,2) NOT NULL DEFAULT '0.00' COMMENT '手续费，含保价费',
  `customer` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '手续费是否到付(0否、1是)',
  `vouch` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '配送是否需要保价(0否、1是)',
  `payment` tinyint(3) unsigned NOT NULL COMMENT '1账户余额支付，2微信支付，3支付宝支付',
  `message` varchar(255) NOT NULL COMMENT '客户给商家的留言',
  `reply` varchar(255) NOT NULL COMMENT '商家给客户的留言或回复留言',
  `addtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '订单提交时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=161 DEFAULT CHARSET=utf8 COMMENT='订单';

-- ----------------------------
-- Records of kg_order
-- ----------------------------
INSERT INTO `kg_order` VALUES ('159', '12', '0', 'NR20201110083221599', '1', '[0]', '[1]', '[1]', '1.00', '[]', '0', '0', '0', '', '0.00', '0', '0');
INSERT INTO `kg_order` VALUES ('160', '12', '0', 'NR20201110083225122', '1', '[0]', '[1]', '[1]', '1.00', '[]', '0', '0', '0', '', '0.00', '0', '0');

-- ----------------------------
-- Table structure for kg_picture
-- ----------------------------
DROP TABLE IF EXISTS `kg_picture`;
CREATE TABLE `kg_picture` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `webid` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '与web表的webid关联，指明网站语言，0不区分站点',
  `category` json NOT NULL COMMENT '所属栏目路径，以逗号隔开并以逗号开始和结尾',
  `title` varchar(255) NOT NULL COMMENT '完整标题，文章内容及栏目列表页使用，必须填写',
  `aid` varchar(30) NOT NULL COMMENT '图片位调用识别码，由英文或数字组成，且必须以字母开头，可以重复',
  `tag` varchar(100) NOT NULL COMMENT 'Tag标签',
  `author` varchar(50) NOT NULL COMMENT '摄影者',
  `source` varchar(50) NOT NULL COMMENT '来源',
  `sourceurl` varchar(50) NOT NULL COMMENT '来源网址',
  `keyword` varchar(100) NOT NULL COMMENT 'SEO关键字，搜索关键字，不填写将采用tag标签',
  `content` mediumtext NOT NULL COMMENT '详细内容',
  `template` varchar(50) NOT NULL COMMENT '指定模板，一般不选择，不选择将使用栏目里定义的内页模板，否则对单页面进行模板定义',
  `comment` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否允许评论(0不允许，1允许)',
  `commenttotal` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '评论人数，自动更新，提交评论时更新统计',
  `agree` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '顶帖总数，顶帖总数 + 评论人数 = 参与人数',
  `thumbnail` varchar(255) NOT NULL COMMENT '缩略图',
  `picture` json NOT NULL COMMENT '图片',
  `summary` json NOT NULL COMMENT '图片描述，与图片相对应，用全局变量STRING_DELIMITED隔开',
  `description` text NOT NULL COMMENT '图集简介',
  `pictime` json NOT NULL COMMENT '图片添加时间、与图片对应',
  `link` json NOT NULL COMMENT '链接、与图片对应',
  `recom` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否推荐(0不推荐，1推荐)',
  `audit` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '审核(0未通过，1通过审核)',
  `published` tinyint(1) NOT NULL COMMENT '是否发布，0草稿，1发布',
  `recycle` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '回收站(0正常，1回收站)',
  `click` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '浏览次数',
  `authority` json NOT NULL COMMENT '允许访问的用户等级id',
  `sort` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '排序',
  `publisher` varchar(20) NOT NULL COMMENT '发布者',
  `pushtime` int(10) NOT NULL COMMENT '发布时间',
  `addtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 COMMENT='图片集';

-- ----------------------------
-- Records of kg_picture
-- ----------------------------
INSERT INTO `kg_picture` VALUES ('2', '12', '[49]', '测试', '', '中式古典,传世家具,禅意', '', '', '', '', '', '', '1', '0', '0', '/upload/photo/201103084715.png', '[\"/upload/photo/201103084735.png\", \"/upload/photo/201103084754.png\", \"/upload/photo/201103084806.png\"]', '[\"\", \"\", \"\"]', '', '[1604364454, 1604364474, 1604364485]', '[\"\", \"\", \"\"]', '0', '1', '1', '1');
INSERT INTO `kg_picture` VALUES ('3', '12', '[49]', '测试', '', '', '', '', '', '', '', '', '1', '0', '0', '', '[]', '[]', '', '[]', '[]', '0', '1', '1', '1');
INSERT INTO `kg_picture` VALUES ('4', '12', '[49]', '测试', '', '', '', '', '', '测试', '', '', '1', '0', '0', '', '[\"/upload/photo/product_4_0.png\"]', '[\"\"]', '', '[1604565271]', '[\"\"]', '0', '1', '1', '1');

-- ----------------------------
-- Table structure for kg_product
-- ----------------------------
DROP TABLE IF EXISTS `kg_product`;
CREATE TABLE `kg_product` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `webid` tinyint(3) unsigned NOT NULL COMMENT '与web表的webid关联，指明网站语言，0不区分站点',
  `category` json NOT NULL COMMENT '所属栏目路径，JSON数据格式',
  `title` varchar(255) NOT NULL COMMENT '完整标题，文章内容及栏目列表页使用，必须填写',
  `virtual` tinyint(1) unsigned NOT NULL COMMENT '是否为虚拟商品(0实物商品、1虚拟商品)',
  `model` varchar(50) NOT NULL COMMENT '商品型号',
  `market` decimal(8,2) unsigned NOT NULL COMMENT '市场价',
  `units` varchar(20) NOT NULL COMMENT '计量单位',
  `sales` int(12) unsigned NOT NULL COMMENT '已销售数量',
  `tag` varchar(100) NOT NULL COMMENT 'Tag标签',
  `keyword` varchar(100) NOT NULL COMMENT 'SEO关键字，搜索关键字，不填写将采用tag标签',
  `introduction` text NOT NULL COMMENT '内容摘要',
  `description` text NOT NULL COMMENT 'SEO页面描述',
  `picture` json NOT NULL COMMENT '图片/JSON List数据',
  `thumbnail` varchar(255) NOT NULL COMMENT '缩略图',
  `content` mediumtext NOT NULL COMMENT '详细内容',
  `brand` varchar(50) NOT NULL COMMENT '品牌',
  `coding` varchar(50) NOT NULL COMMENT '商品编码',
  `speci` json NOT NULL COMMENT '商品规格，与规格表对应',
  `inventory` json NOT NULL COMMENT '库存',
  `price` json NOT NULL COMMENT '价格',
  `specipic` json NOT NULL COMMENT '规格图',
  `template` varchar(50) NOT NULL COMMENT '指定模板，一般不选择，不选择将使用栏目里定义的内页模板，否则对单页面进行模板定义',
  `comment` tinyint(1) unsigned NOT NULL COMMENT '是否允许评论(0不允许，1允许)',
  `commenttotal` int(10) unsigned NOT NULL COMMENT '评论人数，自动更新，提交评论时更新统计',
  `agree` int(10) unsigned NOT NULL COMMENT '顶帖总数，顶帖总数 + 评论人数 = 参与人数',
  `recom` tinyint(1) unsigned NOT NULL COMMENT '是否推荐(0不推荐，1推荐)',
  `published` tinyint(1) unsigned NOT NULL COMMENT '是否发布(0草稿，1发布)',
  `status` tinyint(1) unsigned NOT NULL COMMENT '销售状态(0停止销售，1销售中)',
  `audit` tinyint(1) unsigned NOT NULL COMMENT '审核(0未通过，1通过审核)',
  `recycle` tinyint(1) unsigned NOT NULL COMMENT '回收站(0正常，1回收站)',
  `click` int(10) unsigned NOT NULL COMMENT '浏览次数',
  `authority` json NOT NULL COMMENT '允许访问的用户等级id',
  `favorite` int(10) unsigned NOT NULL COMMENT '收藏人数',
  `sort` int(10) unsigned NOT NULL COMMENT '排序',
  `filename` varchar(255) NOT NULL COMMENT '自定义文件名',
  `publisher` varchar(20) NOT NULL COMMENT '发布者',
  `pushtime` int(10) unsigned NOT NULL COMMENT '发布时间',
  `addtime` int(10) unsigned NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=26 DEFAULT CHARSET=utf8 COMMENT='商品';

-- ----------------------------
-- Records of kg_product
-- ----------------------------
INSERT INTO `kg_product` VALUES ('24', '12', '[48, 57]', '电灯泡', '0', '1', '125.00', '个', '2', '明星', '关键字', '页面描述', '页面描述', '[\"/upload/product/product_24_0.jpg\"]', '/upload/product/200723134227.jpg', '<p>详细内容哈哈哈哈哈哈哈哈哈哈或或或或或或或</p>', '欧普', 'sp001', '[[[0, 0], [1, 0], [2, 0]], [[0, 1], [1, 1], [2, 1]]]', '[3, 12]', '[1233, 1233]', '[\"/upload/product/200723134121.png\", \"/upload/product/200723134141.jpg\"]', '制定模板', '1', '0', '2', '0', '1', '1', '1', '0', '962');

-- ----------------------------
-- Table structure for kg_questionnaire
-- ----------------------------
DROP TABLE IF EXISTS `kg_questionnaire`;
CREATE TABLE `kg_questionnaire` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id主键',
  `kgid` int(10) unsigned NOT NULL COMMENT '凯格id',
  `webid` int(10) NOT NULL COMMENT '所属应用',
  `category` json NOT NULL COMMENT '所属栏目',
  `authority` json NOT NULL COMMENT '权限',
  `title` varchar(50) NOT NULL COMMENT '标题',
  `description` varchar(255) NOT NULL COMMENT '简要概述',
  `normal_end` varchar(255) NOT NULL COMMENT '正常结束提示',
  `early_closure` varchar(255) NOT NULL COMMENT '提前结束提示',
  `multiple_pages` tinyint(1) unsigned NOT NULL COMMENT '一个问题一页(0关闭，1开启)',
  `wx_limit_time` tinyint(2) unsigned NOT NULL COMMENT '0只能、1每小时、2每天、3每自然周、4每7天、5每自然月、6每30天、7每季度、8每90天、9每自然年、10每365天',
  `wx_frequency` int(5) unsigned NOT NULL COMMENT '每个微信答题次数限制',
  `device_limit_time` int(2) unsigned NOT NULL COMMENT '0只能、1每小时、2每天、3每自然周、4每7天、5每自然月、6每30天、7每季度、8每90天、9每自然年、10每365天',
  `device_frequency` int(5) unsigned NOT NULL COMMENT '每台电脑或手机答题次数限制',
  `ip_limit_time` int(2) unsigned NOT NULL COMMENT '0只能、1每小时、2每天、3每自然周、4每7天、5每自然月、6每30天、7每季度、8每90天、9每自然年、10每365天',
  `ip_frequency` int(5) unsigned NOT NULL COMMENT '每个IP答题次数限制',
  `password` varchar(32) NOT NULL COMMENT '启动访问密码(为空时无效，其他为密码)',
  `limited_phone` json NOT NULL COMMENT '限定手机号答题(json)',
  `limited_email` json NOT NULL COMMENT '只有邮箱邀请的受访者可以回答',
  `limited_time` tinyint(1) unsigned NOT NULL COMMENT '时间限制(0不限制，1开启限制)',
  `start` int(10) unsigned NOT NULL COMMENT '开始时间',
  `end` int(10) unsigned NOT NULL COMMENT '结束时间',
  `only_wx` tinyint(1) unsigned NOT NULL COMMENT '只能通过微信回答(0关闭，1开启)',
  `record_info` tinyint(1) unsigned NOT NULL COMMENT '记录微信用户个人信息(0关闭，1开启)',
  `enforce` tinyint(1) unsigned NOT NULL COMMENT '强制收集(0关闭，1开启)',
  `only_fans` tinyint(1) unsigned NOT NULL COMMENT '必须关注才能回答',
  `icon` varchar(255) NOT NULL COMMENT '图标',
  `wx_share` tinyint(1) unsigned NOT NULL COMMENT '微信右上角分享(0关闭，1启用)',
  `wx_remind` tinyint(1) unsigned NOT NULL COMMENT '微信提醒(0关闭，1启用)',
  `openid` varchar(32) NOT NULL COMMENT '提醒的openid',
  `audit` tinyint(1) unsigned NOT NULL COMMENT '审核(0未审核，1通过审核)',
  `published` tinyint(1) unsigned NOT NULL COMMENT '发布(0未发布，1发布收集中)',
  `recycle` tinyint(1) unsigned NOT NULL COMMENT '回收站(0正常，1回收站)',
  `update_time` int(10) unsigned NOT NULL COMMENT '最近一次更新时间',
  `addtime` int(10) unsigned NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='问卷表';

-- ----------------------------
-- Records of kg_questionnaire
-- ----------------------------

-- ----------------------------
-- Table structure for kg_question_result
-- ----------------------------
DROP TABLE IF EXISTS `kg_question_result`;
CREATE TABLE `kg_question_result` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id主键',
  `webid` tinyint(3) unsigned NOT NULL COMMENT 'web表id',
  `questionid` int(10) unsigned NOT NULL COMMENT '问卷表id',
  `state` int(10) unsigned NOT NULL COMMENT '答案状态0正常1缓存',
  `kgid` int(11) unsigned NOT NULL COMMENT '凯格id,kg_user表id',
  `fansid` int(11) unsigned NOT NULL COMMENT '粉丝id, wx_fans表id',
  `ip` varchar(15) NOT NULL COMMENT '用户ip',
  `topicid` int(10) unsigned NOT NULL COMMENT '问题表id',
  `type` tinyint(2) unsigned NOT NULL COMMENT '问题类型0123456',
  `answer` text NOT NULL COMMENT '问题答案',
  `other` text NOT NULL COMMENT '该题用户填写了其他',
  `addtime` int(11) unsigned NOT NULL COMMENT '问卷完成时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='问卷调查结果表';

-- ----------------------------
-- Records of kg_question_result
-- ----------------------------

-- ----------------------------
-- Table structure for kg_rank
-- ----------------------------
DROP TABLE IF EXISTS `kg_rank`;
CREATE TABLE `kg_rank` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键(必须有一个id为1的级别为系统组)',
  `webid` int(10) unsigned NOT NULL COMMENT 'webid对应web表',
  `rankname` varchar(100) NOT NULL COMMENT '等级名称',
  `discount` float unsigned NOT NULL DEFAULT '1' COMMENT '商品折扣，购买商品时的优惠折扣(8.5折=85%)，0~1的小数',
  `scores` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '升级所需积分',
  `money` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '升级所需金钱',
  `auto` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '自动提升等级，当用户的积分和金钱数达到等级所需的默认值时自动提升会员等级(0否，1是)',
  `enable` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否启用(0不启用，1启用)',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=7 DEFAULT CHARSET=utf8 COMMENT='会员等级';

-- ----------------------------
-- Records of kg_rank
-- ----------------------------
INSERT INTO `kg_rank` VALUES ('1', '12', '注册会员', '1', '5', '23.00', '0', '1');
INSERT INTO `kg_rank` VALUES ('2', '12', '中级会员', '0.95', '5', '24.00', '0', '1');
INSERT INTO `kg_rank` VALUES ('3', '12', '高级会员', '0.9', '4', '3.00', '1', '1');
INSERT INTO `kg_rank` VALUES ('4', '12', 'VIP会员', '0.8', '3', '4.00', '1', '1');
INSERT INTO `kg_rank` VALUES ('5', '12', '代理商', '0.7', '3', '4.00', '1', '1');

-- ----------------------------
-- Table structure for kg_role
-- ----------------------------
DROP TABLE IF EXISTS `kg_role`;
CREATE TABLE `kg_role` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
  `webid` int(10) unsigned NOT NULL COMMENT '访问的应用ID',
  `name` varchar(100) NOT NULL COMMENT '角色名称',
  `type` tinyint(2) unsigned NOT NULL COMMENT '角色类型：0自定义角色/99超级管理员/其它为系统角色',
  `permission` json NOT NULL COMMENT '权限模块',
  `description` varchar(255) NOT NULL COMMENT '角色描述',
  `addtime` int(10) unsigned NOT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='系统管理角色';

-- ----------------------------
-- Records of kg_role
-- ----------------------------
INSERT INTO `kg_role` VALUES ('1', '12', '超级管理员', '99', '{}', '管理系统');

-- ----------------------------
-- Table structure for kg_session
-- ----------------------------
DROP TABLE IF EXISTS `kg_session`;
CREATE TABLE `kg_session` (
  `id` char(32) NOT NULL COMMENT 'SESSION ID',
  `data` json NOT NULL COMMENT 'JSON数据',
  `addtime` int(10) unsigned NOT NULL COMMENT '创建时间',
  `accesstime` int(10) unsigned NOT NULL COMMENT '最后访问时间',
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='session表';

-- ----------------------------
-- Records of kg_session
-- ----------------------------
INSERT INTO `kg_session` VALUES ('TxPCp1VmvywAQdLdTVaM12JAzKRHtoXb', '{\"KGCMS_USER_ID\": 1, \"KGCMS_ADMIN_ID\": 138, \"KGCMS_USER_FREQUECY\": 80, \"KGCMS_USER_LOGIN_ID\": \"admin\", \"KGCMS_ADMIM_FREQUECY\": 283, \"KGCMS_ADMIN_LOGIN_ID\": \"admin\"}', '1605692388');

-- ----------------------------
-- Table structure for kg_shipping
-- ----------------------------
DROP TABLE IF EXISTS `kg_shipping`;
CREATE TABLE `kg_shipping` (
  `id` int(6) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `webid` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '与web表的webid关联，指明网站语言，0不区分站点',
  `title` varchar(100) NOT NULL COMMENT '配送方式名称',
  `freight` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '纯手续费(运费)，全国统一，暂不分地区',
  `topay` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '运费到付支持(0不支持，购买时计算手续费、1支持，由收件人支付手续费)',
  `insure` float unsigned NOT NULL DEFAULT '0' COMMENT '保价费比例，一个小数，值为0时不支持保价担保，(注：物品总金额 * 保价费比例 = 保价费)',
  `description` varchar(255) NOT NULL COMMENT '简要描述',
  `enable` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否启用(0不启用、1启用)',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=22 DEFAULT CHARSET=utf8 COMMENT='物流配送方式及运费';

-- ----------------------------
-- Records of kg_shipping
-- ----------------------------
INSERT INTO `kg_shipping` VALUES ('4', '12', 'EMS', '15.00', '0', '0.7', '中国邮政', '1');

-- ----------------------------
-- Table structure for kg_survey_question
-- ----------------------------
DROP TABLE IF EXISTS `kg_survey_question`;
CREATE TABLE `kg_survey_question` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id主键',
  `ques_id` int(10) unsigned NOT NULL COMMENT '所属问卷id',
  `title` varchar(50) NOT NULL COMMENT '总标题',
  `type` tinyint(2) unsigned NOT NULL COMMENT '题目类型,0单选，1多选，2填空题，3多项填空题，4矩阵填空题，5矩阵单选项题，6矩阵多选项题,7图片选择,8图片投票',
  `topic` json NOT NULL COMMENT '题目设置',
  `options` json NOT NULL COMMENT '题目选项',
  `jump_logic` json NOT NULL COMMENT '跳转逻辑',
  `show_logic` json NOT NULL COMMENT '显示逻辑',
  `sort` int(5) unsigned NOT NULL COMMENT '题目序号',
  `addtime` int(10) unsigned NOT NULL COMMENT '添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='问卷调查问题表';

-- ----------------------------
-- Records of kg_survey_question
-- ----------------------------

-- ----------------------------
-- Table structure for kg_tag
-- ----------------------------
DROP TABLE IF EXISTS `kg_tag`;
CREATE TABLE `kg_tag` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `webid` tinyint(3) unsigned NOT NULL DEFAULT '1' COMMENT '与web表的webid关联，指明网站语言，0不区分站点',
  `title` varchar(100) NOT NULL COMMENT 'TAG名称',
  `module` varchar(6) NOT NULL COMMENT '所属模块，模块识别码',
  `click` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '点击次数',
  `total` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '标签使用总数',
  `firsttime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '首次创建TAG的时间',
  `lasttime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '最后一次添加时间',
  PRIMARY KEY (`id`),
  UNIQUE KEY `admin_update` (`webid`,`title`,`module`)
) ENGINE=InnoDB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8 COMMENT='TAG标签';

-- ----------------------------
-- Records of kg_tag
-- ----------------------------
INSERT INTO `kg_tag` VALUES ('1', '1', '', '', '0', '0', '0', '0');
INSERT INTO `kg_tag` VALUES ('2', '1', '12', '', '0', '0', '0', '0');
INSERT INTO `kg_tag` VALUES ('3', '1', '13', '', '0', '0', '0', '0');

-- ----------------------------
-- Table structure for kg_transaction
-- ----------------------------
DROP TABLE IF EXISTS `kg_transaction`;
CREATE TABLE `kg_transaction` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `oid` varchar(20) NOT NULL COMMENT '订单号，由2位字母 + date(YmdHis) + 3位随机数，如：XD20110212121052123，两位字母：BP浏览权限购买、NR在线充值、AR管理员手动充值、CS消费购买、ES订单提交或修改、TE其它交易、LG操作日志',
  `uid` int(10) unsigned NOT NULL COMMENT '会员关联id号',
  `type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '交易类型(1会员在线充值,2后台手动充值[银行转账],3购买商品[消费支付],4提交、删除或修改订单,5购买浏览权限,6操作日志)',
  `amount` decimal(8,2) NOT NULL DEFAULT '0.00' COMMENT '交易金额',
  `result` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '事件结果、状态(0交易失败[异常],1成功交易)',
  `info` varchar(255) NOT NULL COMMENT '交易信息，针对交易类型的补充说明文字(失败原因、交易内容等信息,如：通过中国网银在线充值 或 购买vip会员服务等)',
  `ip` varchar(15) NOT NULL COMMENT '操作者ip',
  `addtime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '记录时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='交易日志';

-- ----------------------------
-- Records of kg_transaction
-- ----------------------------

-- ----------------------------
-- Table structure for kg_user
-- ----------------------------
DROP TABLE IF EXISTS `kg_user`;
CREATE TABLE `kg_user` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `username` varchar(20) NOT NULL COMMENT '登录用户名(不得有@符号，否则会影响使用E-mail登录，大于4个字符)',
  `password` varchar(32) NOT NULL COMMENT '登录密码(为md5(md5(用户密码).md5(encryption字段值)))',
  `encryption` varchar(8) NOT NULL COMMENT '随机的密码加密字符',
  `type` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '会员类型(0个人会员，1企业会员)',
  `openid` varchar(28) NOT NULL COMMENT '微信OPENID',
  `email` varchar(50) NOT NULL COMMENT '注册邮箱(唯一且必须填写，可作为登录帐号)',
  `qq` varchar(15) NOT NULL COMMENT '腾讯QQ号',
  `sex` tinyint(1) unsigned NOT NULL DEFAULT '2' COMMENT '性别(0女，1男，2保密)',
  `nickname` varchar(20) NOT NULL COMMENT '昵称',
  `image` varchar(255) CHARACTER SET armscii8 NOT NULL COMMENT '头像',
  `money` decimal(8,2) NOT NULL DEFAULT '0.00' COMMENT '帐户金额(允许负充值)',
  `usemoney` decimal(8,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '已消费金额',
  `scores` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '积分',
  `level` json NOT NULL COMMENT '会员等级id',
  `problem` varchar(255) NOT NULL COMMENT '密保问题',
  `answer` varchar(255) NOT NULL COMMENT '密保答案',
  `companyname` varchar(255) NOT NULL COMMENT '公司名称',
  `companyweb` varchar(100) NOT NULL COMMENT '公司网址',
  `companyaddress` varchar(255) NOT NULL COMMENT '公司地址',
  `phone` varchar(20) NOT NULL COMMENT '电话',
  `fax` varchar(20) NOT NULL COMMENT '传真',
  `frequency` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '登录次数',
  `jointime` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '注册时间',
  `joinip` varchar(15) NOT NULL COMMENT '注册IP',
  `joinaddress` varchar(100) NOT NULL COMMENT '注册ip地址位置',
  `audit` tinyint(1) unsigned NOT NULL DEFAULT '2' COMMENT '帐号验证状态(0已通过验证、可登录，1等待用户邮件验证，2等待管理员手工验证审核)',
  `effective` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '帐号状态(0禁止登录，1允许登录)',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='注册会员';

-- ----------------------------
-- Records of kg_user
-- ----------------------------
INSERT INTO `kg_user` VALUES ('1', 'admin', 'fbe1b010e7fc073619d360f87808a03b', 'yLEwuznr', '0', '', '', '110', '0', 'admin', '', '0.00', '0.00', '40', '[1]', '', '', '', '', '', '13000000000', '', '80', '1576655345', '127.0.0.1', '', '0');

-- ----------------------------
-- Table structure for kg_vote_candidate
-- ----------------------------
DROP TABLE IF EXISTS `kg_vote_candidate`;
CREATE TABLE `kg_vote_candidate` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `publisher` int(10) unsigned NOT NULL COMMENT '发布者,会员中心用户发布后,记录用户id',
  `title` varchar(50) NOT NULL COMMENT '主题名称',
  `image` json NOT NULL COMMENT '主题宣传图地址',
  `digest` text NOT NULL COMMENT '主题简短介绍',
  `traffic` int(10) unsigned NOT NULL COMMENT '主题访问量',
  `starttime` int(10) unsigned NOT NULL COMMENT '发起时间',
  `stoptime` int(10) unsigned NOT NULL COMMENT '结束时间',
  `queue` json NOT NULL COMMENT '选手编号',
  `url` json NOT NULL COMMENT '图片外链标识',
  `candtitle` json NOT NULL COMMENT '候选信息标题',
  `candtitles` json NOT NULL COMMENT '副标题',
  `canddigest` json NOT NULL COMMENT '候选项详情',
  `locking` json NOT NULL COMMENT '0为锁定,1为解锁状态,锁定无法投票',
  `deduct` json NOT NULL COMMENT '扣票数量',
  `photo` json NOT NULL COMMENT '候选信息图地址 ',
  `votenumb` json NOT NULL COMMENT '候选人投票数',
  `votefalse` json NOT NULL COMMENT '投票虚拟数量',
  `rank` json NOT NULL COMMENT '候选人名次',
  `sort` int(3) unsigned NOT NULL DEFAULT '99' COMMENT '自定义排序',
  `candsort` int(1) unsigned NOT NULL COMMENT '选手的排序方式,票数,编号等',
  `type` int(1) unsigned NOT NULL COMMENT '0单选1多选',
  `cycle` int(1) unsigned NOT NULL COMMENT '周期0只能一票,1每天投',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='主题及候选信息';

-- ----------------------------
-- Records of kg_vote_candidate
-- ----------------------------

-- ----------------------------
-- Table structure for kg_vote_user
-- ----------------------------
DROP TABLE IF EXISTS `kg_vote_user`;
CREATE TABLE `kg_vote_user` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `kgid` int(11) unsigned NOT NULL COMMENT '注册登录用户id对应kg_user表id微信用户为0',
  `fansid` int(11) NOT NULL COMMENT '粉丝id非粉丝为0',
  `ip` varchar(15) NOT NULL COMMENT '登录ip',
  `kgaccessid` varchar(32) NOT NULL COMMENT 'cookie身份识别码',
  `titleid` int(10) unsigned NOT NULL COMMENT '投票主题id',
  `candid` int(10) unsigned NOT NULL COMMENT '候选人索引值',
  `votetime` int(10) unsigned NOT NULL COMMENT '投票时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=185 DEFAULT CHARSET=utf8 COMMENT='投票人信息表';

-- ----------------------------
-- Records of kg_vote_user
-- ----------------------------
INSERT INTO `kg_vote_user` VALUES ('182', '0', '72', '163.179.46.49', 'N4fmt5Dtc1Dy9MRVvP5v675UupFP7WTg', '151', '2', '1596594373');
INSERT INTO `kg_vote_user` VALUES ('184', '0', '72', '163.179.46.17', '1mgYji8YvxdvFYfbLg8EG2eI8MclCMSL', '163', '0', '1596685755');

-- ----------------------------
-- Table structure for kg_web
-- ----------------------------
DROP TABLE IF EXISTS `kg_web`;
CREATE TABLE `kg_web` (
  `id` tinyint(3) unsigned NOT NULL AUTO_INCREMENT COMMENT '网站ID',
  `default` tinyint(1) NOT NULL COMMENT '是否为默认站点',
  `enable` tinyint(1) unsigned NOT NULL COMMENT '是否启用，0禁用1启用',
  `name` varchar(255) NOT NULL COMMENT '语言名称，如：中文站',
  `domain` json NOT NULL COMMENT '域名',
  `language` varchar(30) NOT NULL COMMENT '语言包目录名，位于 language/frontend 下面的一个目录名',
  `template` varchar(30) NOT NULL COMMENT '模板文件，位于 template/frontend 下面的一个目录名',
  `template_auto` json NOT NULL COMMENT '自动切换模板{''pc'':'''',''wx'':'''',''m'':''''}',
  `title` varchar(255) NOT NULL COMMENT '网站标题',
  `logo` varchar(255) NOT NULL COMMENT '网站Logo地址',
  `keyword` varchar(255) NOT NULL COMMENT 'SEO关键字，主要用于网站首页及一些插件页缺省关键字',
  `description` text NOT NULL COMMENT '网站描述，网站首页SEO描述内容',
  `copyright` text NOT NULL COMMENT '网站底部版权信息HTML',
  `email` json NOT NULL COMMENT '联系Email',
  `qq` json NOT NULL COMMENT '客服QQ',
  `phone` json NOT NULL COMMENT '客服电话，多个电话用逗号隔开，调用加索引值',
  `qrcode` json NOT NULL COMMENT '公众号或小程序二维码',
  `address` varchar(255) NOT NULL COMMENT '公司地址',
  `sort` int(5) unsigned NOT NULL COMMENT '排序',
  `addtime` int(10) NOT NULL COMMENT '创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=33 DEFAULT CHARSET=utf8 COMMENT='网站基本设置';

-- ----------------------------
-- Records of kg_web
-- ----------------------------
INSERT INTO `kg_web` VALUES ('12', '1', '1', '中文', '[\"www.kgcms.com\"]', 'chinese', 'test', '{}', 'KGCMS - 广东凯格科技有限公司', '/upload/system/app/logo_12.png', 'keyword', 'descriptopm', '<p class=\"ngce-p2-style\">\r\n	<img src=\"/template/frontend/test/image/ghs.png\" width=\"20\" height=\"20\" alt=\"\">  \r\n	<a href=\"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44200002444030\" target=\"_blank\" class=\"a_un\">\r\n		<span class=\"nginbl-display\">粤公网安备44200002444030号</span>\r\n	</a>\r\n</p>\r\n<p class=\"ngce-p2-style\">\r\n	<a href=\"http://www.kgcms.com/static/copyright/kgcms.html\" target=\"_blank\">软件著作权：2019SR1217715</a><br/>\r\n</p>\r\n<p class=\"ngce-p2-style\">广东凯格科技有限公司</p> \r\n', '[\"service@kgcms.com\"]');
INSERT INTO `kg_web` VALUES ('28', '0', '1', 'English', '[\"test.kgcms.com\"]', 'english', 'test', '{}', 'KGCMS - Python official website', '/upload/system/app/logo_28.png', 'keyword', 'descriptopm', '            <p class=\"ngce-p2-style\">\r\n                <img src=\"/template/frontend/test/image/ghs.png\" width=\"20\" height=\"20\" alt=\"\">  \r\n                <a href=\"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44200002444030\" target=\"_blank\" class=\"a_un\">\r\n                    <span class=\"nginbl-display\">粤公网安备44200002444030号</span>\r\n                </a>\r\n            </p>\r\n            <p class=\"ngce-p2-style\">\r\n                <a href=\"http://www.kgcms.com/static/copyright/kgcms.html\" target=\"_blank\">软件著作权：2019SR1217715</a><br/>\r\n            </p>', '[\"19951025@qq.com\"]');
INSERT INTO `kg_web` VALUES ('30', '0', '1', '日本語', '[\"test.kgcms.com\"]', 'japanese', 'test', '{}', 'KGCMS-公式Pythonウェブサイト', '', '', '', '            <p class=\"ngce-p2-style\">\r\n                <img src=\"/template/frontend/test/image/ghs.png\" width=\"20\" height=\"20\" alt=\"\">  \r\n                <a href=\"http://www.beian.gov.cn/portal/registerSystemInfo?recordcode=44200002444030\" target=\"_blank\" class=\"a_un\">\r\n                    <span class=\"nginbl-display\">粤公网安备44200002444030号</span>\r\n                </a>\r\n            </p>\r\n            <p class=\"ngce-p2-style\">\r\n                <a href=\"http://www.kgcms.com/static/copyright/kgcms.html\" target=\"_blank\">软件著作权：2019SR1217715</a><br/>\r\n            </p>', '[]');

-- ----------------------------
-- Table structure for kg_wx_fans
-- ----------------------------
DROP TABLE IF EXISTS `kg_wx_fans`;
CREATE TABLE `kg_wx_fans` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `groupid` int(10) unsigned NOT NULL COMMENT '用户所属分组ID，粉丝分组，非会员等级（分组）',
  `openid` varchar(32) NOT NULL COMMENT '用户OPENID',
  `nickname` varchar(255) NOT NULL COMMENT '用户昵称',
  `sex` tinyint(1) unsigned NOT NULL COMMENT '用户的性别，值为1时是男性，值为2时是女性，值为0时是未知',
  `city` varchar(255) NOT NULL COMMENT '用户所在城市',
  `country` varchar(255) NOT NULL COMMENT '用户所在国家',
  `province` varchar(255) NOT NULL COMMENT '用户所在省份',
  `language` varchar(20) NOT NULL COMMENT '用户的语言，简体中文为zh_CN',
  `headimgurl` varchar(255) NOT NULL COMMENT '用户头像，最后一个数值代表正方形头像大小（有0、46、64、96、132数值可选，0代表640*640正方形头像），用户没有头像时该项为空',
  `qrscene` int(10) unsigned NOT NULL COMMENT '二维码扫码场景（开发者自定义）',
  `scenestr` varchar(255) NOT NULL COMMENT '现场描述',
  `subscribetime` int(10) NOT NULL COMMENT '用户关注时间，为时间戳。如果用户曾多次关注，则取最后关注时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='微信粉丝表';

-- ----------------------------
-- Records of kg_wx_fans
-- ----------------------------

-- ----------------------------
-- Table structure for kg_wx_group
-- ----------------------------
DROP TABLE IF EXISTS `kg_wx_group`;
CREATE TABLE `kg_wx_group` (
  `id` int(10) unsigned NOT NULL COMMENT '主键，与腾讯服务器同ID',
  `name` varchar(50) NOT NULL COMMENT '分组名称',
  `count` int(10) unsigned NOT NULL COMMENT '分组内用户数量',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='粉丝分组表';

-- ----------------------------
-- Records of kg_wx_group
-- ----------------------------
INSERT INTO `kg_wx_group` VALUES ('0', '未分组', '0');
INSERT INTO `kg_wx_group` VALUES ('1', '黑名单', '0');
INSERT INTO `kg_wx_group` VALUES ('2', '星标组', '0');

-- ----------------------------
-- Table structure for kg_wx_material
-- ----------------------------
DROP TABLE IF EXISTS `kg_wx_material`;
CREATE TABLE `kg_wx_material` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '主键',
  `media_id` varchar(128) NOT NULL COMMENT '素材ID',
  `name` varchar(128) NOT NULL COMMENT '素材名，图文素材时为空',
  `type` varchar(32) NOT NULL COMMENT '类型 image video voice图文news',
  `news_type` tinyint(1) unsigned NOT NULL COMMENT '图文类型(0单图文，1多图文)',
  `url` text NOT NULL COMMENT '素材地址，图文素材时为空',
  `localpath` varchar(1024) NOT NULL COMMENT '素材下载到本地地址，图文素材时为空',
  `update_time` int(11) unsigned NOT NULL COMMENT '更新时间',
  `addtime` int(11) unsigned NOT NULL COMMENT '添加时间',
  `description` varchar(255) NOT NULL COMMENT '描述',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5181 DEFAULT CHARSET=utf8 COMMENT='微信素材表';

-- ----------------------------
-- Records of kg_wx_material
-- ----------------------------
INSERT INTO `kg_wx_material` VALUES ('5177', 'DtWtXZRoESanR8om_o_pVW1l_aLcAiJYdxS1lN4vt9I', '201109094401.png', 'image', '0', 'http://mmbiz.qpic.cn/mmbiz_png/JDq2HiauicbAzFyhFibAhOk9ITrDFAtqn0cxlmv22ZZicth0nwVKJ3hVFU2C6P3TbzCtnHpTWGOZlnAR5bia9BPb5dw/0?wx_fmt=png', '/upload/wx_material/image/DtWtXZRoESanR8om_o_pVW1l_aLcAiJYdxS1lN4vt9I.png', '1604886252', '1604886252', '');

-- ----------------------------
-- Table structure for kg_wx_material_send
-- ----------------------------
DROP TABLE IF EXISTS `kg_wx_material_send`;
CREATE TABLE `kg_wx_material_send` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `msg_id` varchar(128) NOT NULL COMMENT '消息发送任务的ID',
  `msg_data_id` varchar(128) NOT NULL COMMENT '消息的数据ID，该字段只有在群发图文消息时，才会出现',
  `type` varchar(16) NOT NULL COMMENT '消息类型',
  `media_id` varchar(128) NOT NULL COMMENT '用于群发的消息的media_id',
  `status` varchar(32) NOT NULL,
  `total_count` int(11) DEFAULT NULL COMMENT 'tag_id下粉丝数；或者openid_list中的粉丝数',
  `filter_count` int(11) DEFAULT NULL COMMENT '过滤（过滤是指特定地区、性别的过滤、用户设置拒收的过滤，用户接收已超4条的过滤）后，准备发送的粉丝数，原则上，FilterCount 约等于 SentCount + ErrorCount',
  `sent_count` int(11) DEFAULT NULL COMMENT '发送成功的粉丝数',
  `error_count` int(11) DEFAULT NULL COMMENT '发送失败的粉丝数',
  `check_state` tinyint(1) DEFAULT NULL COMMENT '1-未被判为转载，可以群发，2-被判为转载，可以群发，3-被判为转载，不能群发',
  `is_del` int(11) DEFAULT NULL,
  `addtime` int(11) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='群发记录';

-- ----------------------------
-- Records of kg_wx_material_send
-- ----------------------------

-- ----------------------------
-- Table structure for kg_wx_qrcode
-- ----------------------------
DROP TABLE IF EXISTS `kg_wx_qrcode`;
CREATE TABLE `kg_wx_qrcode` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id主键',
  `name` varchar(50) NOT NULL COMMENT '二维码推广名称',
  `genre` tinyint(1) unsigned NOT NULL COMMENT '二维码类型（0推广二维码、1签到二维码）',
  `imgurl` text NOT NULL COMMENT '二维码源始地址(腾讯服务器地址，本地路径为:inc/upload/qrcode',
  `expire` int(5) unsigned NOT NULL COMMENT '二维码有效时间（单位：秒），为0时永久有效，为其它数字时为临时二维码，最大值不超过1800秒',
  `fans` int(10) unsigned NOT NULL COMMENT '关注人数，通过该二维码扫描且关注的人数',
  `scanning` int(10) unsigned NOT NULL COMMENT '签到人数',
  `addtime` int(10) unsigned NOT NULL COMMENT '二维码创建时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='微信二维码表';

-- ----------------------------
-- Records of kg_wx_qrcode
-- ----------------------------

-- ----------------------------
-- Table structure for kg_wx_questions
-- ----------------------------
DROP TABLE IF EXISTS `kg_wx_questions`;
CREATE TABLE `kg_wx_questions` (
  `id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id主键',
  `ask` json NOT NULL COMMENT '问题关键字',
  `type` tinyint(1) unsigned NOT NULL COMMENT '回复模式，0本地素材，1微信素材，2自定义文本',
  `mid` int(10) unsigned NOT NULL COMMENT '答案素材ID,（0普通答案，使用答案内容(answer)作为回复、其它数字为素材库ID，以素材库中的素材为答案）',
  `answer` text NOT NULL COMMENT '答案内容',
  `rule` tinyint(1) unsigned NOT NULL COMMENT '匹配规则（0广泛匹配、1精准匹配）',
  `enable` tinyint(1) unsigned NOT NULL COMMENT '是否启用，（0禁用、1启用）',
  `addtime` int(10) unsigned NOT NULL COMMENT '答案添加时间',
  PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='关键字回复表';

-- ----------------------------
-- Records of kg_wx_questions
-- ----------------------------
