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

2326 lines
276 KiB

2 years ago
-- MySQL dump 10.13 Distrib 5.7.3-m13, for Win32 (x86)
--
-- Host: localhost Database: test88
-- ------------------------------------------------------
-- Server version 5.7.3-m13
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
--
-- Table structure for table `admin_cg_group`
--
DROP TABLE IF EXISTS `admin_cg_group`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `admin_cg_group` (
`GroupID` int(11) NOT NULL,
`G_CName` varchar(50) DEFAULT NULL,
`G_ParentID` int(11) DEFAULT NULL,
`G_ShowOrder` int(11) DEFAULT NULL,
`G_Level` int(11) DEFAULT NULL,
`G_ChildCount` int(11) DEFAULT NULL,
`G_Delete` int(11) DEFAULT '0',
`G_Num` int(11) DEFAULT '0'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `admin_cg_group`
--
LOCK TABLES `admin_cg_group` WRITE;
/*!40000 ALTER TABLE `admin_cg_group` DISABLE KEYS */;
INSERT INTO `admin_cg_group` VALUES (2,'北京市',0,100,2,0,0,0),(3,'天津市',0,100,2,0,0,0),(4,'河北省',0,100,2,0,0,0),(5,'山西省',0,100,2,0,0,0),(6,'内蒙古自治区',0,100,2,0,0,0),(7,'辽宁省',0,100,2,0,0,0),(8,'吉林省',0,100,2,0,0,0),(9,'黑龙江省',0,100,2,0,0,0),(10,'上海市',0,100,2,0,0,0),(11,'江苏省',0,100,2,0,0,0),(12,'浙江省',0,100,2,0,0,0),(13,'安徽省',0,100,2,0,0,0),(14,'福建省',0,100,2,0,0,0),(15,'江西省',0,100,2,0,0,0),(16,'山东省',0,100,2,0,0,0),(17,'河南省',0,100,2,0,0,0),(18,'湖北省',0,100,2,0,0,0),(19,'湖南省',0,100,2,0,0,0),(20,'广东省',0,100,2,0,0,0),(21,'广西省',0,100,2,0,0,0),(22,'海南省',0,100,2,0,0,0),(23,'重庆市',0,100,2,0,0,0),(24,'四川省',0,100,2,0,0,0),(25,'贵州省',0,100,2,0,0,0),(26,'云南省',0,100,2,0,0,0),(27,'西藏自治区',0,100,2,0,0,0),(28,'陕西省',0,100,2,0,0,0),(29,'甘肃省',0,100,2,0,0,0),(30,'青海省',0,100,2,0,0,0),(31,'宁夏市',0,100,2,0,0,0),(32,'新疆省',0,100,2,0,0,0),(33,'台湾省',0,100,2,0,0,0),(34,'香港特别行政区',0,100,2,0,0,0),(35,'市辖区',2,100,3,0,0,0),(36,'',2,100,3,0,0,0),(37,'市辖区',3,100,3,0,0,0),(38,'',3,100,3,0,0,0),(39,'石家庄市',4,100,3,0,0,0),(40,'唐山市',4,100,3,0,0,0),(41,'秦皇岛市',4,100,3,0,0,0),(42,'邯郸市',4,100,3,0,0,0),(43,'邢台市',4,100,3,0,0,0),(44,'保定市',4,100,3,0,0,0),(45,'张家口市',4,100,3,0,0,0),(46,'承德市',4,100,3,0,0,0),(47,'沧州市',4,100,3,0,0,0),(48,'廊坊市',4,100,3,0,0,0),(49,'衡水市',4,100,3,0,0,0),(50,'太原市',5,100,3,0,0,0),(51,'大同市',5,100,3,0,0,0),(52,'阳泉市',5,100,3,0,0,0),(53,'长治市',5,100,3,0,0,0),(54,'晋城市',5,100,3,0,0,0),(55,'朔州市',5,100,3,0,0,0),(56,'忻州地区',5,100,3,0,0,0),(57,'吕梁地区',5,100,3,0,0,0),(58,'晋中地区',5,100,3,0,0,0),(59,'临汾地区',5,100,3,0,0,0),(60,'运城地区',5,100,3,0,0,0),(61,'呼和浩特市',6,100,3,0,0,0),(62,'包头市',6,100,3,0,0,0),(63,'乌海市',6,100,3,0,0,0),(64,'赤峰市',6,100,3,0,0,0),(65,'呼伦贝尔市',6,100,3,0,0,0),(66,'兴安盟',6,100,3,0,0,0),(67,'通辽市',6,100,3,0,0,0),(68,'锡林浩特市',6,100,3,0,0,0),(69,'集宁市',6,100,3,0,0,0),(70,'鄂尔多斯市',6,100,3,0,0,0),(71,'临河市',6,100,3,0,0,0),(72,'阿尔善左旗',6,100,3,0,0,0),(73,'沈阳市',7,100,3,0,0,0),(74,'大连市',7,100,3,0,0,0),(75,'鞍山市',7,100,3,0,0,0),(76,'抚顺市',7,100,3,0,0,0),(77,'本溪市',7,100,3,0,0,0),(78,'丹东市',7,100,3,0,0,0),(79,'锦州市',7,100,3,0,0,0),(80,'营口市',7,100,3,0,0,0),(81,'阜新市',7,100,3,0,0,0),(82,'辽阳市',7,100,3,0,0,0),(83,'盘锦市',7,100,3,0,0,0),(84,'铁岭市',7,100,3,0,0,0),(85,'朝阳市',7,100,3,0,0,0),(86,'葫芦岛市',7,100,3,0,0,0),(87,'长春市',8,100,3,0,0,0),(88,'吉林市',8,100,3,0,0,0),(89,'四平市',8,100,3,0,0,0),(90,'辽源市',8,100,3,0,0,0),(91,'通化市',8,100,3,0,0,0),(92,'白山市',8,100,3,0,0,0),(93,'松原市',8,100,3,0,0,0),(94,'白城市',8,100,3,0,0,0),(95,'延边自治州',8,100,3,0,0,0),(96,'哈尔滨市',9,100,3,0,0,0),(97,'齐齐哈尔市',9,100,3,0,0,0),(98,'鸡西市',9,100,3,0,0,0),(99,'鹤岗市',9,100,3,0,0,0),(100,'双鸭山市',9,100,3,0,0,0),(101,'大庆市',9,100,3,0,0,0),(102,'伊春市',9,100,3,0,0,0),(103,'佳木斯市',9,100,3,0,0,0),(104,'七台河市',9,100,3,0,0,0),(105,'牡丹江市',9,100,3,0,0,0),(106,'黑河市',9,100,3,0,0,0),(107,'绥化地区',9,100,3,0,0,0),(108,'大兴安岭地区',9,100,3,0,0,0),(109,'市辖区',10,100,3,0,0,0),(110,'',10,100,3,0,0,0),(111,'南京市',11,100,3,0,0,0),(112,'无锡市',11,100,3,0,0,0),(113,'徐州市',11,100,3,0,0,0),(114,'常州市',11,100,3,0,0,0),(115,'苏州市',11,100,3,0,0,0),(116,'南通市',11,100,3,0,0,0),(117,'连云港市',11,100,3,0,0,0),(118,'淮阴市',11,100,3,0,0,0),(119,'盐城市',11,100,3,0,0,0),(120,'扬州市',11,100,3,0,0,0),(121,'镇江市',11,100,3,0,0,0),(122,'泰州市',11,100,3,0,0,0),(123,'宿迁市',11,100,3,0,0,0),(124,'杭州市',12,100,3,0,0,0),(125,'宁波市',12,100,3,0,0,0),(126,'温州市',12,100,3,0,0,0),(127,'嘉兴市',12,100,3,0,0,0),(12
/*!40000 ALTER TABLE `admin_cg_group` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_admin`
--
DROP TABLE IF EXISTS `lkt_admin`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_admin` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`sid` int(11) NOT NULL DEFAULT '0' COMMENT '上级id',
`name` varchar(30) NOT NULL DEFAULT '' COMMENT '账号',
`password` char(32) NOT NULL DEFAULT '' COMMENT '密码',
`admin_type` int(11) DEFAULT NULL COMMENT '管理类型',
`permission` text COMMENT '许可',
`role` tinyint(3) DEFAULT NULL COMMENT '角色',
`status` int(11) DEFAULT NULL COMMENT '状态 1:禁用 2:启用',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`recycle` tinyint(2) DEFAULT NULL COMMENT '回收站',
`nickname` varchar(20) DEFAULT NULL COMMENT '昵称',
`birthday` varchar(32) DEFAULT NULL COMMENT '生日',
`sex` int(2) DEFAULT '1' COMMENT '性别(1 男 2 女)',
`tel` varchar(22) DEFAULT NULL COMMENT '手机号码',
`token` varchar(32) DEFAULT NULL COMMENT '令牌',
`ip` varchar(10) DEFAULT NULL COMMENT '登入ip地址',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='管理员表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `lkt_admin_record`
--
DROP TABLE IF EXISTS `lkt_admin_record`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_admin_record` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`admin_name` varchar(50) DEFAULT NULL COMMENT '管理员账号',
`event` varchar(200) DEFAULT NULL COMMENT '事件',
`type` tinyint(4) DEFAULT NULL COMMENT '类型 0:登录/退出 1:添加 2:修改 3:删除 4:导出 5:启用/禁用 6:通过/拒绝',
`add_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '操作时间',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='管理员记录表';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `lkt_article`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_article` (
`Article_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '文章id',
`Article_title` varchar(100) NOT NULL DEFAULT '' COMMENT '文章标题',
`Article_prompt` varchar(100) NOT NULL DEFAULT '' COMMENT '文章提示',
`Article_imgurl` varchar(200) NOT NULL DEFAULT '' COMMENT '文章图片',
`content` text NOT NULL COMMENT '文章内容',
`sort` int(11) DEFAULT NULL COMMENT '排序',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`share_num` int(11) NOT NULL DEFAULT '0' COMMENT '分享次数',
`total_amount` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '红包总金额',
`total_num` int(11) NOT NULL DEFAULT '0' COMMENT '红包个数',
`wishing` varchar(100) NOT NULL DEFAULT '' COMMENT '祝福语',
PRIMARY KEY (`Article_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='单篇文章表';
/*!40101 SET character_set_client = @saved_cs_client */;
DROP TABLE IF EXISTS `lkt_background_color`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_background_color` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`color_name` char(10) DEFAULT NULL COMMENT '颜色名称',
`color` varchar(30) DEFAULT NULL COMMENT '颜色',
`sort` int(11) DEFAULT NULL COMMENT '排序',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态 0:未启用 1:启用',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='背景颜色表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_background_color`
--
LOCK TABLES `lkt_background_color` WRITE;
/*!40000 ALTER TABLE `lkt_background_color` DISABLE KEYS */;
INSERT INTO `lkt_background_color` VALUES (3,'绿色','#00ff00',1,0),(4,'红色','#000000',1,0),(5,'红色','#DC143C',1,0),(6,'橘红','#FF6347',1,1);
/*!40000 ALTER TABLE `lkt_background_color` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_banner`
--
DROP TABLE IF EXISTS `lkt_banner`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_banner` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`image` varchar(200) NOT NULL DEFAULT '' COMMENT '图片',
`url` varchar(100) NOT NULL DEFAULT '' COMMENT '链接',
`sort` int(11) DEFAULT NULL COMMENT '排序',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='轮播图表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_banner`
--
LOCK TABLES `lkt_banner` WRITE;
/*!40000 ALTER TABLE `lkt_banner` DISABLE KEYS */;
INSERT INTO `lkt_banner` VALUES ('20', '1571912030366.png', 'undefined', '100', '2019-10-24 18:13:59');
INSERT INTO `lkt_banner` VALUES ('21', '1571912056696.png', 'undefined', '100', '2019-10-24 18:14:28');
INSERT INTO `lkt_banner` VALUES ('22', '1571912083753.png', 'undefined', '100', '2019-10-24 18:14:48');
/*!40000 ALTER TABLE `lkt_banner` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_bargain_config`
--
DROP TABLE IF EXISTS `lkt_bargain_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_bargain_config` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`plug_ins_id` int(11) NOT NULL DEFAULT '0' COMMENT '插件id',
`can_num` int(11) DEFAULT NULL COMMENT '能砍的次数',
`help_num` int(11) DEFAULT NULL COMMENT '每天最多帮别人砍的次数',
`parameter` char(11) DEFAULT NULL COMMENT '每次砍价的参数',
`invalid_time` int(11) DEFAULT NULL COMMENT '逾期失效时间',
`add_time` timestamp NULL DEFAULT NULL COMMENT '修改时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='砍价免单设置表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_bargain_config`
--
LOCK TABLES `lkt_bargain_config` WRITE;
/*!40000 ALTER TABLE `lkt_bargain_config` DISABLE KEYS */;
INSERT INTO `lkt_bargain_config` VALUES (1,7,7,3,'0.3',7,'2018-05-08 09:57:24');
/*!40000 ALTER TABLE `lkt_bargain_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_bargain_record`
--
DROP TABLE IF EXISTS `lkt_bargain_record`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_bargain_record` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`s_id` int(11) NOT NULL DEFAULT '0' COMMENT '属性id',
`user_id` varchar(15) NOT NULL COMMENT '用户ID',
`money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '金额',
`add_time` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`event` varchar(200) DEFAULT NULL COMMENT '事件',
`name` varchar(15) NOT NULL COMMENT '收货人',
`tel` char(15) NOT NULL COMMENT '联系方式',
`sheng` int(11) NOT NULL DEFAULT '0' COMMENT '',
`city` int(11) NOT NULL DEFAULT '0' COMMENT '',
`quyu` int(11) NOT NULL DEFAULT '0' COMMENT '',
`address` varchar(255) NOT NULL COMMENT '收货地址(不加省市区)',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态 0:砍价中 1:砍价成功 2:逾期失效 3:生成订单',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='砍价免单记录表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_bargain_record`
--
LOCK TABLES `lkt_bargain_record` WRITE;
/*!40000 ALTER TABLE `lkt_bargain_record` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_bargain_record` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_brand_class`
--
DROP TABLE IF EXISTS `lkt_brand_class`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_brand_class` (
`brand_id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`brand_pic` varchar(255) DEFAULT NULL COMMENT '品牌logo',
`brand_name` varchar(255) DEFAULT NULL COMMENT '品牌名称',
`brand_y_name` varchar(100) DEFAULT NULL COMMENT '英文名',
`producer` varchar(255) DEFAULT NULL COMMENT '产地',
`remarks` varchar(255) DEFAULT NULL COMMENT '备注',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态 0:启用 1:禁用',
`brand_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '时间',
`sort` int(10) DEFAULT '100',
`recycle` tinyint(4) NOT NULL DEFAULT '0' COMMENT '回收站 0.不回收 1.回收',
PRIMARY KEY (`brand_id`)
) ENGINE=MyISAM AUTO_INCREMENT=14 DEFAULT CHARSET=utf8 COMMENT='产品品牌表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_brand_class`
--
LOCK TABLES `lkt_brand_class` WRITE;
/*!40000 ALTER TABLE `lkt_brand_class` DISABLE KEYS */;
INSERT INTO `lkt_brand_class` VALUES (9,'','来客定制','',NULL,NULL,0,'2018-11-08 03:56:18',100,0);
/*!40000 ALTER TABLE `lkt_brand_class` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_cart`
--
DROP TABLE IF EXISTS `lkt_cart`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_cart` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`user_id` varchar(20) NOT NULL COMMENT '用户id',
`Uid` varchar(32) DEFAULT NULL COMMENT '用户id',
`Goods_id` int(11) DEFAULT NULL COMMENT '产品id',
`Goods_num` int(11) DEFAULT NULL COMMENT '数量',
`Create_time` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`Size_id` char(15) NOT NULL DEFAULT '' COMMENT '商品属性id',
`plugin` varchar(255) DEFAULT NULL COMMENT '插件标志',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='购物车';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_cart`
--
LOCK TABLES `lkt_cart` WRITE;
/*!40000 ALTER TABLE `lkt_cart` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_cart` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_combined_pay`
--
DROP TABLE IF EXISTS `lkt_combined_pay`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_combined_pay` (
`id` int(11) NOT NULL COMMENT 'id',
`weixin_pay` decimal(11,2) NOT NULL DEFAULT '0.00' COMMENT '微信支付金额',
`balance_pay` decimal(11,2) NOT NULL DEFAULT '0.00' COMMENT '余额支付',
`total` decimal(11,2) NOT NULL COMMENT '总金额',
`order_id` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT '订单号',
`add_time` datetime NOT NULL COMMENT '创建时间',
`user_id` varchar(100) COLLATE utf8mb4_unicode_ci DEFAULT NULL COMMENT '用户id'
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_combined_pay`
--
LOCK TABLES `lkt_combined_pay` WRITE;
/*!40000 ALTER TABLE `lkt_combined_pay` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_combined_pay` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_comments`
--
DROP TABLE IF EXISTS `lkt_comments`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_comments` (
`id` int(15) NOT NULL AUTO_INCREMENT,
`oid` varchar(32) DEFAULT NULL COMMENT '订单ID',
`uid` varchar(32) DEFAULT NULL COMMENT '用户id',
`pid` varchar(32) DEFAULT NULL COMMENT '商品id',
`attribute_id` int(11) DEFAULT NULL COMMENT '属性id',
`size` char(50) DEFAULT '默认' COMMENT '商品规格',
`content` text COMMENT '评价内容',
`CommentType` char(11) DEFAULT NULL COMMENT '评价类型',
`anonymous` varchar(32) DEFAULT '0' COMMENT '匿名 ',
`add_time` timestamp NULL DEFAULT '0000-00-00 00:00:00',
`review` text COMMENT '追评',
`review_time` timestamp NULL DEFAULT '0000-00-00 00:00:00' COMMENT '追评时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_comments`
--
LOCK TABLES `lkt_comments` WRITE;
/*!40000 ALTER TABLE `lkt_comments` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_comments` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_comments_img`
--
DROP TABLE IF EXISTS `lkt_comments_img`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_comments_img` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '图片id',
`comments_url` varchar(100) DEFAULT NULL COMMENT '评论图片',
`comments_id` int(11) DEFAULT NULL COMMENT '评论id',
`add_time` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`type` tinyint(3) DEFAULT '0' COMMENT '类型 0:评论 1:追评',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='评论图片表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_comments_img`
--
LOCK TABLES `lkt_comments_img` WRITE;
/*!40000 ALTER TABLE `lkt_comments_img` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_comments_img` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_config`
--
DROP TABLE IF EXISTS `lkt_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_config` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`logo` varchar(100) DEFAULT NULL COMMENT '公司logo',
`company` varchar(100) NOT NULL DEFAULT '' COMMENT '公司名称',
`appid` char(18) NOT NULL DEFAULT '' COMMENT '小程序id',
`appsecret` char(32) NOT NULL DEFAULT '' COMMENT '小程序密钥',
`domain` varchar(100) NOT NULL DEFAULT '' COMMENT '小程序域名',
`mch_id` int(11) DEFAULT NULL COMMENT '商户id',
`ip` varchar(25) DEFAULT NULL COMMENT 'ip地址',
`uploadImg_domain` varchar(100) NOT NULL DEFAULT '' COMMENT '图片上传域名',
`uploadImg` varchar(100) NOT NULL DEFAULT '' COMMENT '图片上传位置',
`upload_file` varchar(100) NOT NULL DEFAULT '' COMMENT '文件上传位置',
`modify_date` timestamp NULL DEFAULT NULL COMMENT '修改时间',
`mch_key` varchar(100) CHARACTER SET utf8mb4 NOT NULL COMMENT '微信支付key',
`mch_cert` varchar(100) NOT NULL COMMENT '支付证书文件地址',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='配置表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_config`
--
LOCK TABLES `lkt_config` WRITE;
/*!40000 ALTER TABLE `lkt_config` DISABLE KEYS */;
INSERT INTO `lkt_config` VALUES (1,'1541601350533.jpeg','来客电商','','','',NULL,'','','../LKT/images/','../LKT/zip','2018-11-09 13:36:19','','');
/*!40000 ALTER TABLE `lkt_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_configure`
--
DROP TABLE IF EXISTS `lkt_configure`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_configure` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '配置id',
`name` varchar(100) DEFAULT NULL COMMENT '配置名称',
`color` char(15) DEFAULT NULL COMMENT '颜色',
`size` varchar(100) DEFAULT '0' COMMENT '尺码',
`costprice` decimal(12,2) NOT NULL COMMENT '成本价',
`price` decimal(12,2) NOT NULL COMMENT '出售价格',
`yprice` decimal(12,2) NOT NULL COMMENT '原价格',
`img` varchar(255) NOT NULL COMMENT '图片',
`pid` int(11) NOT NULL COMMENT '商品id',
`num` int(11) NOT NULL DEFAULT '0' COMMENT '库存',
`unit` varchar(30) NOT NULL COMMENT '单位',
`bargain_price` decimal(12,2) DEFAULT NULL COMMENT '砍价开始价格',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态 0:未开启砍价 1:开启砍价 2 上架 3 缺货 4下架',
`attribute` text COMMENT '属性',
`recycle` tinyint(4) NOT NULL DEFAULT '0' COMMENT '回收站 0.不回收 1.回收',
`total_num` int(11) NOT NULL DEFAULT '0' COMMENT '总库存',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='商品配置表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_configure`
--
LOCK TABLES `lkt_configure` WRITE;
/*!40000 ALTER TABLE `lkt_configure` DISABLE KEYS */;
-- INSERT INTO `lkt_configure` VALUES (1,'默认','默认','默认',20.00,60.00,100.00,'1541597053657.jpeg',1,64,'',0.00,2,'a:3:{s:6:\"类型\";s:6:\"默认\";s:6:\"颜色\";s:6:\"默认\";s:6:\"规格\";s:6:\"默认\";}',0,0);
INSERT INTO `lkt_configure` VALUES ('1', '默认', '默认', '默认', '20.00', '60.00', '100.00', '1541597053657.jpeg', '1', '64', '', '0.00', '2', 'a:3:{s:6:\"类型\";s:6:\"默认\";s:6:\"颜色\";s:6:\"默认\";s:6:\"规格\";s:6:\"默认\";}', '0', '0');
INSERT INTO `lkt_configure` VALUES ('2', null, null, '0', '20.00', '100.00', '200.00', '1571906940994.png', '2', '100', '', null, '0', 'a:2:{s:6:\"格数\";s:6:\"三格\";s:6:\"颜色\";s:6:\"白色\";}', '0', '100');
INSERT INTO `lkt_configure` VALUES ('3', null, null, '0', '20.00', '100.00', '200.00', '1571906947845.png', '2', '100', '', null, '0', 'a:2:{s:6:\"格数\";s:6:\"三格\";s:6:\"颜色\";s:6:\"混搭\";}', '0', '100');
INSERT INTO `lkt_configure` VALUES ('4', null, null, '0', '20.00', '100.00', '200.00', '1571906954576.png', '2', '100', '', null, '0', 'a:2:{s:6:\"格数\";s:6:\"四格\";s:6:\"颜色\";s:6:\"白色\";}', '0', '100');
INSERT INTO `lkt_configure` VALUES ('5', null, null, '0', '20.00', '100.00', '200.00', '1571906962618.png', '2', '100', '', null, '0', 'a:2:{s:6:\"格数\";s:6:\"四格\";s:6:\"颜色\";s:6:\"混搭\";}', '0', '100');
INSERT INTO `lkt_configure` VALUES ('6', null, null, '0', '20.00', '100.00', '200.00', '1571906969663.png', '2', '100', '', null, '0', 'a:2:{s:6:\"格数\";s:6:\"五格\";s:6:\"颜色\";s:6:\"白色\";}', '0', '100');
INSERT INTO `lkt_configure` VALUES ('7', null, null, '0', '20.00', '100.00', '200.00', '1571906978785.png', '2', '100', '', null, '0', 'a:2:{s:6:\"格数\";s:6:\"五格\";s:6:\"颜色\";s:6:\"混搭\";}', '0', '100');
INSERT INTO `lkt_configure` VALUES ('8', null, null, '0', '100.00', '499.00', '1000.00', '1571907182144.png', '3', '300', '', null, '0', 'a:1:{s:12:\"颜色分类\";s:9:\"玫瑰金\";}', '0', '300');
INSERT INTO `lkt_configure` VALUES ('9', null, null, '0', '100.00', '499.00', '1000.00', '1571907188114.png', '3', '300', '', null, '0', 'a:1:{s:12:\"颜色分类\";s:9:\"黑凤凰\";}', '0', '300');
INSERT INTO `lkt_configure` VALUES ('10', null, null, '0', '2599.00', '2999.00', '4100.00', '1571907693760.png', '4', '300', '', null, '0', 'a:3:{s:6:\"颜色\";s:9:\"香槟金\";s:12:\"储存容量\";s:6:\"4+64GB\";s:12:\"网络类型\";s:4:\"WIFI\";}', '0', '300');
INSERT INTO `lkt_configure` VALUES ('11', null, null, '0', '2599.00', '3299.00', '4100.00', '1571907701361.png', '4', '300', '', null, '0', 'a:3:{s:6:\"颜色\";s:9:\"香槟金\";s:12:\"储存容量\";s:6:\"4+64GB\";s:12:\"网络类型\";s:9:\"全网通\";}', '0', '300');
INSERT INTO `lkt_configure` VALUES ('12', null, null, '0', '2599.00', '3299.00', '4100.00', '157190770721.png', '4', '300', '', null, '0', 'a:3:{s:6:\"颜色\";s:9:\"香槟金\";s:12:\"储存容量\";s:7:\"4+128GB\";s:12:\"网络类型\";s:4:\"WIFI\";}', '0', '300');
INSERT INTO `lkt_configure` VALUES ('13', null, null, '0', '2599.00', '3499.00', '4100.00', '1571907713251.png', '4', '300', '', null, '0', 'a:3:{s:6:\"颜色\";s:9:\"香槟金\";s:12:\"储存容量\";s:7:\"4+128GB\";s:12:\"网络类型\";s:9:\"全网通\";}', '0', '300');
INSERT INTO `lkt_configure` VALUES ('14', null, null, '0', '2599.00', '3499.00', '4100.00', '1571907720959.png', '4', '300', '', null, '0', 'a:3:{s:6:\"颜色\";s:9:\"银钻灰\";s:12:\"储存容量\";s:6:\"4+64GB\";s:12:\"网络类型\";s:4:\"WIFI\";}', '0', '300');
INSERT INTO `lkt_configure` VALUES ('15', null, null, '0', '2599.00', '3699.00', '4100.00', '1571907727425.png', '4', '300', '', null, '0', 'a:3:{s:6:\"颜色\";s:9:\"银钻灰\";s:12:\"储存容量\";s:6:\"4+64GB\";s:12:\"网络类型\";s:9:\"全网通\";}', '0', '300');
INSERT INTO `lkt_configure` VALUES ('16', null, null, '0', '2599.00', '3699.00', '4100.00', '1571907733579.png', '4', '300', '', null, '0', 'a:3:{s:6:\"颜色\";s:9:\"银钻灰\";s:12:\"储存容量\";s:7:\"4+128GB\";s:12:\"网络类型\";s:4:\"WIFI\";}', '0', '300');
INSERT INTO `lkt_configure` VALUES ('17', null, null, '0', '2599.00', '3999.00', '4100.00', '1571907741848.png', '4', '300', '', null, '0', 'a:3:{s:6:\"颜色\";s:9:\"银钻灰\";s:12:\"储存容量\";s:7:\"4+128GB\";s:12:\"网络类型\";s:9:\"全网通\";}', '0', '300');
/*!40000 ALTER TABLE `lkt_configure` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_core_menu`
--
DROP TABLE IF EXISTS `lkt_core_menu`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_core_menu` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`s_id` int(11) DEFAULT NULL COMMENT '上级id',
`title` varchar(60) NOT NULL DEFAULT '' COMMENT '菜单名称',
`name` varchar(60) NOT NULL DEFAULT '' COMMENT '菜单标识',
`image` varchar(255) DEFAULT NULL COMMENT '图标',
`image1` varchar(255) DEFAULT NULL COMMENT '点击后图标',
`module` varchar(60) NOT NULL DEFAULT '' COMMENT '菜单模块标识',
`action` varchar(60) NOT NULL DEFAULT '' COMMENT '菜单文件标识',
`url` varchar(60) NOT NULL DEFAULT '' COMMENT '路径',
`sort` int(11) DEFAULT NULL COMMENT '排序',
`level` int(11) DEFAULT NULL COMMENT '第几级',
`is_core` tinyint(4) DEFAULT '0' COMMENT '是否是核心',
`type` tinyint(4) DEFAULT '0' COMMENT '类型 0.后台管理 1.小程序 2.app',
`add_time` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`recycle` tinyint(4) NOT NULL DEFAULT '0' COMMENT '回收站 0.不回收 1.回收',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=230 DEFAULT CHARSET=utf8 COMMENT='核心菜单';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_core_menu`
--
LOCK TABLES `lkt_core_menu` WRITE;
/*!40000 ALTER TABLE `lkt_core_menu` DISABLE KEYS */;
INSERT INTO `lkt_core_menu` VALUES (1,0,'用户管理','user','../LKT/images/menu/154150078990.png','../LKT/images/menu/1541500800692.png','','','',4,1,0,0,'2018-09-26 09:46:49',0),(2,1,'用户列表','user','',NULL,'userlist','index','index.php?module=userlist',100,2,0,0,'2018-09-26 09:47:18',0),(3,2,'浏览','user','','','userlist','index','index.php?module=userlist&action=index',100,3,0,0,'2018-10-25 19:08:04',0),(4,2,'查看','user','','','userlist','view','index.php?module=userlist&action=view',100,3,0,0,'2018-10-25 19:09:11',0),(5,2,'私信','user','',NULL,'userlist','seng','index.php?module=userlist&action=seng',100,3,0,0,'2018-09-26 09:48:17',0),(6,2,'删除','user','',NULL,'userlist','del','index.php?module=userlist&action=del',100,3,0,0,'2018-09-26 09:54:29',0),(7,2,'充值','user','',NULL,'userlist','recharge','index.php?module=userlist&action=recharge',100,3,0,0,'2018-09-26 10:43:27',0),(8,0,'商品管理','product','../LKT/images/menu/1541501138430.png','../LKT/images/menu/1541501147772.png','','','',2,1,0,0,'2018-09-24 14:46:22',0),(9,8,'商品列表','product','',NULL,'product','index','index.php?module=product',100,2,0,0,'2018-09-25 15:26:51',0),(10,9,'查看详细','product','',NULL,'product','see','index.php?module=product&action=see',100,3,0,0,'2018-09-25 15:53:57',0),(11,9,'添加','product','',NULL,'product','add','index.php?module=product&action=add',100,3,0,0,'2018-09-25 15:29:36',0),(12,9,'修改','product','',NULL,'product','modify','index.php?module=product&action=modify',100,3,0,0,'2018-09-25 15:30:10',0),(13,9,'批量操作','','','','product','operation','index.php?module=product&action=operation',100,3,0,0,'2018-10-25 19:25:44',0),(14,9,'上下架','product','',NULL,'product','shelves','index.php?module=product&action=shelves',100,3,0,0,'2018-09-25 15:32:43',0),(15,9,'删除','product','',NULL,'product','del','index.php?module=product&action=del',100,3,0,1,'2018-09-25 15:34:19',0),(16,9,'浏览','product','',NULL,'product','index','index.php?module=product&action=index',100,3,0,0,'2018-09-25 15:34:51',0),(20,17,'删除','','','','product_class','del','index.php?module=product_class&action=del',100,3,0,0,'2018-10-25 19:31:21',0),(19,17,'修改','','','','product_class','modify','index.php?module=product_class&action=modify',100,3,0,0,'2018-10-25 19:30:52',0),(18,17,'添加','','','','product_class','add','index.php?module=product_class&action=add',100,3,0,0,'2018-10-25 19:30:25',0),(17,8,'商品分类','','','','product_class','index','index.php?module=product_class',100,2,0,0,'2018-10-25 19:29:13',0),(21,17,'浏览','','','','product_class','index','index.php?module=product_class&action=index',100,3,0,0,'2018-10-25 19:31:53',0),(22,8,'品牌管理','','','','brand_class','index','index.php?module=brand_class',100,2,0,0,'2018-10-25 19:35:48',0),(23,22,'添加','','','','brand_class','add','index.php?module=brand_class&action=add',100,3,0,0,'2018-10-25 19:36:37',0),(24,22,'修改','','','','brand_class','modify','index.php?module=brand_class&action=modify',100,3,0,0,'2018-10-25 19:37:04',0),(25,22,'删除','','','','brand_class','del','index.php?module=brand_class&action=del',100,3,0,0,'2018-10-25 19:37:27',0),(26,22,'启用/禁用','','','','brand_class','status','index.php?module=brand_class&action=status',100,3,0,0,'2018-10-25 19:38:22',0),(27,22,'浏览','','','','brand_class','index','index.php?module=brand_class&action=index',100,3,0,0,'2018-10-25 19:38:57',0),(28,8,'库存管理','','','','stock','index','index.php?module=stock&action=Index',100,2,0,0,'2018-10-25 19:40:31',0),(29,28,'修改','','','','product','see','index.php?module=product&action=see',100,3,0,0,'2018-10-25 19:42:09',0),(30,28,'浏览','','','','product','num','index.php?module=product&action=num',100,3,0,0,'2018-10-25 19:43:13',0),(31,0,'订单管理','order','../LKT/images/menu/1541501221567.png','../LKT/images/menu/1541501228585.png','','','',3,1,0,0,'2018-09-25 19:49:13',0),(32,31,'订单列表','','','','orderslist','index','index.php?module=orderslist',100,2,0,0,'2018-10-25 19:55:01',0),(33,32,'发货','','','',
/*!40000 ALTER TABLE `lkt_core_menu` ENABLE KEYS */;
UNLOCK TABLES;
LOCK TABLES `lkt_core_menu` WRITE;
/*!40000 ALTER TABLE `lkt_core_menu` DISABLE KEYS */;
insert into lkt_core_menu(s_id,title,module,action,level,url,image,image1,sort,type,add_time) value('86','热门搜索设置','keyword','index','2','index.php?module=keyword','','','100','0',CURRENT_TIMESTAMP);
update lkt_core_menu set recycle = 1 where id = '217';
update lkt_core_menu set recycle = 1 where id = '216';
update lkt_core_menu set recycle = 1 where id = '215';
update lkt_core_menu set recycle = 1 where id = '214';
update lkt_core_menu set recycle = 1 where id = '213';
INSERT INTO `lkt_core_menu` (`s_id`, `title`, `name`, `image`, `image1`, `module`, `action`, `url`, `sort`, `level`, `is_core`, `type`, `add_time`, `recycle`) VALUES (153, '分销', '', '', '', 'distribution', 'index', 'index.php?module=pi&p=distribution&c=Home', '100', '2', '0', '0', '2020-05-02 20:01:01', '0');
/*!40000 ALTER TABLE `lkt_core_menu` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_coupon`
--
DROP TABLE IF EXISTS `lkt_coupon`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_coupon` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`software_id` varchar(60) NOT NULL DEFAULT '' COMMENT '软件id',
`user_id` varchar(15) NOT NULL COMMENT '用户ID',
`money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '优惠券金额',
`add_time` timestamp NULL DEFAULT NULL COMMENT '领取时间',
`expiry_time` timestamp NULL DEFAULT NULL COMMENT '到期时间',
`hid` int(11) NOT NULL DEFAULT '0' COMMENT '活动id',
`type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态 0:未使用 1:使用中 2:已使用 3:已过期',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='优惠券表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_coupon`
--
LOCK TABLES `lkt_coupon` WRITE;
/*!40000 ALTER TABLE `lkt_coupon` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_coupon` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_coupon_activity`
--
DROP TABLE IF EXISTS `lkt_coupon_activity`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_coupon_activity` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`name` varchar(25) NOT NULL COMMENT '活动名称',
`software_id` varchar(60) NOT NULL DEFAULT '' COMMENT '软件id',
`activity_type` int(11) NOT NULL DEFAULT '0' COMMENT '活动类型 1:注册 2:节日/活动 3:满减',
`product_class_id` varchar(20) NOT NULL DEFAULT '0' COMMENT '活动指定商品类型id',
`product_id` int(11) NOT NULL DEFAULT '0' COMMENT '活动指定商品id',
`image` varchar(255) NOT NULL COMMENT '活动图片',
`content` text COMMENT '活动介绍',
`money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '金额/减',
`z_money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '总金额/满减',
`num` varchar(11) DEFAULT NULL COMMENT '数量',
`add_time` timestamp NULL DEFAULT NULL COMMENT '修改时间',
`start_time` timestamp NULL DEFAULT NULL COMMENT '开始时间',
`end_time` timestamp NULL DEFAULT NULL COMMENT '结束时间',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态 0:未启用 1:启用 2:禁用 3:已结束',
`recycle` tinyint(4) NOT NULL DEFAULT '0' COMMENT '回收站 0.不回收 1.回收',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='优惠劵活动表';
--
-- Table structure for table `lkt_coupon_config`
--
DROP TABLE IF EXISTS `lkt_coupon_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_coupon_config` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`plug_ins_id` int(11) NOT NULL DEFAULT '0' COMMENT '插件id',
`software_id` varchar(60) NOT NULL DEFAULT '' COMMENT '软件id',
`activity_overdue` int(11) NOT NULL DEFAULT '0' COMMENT '活动过期删除时间',
`coupon_validity` int(11) NOT NULL DEFAULT '0' COMMENT '优惠券有效期',
`coupon_overdue` int(11) NOT NULL DEFAULT '0' COMMENT '优惠券过期删除时间',
`Customer_id` varchar(15) NOT NULL COMMENT '客户id',
`modify_date` timestamp NULL DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='优惠券配置表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_coupon_config`
--
LOCK TABLES `lkt_coupon_config` WRITE;
/*!40000 ALTER TABLE `lkt_coupon_config` DISABLE KEYS */;
INSERT INTO `lkt_coupon_config` VALUES (1,0,'',2,7,2,'','2018-06-25 11:39:58');
/*!40000 ALTER TABLE `lkt_coupon_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_customer`
--
DROP TABLE IF EXISTS `lkt_customer`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_customer` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`user_id` varchar(255) NOT NULL DEFAULT '' COMMENT '客户id',
`name` varchar(20) NOT NULL DEFAULT '' COMMENT '姓名',
`mobile` varchar(20) DEFAULT NULL COMMENT '手机',
`price` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '价格',
`company` varchar(50) NOT NULL DEFAULT '' COMMENT '公司名称',
`function` text NOT NULL COMMENT '功能',
`add_date` timestamp NULL DEFAULT NULL COMMENT '购买时间',
`end_date` timestamp NULL DEFAULT NULL COMMENT '到期时间',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '类型 0:启用 1:到期',
`email` varchar(255) NOT NULL COMMENT '邮箱',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='客户表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_customer`
--
LOCK TABLES `lkt_customer` WRITE;
/*!40000 ALTER TABLE `lkt_customer` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_customer` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_draw`
--
DROP TABLE IF EXISTS `lkt_draw`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_draw` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
`name` varchar(255) DEFAULT NULL COMMENT '活动名称',
`draw_brandid` int(11) NOT NULL COMMENT '该抽奖所参与商品ID',
`found_time` timestamp NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
`start_time` datetime DEFAULT NULL COMMENT '开始时间',
`end_time` datetime DEFAULT NULL COMMENT '结束时间',
`num` int(11) DEFAULT NULL COMMENT '每个团所需人数',
`spelling_number` int(11) DEFAULT NULL COMMENT '可抽中奖次数(默认为1)',
`collage_number` int(11) DEFAULT NULL COMMENT '最少开奖团数(默认为1)',
`state` int(11) DEFAULT '0' COMMENT '该团的状态(默认为0:未开始 ,1:进行中 , 2:已结束)',
`price` decimal(10,2) DEFAULT NULL COMMENT '抽奖金额',
`cishu` int(11) DEFAULT NULL COMMENT '次数 ',
`type` varchar(255) DEFAULT NULL COMMENT '备注',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='一分钱抽奖';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_draw`
--
LOCK TABLES `lkt_draw` WRITE;
/*!40000 ALTER TABLE `lkt_draw` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_draw` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_draw_user`
--
DROP TABLE IF EXISTS `lkt_draw_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_draw_user` (
`id` int(11) NOT NULL COMMENT 'ID',
`draw_id` int(11) DEFAULT NULL COMMENT '拼团ID',
`user_id` varchar(30) DEFAULT NULL COMMENT '用户ID',
`time` timestamp NULL DEFAULT NULL COMMENT '用户参团时间',
`role` varchar(30) DEFAULT '0' COMMENT '用户角色(默认 0:团长 userid:该用户分享进来的用户)',
`lottery_status` int(11) DEFAULT '0' COMMENT '抽奖状态(0.参团中 1.待抽奖 2.参团失败 3.抽奖失败 4.抽奖成功)'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='抽奖与用户关联表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_draw_user`
--
LOCK TABLES `lkt_draw_user` WRITE;
/*!40000 ALTER TABLE `lkt_draw_user` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_draw_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_draw_user_fromid`
--
DROP TABLE IF EXISTS `lkt_draw_user_fromid`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_draw_user_fromid` (
`id` int(11) NOT NULL,
`open_id` char(40) NOT NULL DEFAULT '' COMMENT '用户openid',
`fromid` char(50) NOT NULL DEFAULT '' COMMENT '用户fromid',
`lifetime` datetime DEFAULT NULL COMMENT '生命周期'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='抽奖用户fromid记录表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_draw_user_fromid`
--
LOCK TABLES `lkt_draw_user_fromid` WRITE;
/*!40000 ALTER TABLE `lkt_draw_user_fromid` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_draw_user_fromid` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_edition`
--
DROP TABLE IF EXISTS `lkt_edition`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_edition` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '类型 0:后台 1:小程序 2:app',
`software_version` varchar(50) NOT NULL COMMENT '软件版本:0:开源版本 1:运营版本 2:商业版本',
`name` varchar(20) NOT NULL COMMENT '名称',
`version` varchar(20) NOT NULL COMMENT '版本号',
`sid` int(11) NOT NULL DEFAULT '0' COMMENT '上一版本id',
`old_version` varchar(20) NOT NULL COMMENT '老版本号',
`download_url` varchar(100) NOT NULL COMMENT '下载网址',
`version_abstract` varchar(500) DEFAULT '' COMMENT '版本简介',
`release_time` timestamp NULL DEFAULT NULL COMMENT '发布时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='检查版本';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_edition`
--
LOCK TABLES `lkt_edition` WRITE;
/*!40000 ALTER TABLE `lkt_edition` DISABLE KEYS */;
INSERT INTO `lkt_edition` VALUES (1,2,'2','后台1.04','1.04',9,'1.03','https://open.laiketui.com/a15a744a5ca77d41baa9d4f272f45dfd/LKT/zip/lkt_update_1.04.zip','测试更新1.04版本','2018-07-26 11:40:33');
/*!40000 ALTER TABLE `lkt_edition` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_experience`
--
DROP TABLE IF EXISTS `lkt_experience`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_experience` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`user_id` char(15) NOT NULL DEFAULT '' COMMENT '用户id',
`seller_id` char(15) NOT NULL DEFAULT '' COMMENT '商家id',
`name` varchar(20) NOT NULL DEFAULT '' COMMENT '姓名',
`mobile` varchar(20) DEFAULT NULL COMMENT '手机',
`address` varchar(300) DEFAULT NULL COMMENT '地址',
`num` int(11) NOT NULL DEFAULT '0' COMMENT '数量',
`content` text NOT NULL COMMENT '内容',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '类型 0:申请预约 1:已预约 2:取消预约 3:完成'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='预约表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_experience`
--
LOCK TABLES `lkt_experience` WRITE;
/*!40000 ALTER TABLE `lkt_experience` DISABLE KEYS */;
INSERT INTO `lkt_experience` VALUES (1,'user7','','friendship','15886551130','asdfghjkl',1,'撒大大阿达打司法岛啊啊大的','2018-02-06 02:55:03',1),(2,'user7','','friendship','15886551130','asdfghjkl',1,'撒大大阿达打司法岛啊啊大的','2018-03-06 02:55:11',1),(3,'user7','','friendship','15886551130','asdfghjkl',1,'撒大大阿达打司法岛啊啊大的','2018-03-06 02:55:19',2);
/*!40000 ALTER TABLE `lkt_experience` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_express`
--
DROP TABLE IF EXISTS `lkt_express`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_express` (
`id` int(11) NOT NULL COMMENT 'id',
`kuaidi_name` varchar(255) DEFAULT NULL COMMENT '快递名称',
`type` varchar(255) DEFAULT NULL COMMENT '简称'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='快递公司';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_express`
--
LOCK TABLES `lkt_express` WRITE;
/*!40000 ALTER TABLE `lkt_express` DISABLE KEYS */;
INSERT INTO `lkt_express` VALUES (1,'aae全球专递','aae'),(2,'安捷快递','anjie'),(3,'安信达快递','anxindakuaixi'),(4,'彪记快递','biaojikuaidi'),(5,'bht','bht'),(6,'百福东方国际物流','baifudongfang'),(7,'中国东方(COE)','coe'),(8,'长宇物流','changyuwuliu'),(9,'大田物流','datianwuliu'),(10,'德邦物流','debangwuliu'),(11,'dhl','dhl'),(12,'dpex','dpex'),(13,'d速快递','dsukuaidi'),(14,'递四方','disifang'),(15,'ems快递','ems'),(16,'fedex(国外)','fedex'),(17,'飞康达物流','feikangda'),(18,'凤凰快递','fenghuangkuaidi'),(19,'飞快达','feikuaida'),(20,'国通快递','guotongkuaidi'),(21,'港中能达物流','ganzhongnengda'),(22,'广东邮政物流','guangdongyouzhengwuliu'),(23,'共速达','gongsuda'),(24,'百世汇通','huitongkuaidi'),(25,'恒路物流','hengluwuliu'),(26,'华夏龙物流','huaxialongwuliu'),(27,'海红','haihongwangsong'),(28,'海外环球','haiwaihuanqiu'),(29,'佳怡物流','jiayiwuliu'),(30,'京广速递','jinguangsudikuaijian'),(31,'急先达','jixianda'),(32,'佳吉物流','jjwl'),(33,'加运美物流','jymwl'),(34,'金大物流','jindawuliu'),(35,'嘉里大通','jialidatong'),(36,'晋越快递','jykd'),(37,'快捷速递','kuaijiesudi'),(38,'联邦快递(国内)','lianb'),(39,'联昊通物流','lianhaowuliu'),(40,'龙邦物流','longbanwuliu'),(41,'立即送','lijisong'),(42,'乐捷递','lejiedi'),(43,'民航快递','minghangkuaidi'),(44,'美国快递','meiguokuaidi'),(45,'门对门','menduimen'),(46,'OCS','ocs'),(47,'配思货运','peisihuoyunkuaidi'),(48,'全晨快递','quanchenkuaidi'),(49,'全峰快递','quanfengkuaidi'),(50,'全际通物流','quanjitong'),(51,'全日通快递','quanritongkuaidi'),(52,'全一快递','quanyikuaidi'),(53,'如风达','rufengda'),(54,'三态速递','santaisudi'),(55,'盛辉物流','shenghuiwuliu'),(56,'申通','shentong'),(57,'顺丰','shunfeng'),(58,'速尔物流','sue'),(59,'盛丰物流','shengfeng'),(60,'赛澳递','saiaodi'),(61,'天地华宇','tiandihuayu'),(62,'天天快递','tiantian'),(63,'tnt','tnt'),(64,'ups','ups'),(65,'万家物流','wanjiawuliu'),(66,'文捷航空速递','wenjiesudi'),(67,'伍圆','wuyuan'),(68,'万象物流','wxwl'),(69,'新邦物流','xinbangwuliu'),(70,'信丰物流','xinfengwuliu'),(71,'亚风速递','yafengsudi'),(72,'一邦速递','yibangwuliu'),(73,'优速物流','youshuwuliu'),(74,'邮政包裹挂号信','youzhengguonei'),(75,'邮政国际包裹挂号信','youzhengguoji'),(76,'远成物流','yuanchengwuliu'),(77,'圆通速递','yuantong'),(78,'源伟丰快递','yuanweifeng'),(79,'元智捷诚快递','yuanzhijiecheng'),(80,'韵达快运','yunda'),(81,'运通快递','yuntongkuaidi'),(82,'越丰物流','yuefengwuliu'),(83,'源安达','yad'),(84,'银捷速递','yinjiesudi'),(85,'宅急送','zhaijisong'),(86,'中铁快运','zhongtiekuaiyun'),(87,'中通速递','zhongtong'),(88,'中邮物流','zhongyouwuliu'),(89,'忠信达','zhongxinda'),(90,'芝麻开门','zhimakaimen');
/*!40000 ALTER TABLE `lkt_express` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_extension`
--
DROP TABLE IF EXISTS `lkt_extension`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_extension` (
`id` int(15) unsigned NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL COMMENT '名称',
`image` varchar(50) NOT NULL COMMENT '图片路径',
`sort` char(5) NOT NULL DEFAULT '100' COMMENT '排序号',
`x` char(5) NOT NULL DEFAULT '0' COMMENT 'x坐标',
`y` char(5) NOT NULL DEFAULT '0' COMMENT 'y坐标',
`add_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
`kuan` int(5) NOT NULL DEFAULT '150' COMMENT '二维码宽度',
`type` int(2) NOT NULL COMMENT '海报类型',
`keyword` varchar(100) NOT NULL COMMENT '关键词',
`isdefault` int(2) DEFAULT '0' COMMENT '是否默认',
`bg` varchar(200) DEFAULT NULL COMMENT '背景图片',
`color` varchar(10) DEFAULT NULL COMMENT '颜色',
`waittext` varchar(200) DEFAULT NULL COMMENT '等待语',
`data` text COMMENT '排序的数据',
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='推广图片表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_extension`
--
LOCK TABLES `lkt_extension` WRITE;
/*!40000 ALTER TABLE `lkt_extension` DISABLE KEYS */;
INSERT INTO `lkt_extension` VALUES (1,'1','','100','0','0','2018-11-08 02:47:20',150,3,'1',1,'1541645071376.png','#000','111','[{\"left\":\"9px\",\"top\":\"11px\",\"type\":\"thumb\",\"width\":\"299px\",\"height\":\"299px\"},{\"left\":\"11px\",\"top\":\"308px\",\"type\":\"title\",\"width\":\"294px\",\"height\":\"40px\",\"size\":\"16px\",\"color\":\"#000\"},{\"left\":\"110px\",\"top\":\"380px\",\"type\":\"productprice\",\"width\":\"95px\",\"height\":\"31px\",\"size\":\"16px\",\"color\":\"#000\"},{\"left\":\"110px\",\"top\":\"347px\",\"type\":\"marketprice\",\"width\":\"99px\",\"height\":\"34px\",\"size\":\"16px\",\"color\":\"#000\"},{\"left\":\"122px\",\"top\":\"411px\",\"type\":\"qr\",\"width\":\"70px\",\"height\":\"70px\"}]');
/*!40000 ALTER TABLE `lkt_extension` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_finance_config`
--
DROP TABLE IF EXISTS `lkt_finance_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_finance_config` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`plug_ins_id` int(11) NOT NULL DEFAULT '0' COMMENT '插件id',
`min_cz` decimal(12,2) DEFAULT '0.00' COMMENT '最小充值金额',
`min_amount` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '最少提现金额',
`max_amount` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '最大提现金额',
`service_charge` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '手续费',
`unit` varchar(50) NOT NULL DEFAULT '' COMMENT '小程序钱包单位',
`modify_date` timestamp NULL DEFAULT NULL COMMENT '修改时间',
`multiple` int(6) DEFAULT '0' COMMENT '提现倍数',
`transfer_multiple` int(6) DEFAULT '0' COMMENT '转账倍数',
`cz_multiple` int(6) DEFAULT '100' COMMENT '充值倍数',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='钱包配置表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_finance_config`
--
LOCK TABLES `lkt_finance_config` WRITE;
/*!40000 ALTER TABLE `lkt_finance_config` DISABLE KEYS */;
INSERT INTO `lkt_finance_config` VALUES (1,2,100.00,100.00,20000.00,0.05,'','2018-11-07 08:24:20',100,100,100);
/*!40000 ALTER TABLE `lkt_finance_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_freight`
--
DROP TABLE IF EXISTS `lkt_freight`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_freight` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`name` varchar(60) NOT NULL DEFAULT '' COMMENT '名称',
`type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '类型 0:件 1:重量',
`freight` text COMMENT '运费',
`is_default` tinyint(4) NOT NULL DEFAULT '0' COMMENT '类型 0:不默认 1:默认',
`add_time` timestamp NULL DEFAULT NULL COMMENT '添加时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='运费表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_freight`
--
LOCK TABLES `lkt_freight` WRITE;
/*!40000 ALTER TABLE `lkt_freight` DISABLE KEYS */;
INSERT INTO `lkt_freight` VALUES (1,'偏远地区20元',0,'a:5:{i:0;a:5:{s:3:\"one\";s:1:\"1\";s:3:\"two\";s:2:\"20\";s:5:\"three\";s:1:\"1\";s:4:\"four\";s:1:\"0\";s:4:\"name\";s:57:\"内蒙古自治区,黑龙江省,西藏自治区,新疆省\";}i:1;a:5:{s:3:\"one\";s:1:\"1\";s:3:\"two\";s:1:\"0\";s:5:\"three\";s:1:\"1\";s:4:\"four\";s:1:\"0\";s:4:\"name\";s:9:\"福建省\";}i:2;a:5:{s:3:\"one\";s:1:\"1\";s:3:\"two\";s:1:\"0\";s:5:\"three\";s:1:\"1\";s:4:\"four\";s:1:\"0\";s:4:\"name\";s:9:\"重庆市\";}i:3;a:5:{s:3:\"one\";s:1:\"1\";s:3:\"two\";s:1:\"0\";s:5:\"three\";s:1:\"1\";s:4:\"four\";s:1:\"0\";s:4:\"name\";s:9:\"安徽省\";}i:4;a:5:{s:3:\"one\";s:1:\"1\";s:3:\"two\";s:1:\"0\";s:5:\"three\";s:1:\"1\";s:4:\"four\";s:1:\"0\";s:4:\"name\";s:9:\"广西省\";}}',0,'2018-09-26 22:28:24'),(2,'10元',0,'a:1:{i:0;a:5:{s:3:\"one\";s:1:\"1\";s:3:\"two\";s:2:\"10\";s:5:\"three\";s:1:\"1\";s:4:\"four\";s:1:\"0\";s:4:\"name\";s:359:\"北京市,天津市,河北省,山西省,内蒙古自治区,辽宁省,吉林省,黑龙江省,上海市,江苏省,浙江省,安徽省,福建省,江西省,山东省,河南省,湖北省,湖南省,广东省,广西省,海南省,重庆市,四川省,贵州省,云南省,西藏自治区,陕西省,甘肃省,青海省,宁夏市,新疆省,台湾省,香港特别行政区\";}}',1,'2018-10-23 07:21:31');
/*!40000 ALTER TABLE `lkt_freight` ENABLE KEYS */;
UNLOCK TABLES;
CREATE TABLE `lkt_group_open` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`uid` char(40) NOT NULL DEFAULT '' COMMENT '用户id',
`ptgoods_id` int(11) DEFAULT NULL COMMENT '拼团商品id',
`ptcode` varchar(50) DEFAULT NULL COMMENT '拼团编号',
`ptnumber` int(11) DEFAULT NULL COMMENT '拼团人数',
`addtime` datetime DEFAULT NULL COMMENT '创建日期',
`endtime` datetime DEFAULT NULL COMMENT '结束时间',
`ptstatus` tinyint(1) DEFAULT '0' COMMENT '0:未付款 1:拼团中,2:拼团成功, 3:拼团失败, ',
`group_id` char(10) NOT NULL COMMENT '所属拼团',
`sNo` varchar(255) DEFAULT NULL COMMENT '订单号',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户拼团表';
CREATE TABLE `lkt_group_config` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`refunmoney` smallint(6) NOT NULL COMMENT '退款方式: 1,自动 2,手动',
`group_time` int(11) NOT NULL COMMENT '拼团时限',
`open_num` int(11) NOT NULL COMMENT '开团数量',
`can_num` int(11) NOT NULL COMMENT '参团数量',
`can_again` tinyint(1) NOT NULL COMMENT '是否可重复参团1 是 0 否',
`open_discount` tinyint(1) NOT NULL COMMENT '是否开启团长优惠 1 是 0 否',
`rule` text NOT NULL COMMENT '规则',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=23 DEFAULT CHARSET=utf8 COMMENT='拼团参数配置表';
LOCK TABLES `lkt_group_config` WRITE;
/*!40000 ALTER TABLE `lkt_group_config` DISABLE KEYS */;
INSERT INTO `lkt_group_config` (`id`, `refunmoney`, `group_time`, `open_num`, `can_num`, `can_again`, `open_discount`, `rule`) VALUES ('1', '1', '1', '10', '10', '1', '1', '<p style=\"text-align: left;\"><span style=\"font-size: 18px;\">拼团规则:</span></p><p style=\"text-align: left;\"><span style=\"font-size: 14px;\">1、卖家点击商品详情查看活动,下单支付成功算开团,成为团长</span></p><p style=\"text-align: left;\"><span style=\"font-size: 14px;\">2、开团后进入团详情,分享给好友,好友拍下支付成功则开团成功</span></p><p style=\"text-align: left;\"><span style=\"font-size: 10px;\">温馨提示:开团后有效期以拼团时限;有效期内凑成人数算成团;等待商家发货,若有效期内没成团,原路退回。最终解释权归本商城所有。</span></p><p><br/></p>');
/*!40000 ALTER TABLE `lkt_group_config` ENABLE KEYS */;
UNLOCK TABLES;
CREATE TABLE `lkt_group_product` (
`group_id` int(11) NOT NULL COMMENT '活动ID',
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`group_title` varchar(255) NOT NULL DEFAULT '' COMMENT '拼团活动标题',
`attr_id` int(11) NOT NULL COMMENT '规格id',
`product_id` int(11) unsigned DEFAULT NULL COMMENT '产品id',
`group_level` varchar(200) NOT NULL DEFAULT '' COMMENT '拼团等级价格参数',
`group_data` varchar(300) NOT NULL DEFAULT '' COMMENT '拼团参数数据',
`g_status` tinyint(4) NOT NULL DEFAULT '1' COMMENT '活动状态: 1--未开始 2--活动中 3--已结束',
`is_show` tinyint(4) NOT NULL DEFAULT '1' COMMENT '是否显示',
`recycle` tinyint(4) NOT NULL DEFAULT '0' COMMENT '0不回收,1.回收',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='拼团产品';
--
-- Table structure for table `lkt_guide`
--
DROP TABLE IF EXISTS `lkt_guide`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_guide` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`image` varchar(200) NOT NULL DEFAULT '' COMMENT '图片',
`type` int(11) DEFAULT NULL COMMENT '类型',
`sort` int(11) DEFAULT NULL COMMENT '排序',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='引导图表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_guide`
--
LOCK TABLES `lkt_guide` WRITE;
/*!40000 ALTER TABLE `lkt_guide` DISABLE KEYS */;
INSERT INTO `lkt_guide` VALUES (1,'1529049789338.jpeg',0,1,'2018-06-15 08:03:11'),(2,'1529049817545.jpeg',1,100,'2018-06-15 08:03:38'),(12,'octet-stream',1,100,'2018-09-30 05:36:18');
/*!40000 ALTER TABLE `lkt_guide` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_hotkeywords`
--
DROP TABLE IF EXISTS `lkt_hotkeywords`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_hotkeywords` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`keyword` char(60) NOT NULL DEFAULT '',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_hotkeywords`
--
LOCK TABLES `lkt_hotkeywords` WRITE;
/*!40000 ALTER TABLE `lkt_hotkeywords` DISABLE KEYS */;
INSERT INTO `lkt_hotkeywords` VALUES (1,'男装'),(2,'手机'),(3,'智能手机'),(4,'一分钱'),(5,'华为手机'),(7,'小程序插件');
/*!40000 ALTER TABLE `lkt_hotkeywords` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_index_page`
--
DROP TABLE IF EXISTS `lkt_index_page`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_index_page` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`image` varchar(200) DEFAULT '' COMMENT '图片',
`url` varchar(100) DEFAULT '' COMMENT '链接',
`sort` int(11) DEFAULT '10' COMMENT '排序',
`type` varchar(10) DEFAULT 'img' COMMENT '类型',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='首页模块表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_index_page`
--
LOCK TABLES `lkt_index_page` WRITE;
/*!40000 ALTER TABLE `lkt_index_page` DISABLE KEYS */;
INSERT INTO `lkt_index_page` VALUES (1,'','1',100,'category','2018-10-18 13:12:49');
/*!40000 ALTER TABLE `lkt_index_page` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_lottery_parameters`
--
DROP TABLE IF EXISTS `lkt_lottery_parameters`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_lottery_parameters` (
`id` int(11) NOT NULL COMMENT 'id ',
`parameters` varchar(255) NOT NULL COMMENT '参数值',
`user_id` varchar(20) NOT NULL COMMENT '用户id',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='抽奖参数表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_lottery_parameters`
--
LOCK TABLES `lkt_lottery_parameters` WRITE;
/*!40000 ALTER TABLE `lkt_lottery_parameters` DISABLE KEYS */;
INSERT INTO `lkt_lottery_parameters` VALUES (5,'33','1');
/*!40000 ALTER TABLE `lkt_lottery_parameters` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_menu`
--
DROP TABLE IF EXISTS `lkt_menu`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_menu` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`user_id` char(15) NOT NULL DEFAULT '' COMMENT '客户id',
`name` varchar(20) NOT NULL DEFAULT '' COMMENT '名称',
`url` varchar(100) DEFAULT NULL COMMENT '路径',
`image` varchar(200) DEFAULT NULL COMMENT '没选中图片',
`selected_image` varchar(200) DEFAULT NULL COMMENT '选中图片',
`sort` int(11) DEFAULT NULL COMMENT '排序',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='底部菜单表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_menu`
--
LOCK TABLES `lkt_menu` WRITE;
/*!40000 ALTER TABLE `lkt_menu` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_menu` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_money_point`
--
DROP TABLE IF EXISTS `lkt_money_point`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_money_point` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`user_id` varchar(15) NOT NULL COMMENT '用户ID',
`type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '奖金类型',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '应发金额',
`s_money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '实发金额',
`fx_money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '手续费一',
`tax_money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '手续费二',
`o_money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '手续费三',
`si_money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '手续费四',
`w_money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '手续费五',
`isf` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否延迟发放',
`f_time` time NOT NULL COMMENT '发放时间',
`from_ordersn` varchar(15) NOT NULL COMMENT '订单编号',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='奖金收益表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_money_point`
--
LOCK TABLES `lkt_money_point` WRITE;
/*!40000 ALTER TABLE `lkt_money_point` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_money_point` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_news_class`
--
DROP TABLE IF EXISTS `lkt_news_class`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_news_class` (
`cat_id` int(11) unsigned NOT NULL COMMENT '新闻分类id',
`cat_name` char(15) DEFAULT NULL COMMENT '分类名称',
`sort` int(11) DEFAULT NULL COMMENT '排序',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
PRIMARY KEY (`cat_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='新闻分类';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_news_class`
--
LOCK TABLES `lkt_news_class` WRITE;
/*!40000 ALTER TABLE `lkt_news_class` DISABLE KEYS */;
INSERT INTO `lkt_news_class` VALUES (1,'财富时报',2,'2018-02-04 01:16:03'),(4,'金融世界',3,'2018-02-04 18:27:22');
/*!40000 ALTER TABLE `lkt_news_class` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_news_list`
--
DROP TABLE IF EXISTS `lkt_news_list`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_news_list` (
`id` int(11) unsigned NOT NULL COMMENT '新闻id',
`news_title` varchar(100) NOT NULL DEFAULT '' COMMENT '新闻标题',
`news_class` int(11) NOT NULL COMMENT '新闻类别',
`imgurl` varchar(200) NOT NULL DEFAULT '' COMMENT '新闻图片',
`content` text NOT NULL COMMENT '新闻内容',
`sort` int(11) DEFAULT NULL COMMENT '排序',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`author` varchar(100) NOT NULL COMMENT '作者',
`clicking_num` int(11) NOT NULL DEFAULT '0' COMMENT '点击率',
`share_num` int(11) NOT NULL DEFAULT '0' COMMENT '分享次数',
`total_amount` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '红包总金额',
`total_num` int(11) NOT NULL DEFAULT '0' COMMENT '红包个数',
`wishing` varchar(100) NOT NULL DEFAULT '' COMMENT '祝福语',
`t_link` varchar(255) DEFAULT NULL COMMENT '推广二维码图片链接',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='新闻表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_news_list`
--
LOCK TABLES `lkt_news_list` WRITE;
/*!40000 ALTER TABLE `lkt_news_list` DISABLE KEYS */;
INSERT INTO `lkt_news_list` VALUES (1,'周杰伦',4,'152265267288.jpg','<p><span style=\"color: #a31515;\">不支持HTML、没有 Dom。网页用的 JS、CSS 基本要全部重写,WXML 的语法和 HTML 差异还挺大,基本是一个个照着手册的属性去改。CSS 选择器不支持级联。不支持HTML、没有 Dom。网页用的 JS、CSS 基本要全部重写,WXML 的语法和 HTML 差异还挺大,基本是一个个照着手册的属性去改。CSS 选择器不支持级联。不支持HTML、没有 Dom。网页用的 JS、CSS 基本要全部重写,WXML 的语法和 HTML 差异还挺大,基本是一个个照着手册的属性去改。CSS 选择器不支持级联。</span></p><p><br/></p>',100,'2018-02-04 17:47:13','周杰伦',0,39,0.00,0,'',''),(3,'阿银',1,'','<p><span style=\"color: #a31515;\">&nbsp;&nbsp;&nbsp;&nbsp;银针</span></p><p><br/></p>',100,'2018-02-04 17:52:31','',0,13,0.00,-1,'',NULL),(4,'白晶晶',1,'','<p><span style=\"color: rgb(46, 52, 59); font-family: &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, 微软雅黑, arial, Tahoma, SimSun, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);\">1、对接公司的合同资料收集,录入登记和审核;</span><br style=\"outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05); color: rgb(46, 52, 59); font-family: &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, 微软雅黑, arial, Tahoma, SimSun, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);\"/><span style=\"color: rgb(46, 52, 59); font-family: &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, 微软雅黑, arial, Tahoma, SimSun, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);\">2、每月的业绩结算及相关文案编辑,有PS兴趣最好;</span><br style=\"outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05); color: rgb(46, 52, 59); font-family: &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, 微软雅黑, arial, Tahoma, SimSun, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);\"/><span style=\"color: rgb(46, 52, 59); font-family: &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, 微软雅黑, arial, Tahoma, SimSun, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);\">3、基本的部门行政管理;</span><br style=\"outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05); color: rgb(46, 52, 59); font-family: &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, 微软雅黑, arial, Tahoma, SimSun, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);\"/><span style=\"color: rgb(46, 52, 59); font-family: &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, 微软雅黑, arial, Tahoma, SimSun, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);\">4、平时团队工作和总监交代的临时性工作等;</span><br style=\"outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05); color: rgb(46, 52, 59); font-family: &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, 微软雅黑, arial, Tahoma, SimSun, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);\"/><span style=\"color: rgb(46, 52, 59); font-family: &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, 微软雅黑, arial, Tahoma, SimSun, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255);\">5、公司提供住宿。</span><br style=\"outline: 0px; text-size-adjust: none; -webkit-tap-highlight-color: rgba(0, 0, 0, 0.05); color: rgb(46, 52, 59); font-family: &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, 微软雅黑, arial, Tahoma, SimSun, sans-serif; font-size: 14px; white-space: normal; background-color: rgb(255, 255, 255);\"/><span style=\"color: rgb(46, 52, 59); font-family: &quot;Microsoft YaHei&quot;, &quot;Hiragino Sans GB&quot;, 微软雅黑, arial, Tahoma, SimSun, sa
/*!40000 ALTER TABLE `lkt_news_list` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_notice`
--
DROP TABLE IF EXISTS `lkt_notice`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_notice` (
`id` int(11) NOT NULL COMMENT '配置id',
`pay_success` varchar(100) DEFAULT NULL COMMENT '购买成功通知',
`order_delivery` varchar(100) DEFAULT NULL COMMENT '订单发货提醒',
`order_success` varchar(100) DEFAULT NULL COMMENT '订单支付成功通知',
`group_pay_success` varchar(100) DEFAULT NULL COMMENT '开团成功提醒',
`group_pending` varchar(100) DEFAULT NULL COMMENT '拼团待成团提醒',
`group_success` varchar(100) DEFAULT NULL COMMENT '拼团成功通知',
`group_fail` varchar(100) DEFAULT NULL COMMENT '拼团失败通知',
`lottery_res` varchar(100) DEFAULT NULL COMMENT '抽奖结果通知',
`refund_success` varchar(100) DEFAULT NULL COMMENT '退款成功通知',
`refund_res` varchar(100) DEFAULT NULL COMMENT '退款通知',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='模板消息表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_notice`
--
LOCK TABLES `lkt_notice` WRITE;
/*!40000 ALTER TABLE `lkt_notice` DISABLE KEYS */;
INSERT INTO `lkt_notice` VALUES (1,'gor5Kc173Kd76D16STEL123hOKo2aqQkbdGu1il_GKE','OJEF1aI_fHjrD6h0LVxdanQA2pQU9i_oD_UmqL-0pl0','_9dU-2MTHlrh2hqat6q-nGBUzFfkpaozRx7zO6NPETw','K1ma6MTUQRoU5BMX8veWqPZ2i51TCsck2Gcs1dq7Ta0','Eqv8dncmXwPj_UcNFuIazsLbuT-2wrcO3j21K98zHHs','S1SSTYG2IQsowH4bctzHD95XFKxo7DfDaMxOy9yLiy4','dvmJmGh7jk92jjWJXiF9tJHZ-eb408Eq02AMw9jHVFI','R-QHdZ2twMmgCeFOx_KEge1-2ylYmusNKe79C2ShV50','moNsDOO6MhKFSGB1zHXigWO9lKq9CjAreR_bf2OZ2TI','m1FFBWiae7H9H9XPa2Cm_4h2r44nbylrSx3cMZ7dyt0');
/*!40000 ALTER TABLE `lkt_notice` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_order`
--
DROP TABLE IF EXISTS `lkt_order`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_order` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`user_id` char(15) DEFAULT NULL COMMENT '用户id',
`name` varchar(50) DEFAULT '' COMMENT '姓名',
`mobile` varchar(20) DEFAULT NULL COMMENT '联系电话',
`num` int(11) DEFAULT NULL COMMENT '数量',
`z_price` decimal(12,2) DEFAULT '0.00' COMMENT '总价',
`sNo` varchar(255) DEFAULT NULL COMMENT '订单号',
`sheng` int(11) DEFAULT NULL COMMENT '',
`shi` int(11) DEFAULT NULL COMMENT '',
`xian` int(11) DEFAULT NULL COMMENT '',
`address` text COMMENT '详细地址',
`remark` varchar(32) DEFAULT NULL COMMENT '用户备注',
`pay` char(15) DEFAULT NULL COMMENT '支付方式',
`add_time` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`arrive_time` timestamp NULL DEFAULT NULL COMMENT '到货时间',
`status` tinyint(4) DEFAULT '0' COMMENT '状态 0:未付款 1:未发货 2:待收货 3:待评论 4:退货 5:已完成 6:订单失效 7:订单关闭 8:追加评论 9:拼团中 10:拼团失败-未退款 11:拼团失败-已退款 12:已完成(已追加过评论)',
`coupon_id` int(11) DEFAULT '0' COMMENT '优惠券id',
`consumer_money` int(11) DEFAULT '0' COMMENT '消费金',
`coupon_activity_name` varchar(50) DEFAULT '0' COMMENT '满减活动名称',
`drawid` int(11) DEFAULT '0' COMMENT '活动ID',
`otype` char(30) DEFAULT '' COMMENT '订单类型',
`ptcode` char(15) DEFAULT '' COMMENT '拼团编号',
`pid` char(10) DEFAULT '' COMMENT '所属团号',
`ptstatus` smallint(6) DEFAULT NULL COMMENT '拼团状态:0,未付款 1,拼团中 2,拼团成功 3,拼团失败',
`refundsNo` char(30) DEFAULT '' COMMENT '拼团退款单号',
`trade_no` char(20) DEFAULT '' COMMENT '微信支付单号',
`is_anonymous` int(1) DEFAULT '0' COMMENT '是否匿名(0,否 1.是',
`logistics_service` int(1) DEFAULT NULL COMMENT '物流服务',
`overall_evaluation` int(1) DEFAULT NULL COMMENT '总体评价',
`spz_price` decimal(10,2) DEFAULT '0.00' COMMENT '商品总价',
`reduce_price` decimal(10,2) DEFAULT '0.00' COMMENT '查询出的满减金额',
`coupon_price` decimal(10,2) DEFAULT '0.00' COMMENT '查询出的优惠券金额',
`red_packet` varchar(255) DEFAULT '0' COMMENT '红包金额',
`allow` int(8) DEFAULT '0' COMMENT '积分',
`parameter` text COMMENT '参数',
`source` tinyint(4) DEFAULT NULL COMMENT '来源 1.小程序 2.app',
`plugin` varchar(255) DEFAULT NULL COMMENT '插件标志',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='订单列表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_order`
--
LOCK TABLES `lkt_order` WRITE;
/*!40000 ALTER TABLE `lkt_order` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_order` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_order_config`
--
DROP TABLE IF EXISTS `lkt_order_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_order_config` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`days` int(11) DEFAULT NULL COMMENT '承若天数',
`content` varchar(30) DEFAULT NULL COMMENT '承若内容',
`back` int(11) NOT NULL DEFAULT '2' COMMENT '退货时间',
`order_failure` int(11) NOT NULL COMMENT '订单失效',
`company` varchar(20) NOT NULL DEFAULT '' COMMENT '单位',
`order_overdue` int(11) NOT NULL DEFAULT '2' COMMENT '订单过期删除时间',
`unit` varchar(50) NOT NULL DEFAULT '' COMMENT '单位',
`modify_date` timestamp NULL DEFAULT NULL COMMENT '修改时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='订单设置';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_order_config`
--
LOCK TABLES `lkt_order_config` WRITE;
/*!40000 ALTER TABLE `lkt_order_config` DISABLE KEYS */;
INSERT INTO `lkt_order_config` VALUES (1,0,'',2,48,'小时',3,'小时','2018-10-25 05:45:58');
ALTER TABLE `lkt_order_config` ADD `customer` VARCHAR(255) NULL DEFAULT NULL COMMENT '快递100公司编号' AFTER `unit`, ADD `kdkey` VARCHAR(255) NULL DEFAULT NULL COMMENT '快递100客户授权key' AFTER `customer`;
/*!40000 ALTER TABLE `lkt_order_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_order_data`
--
DROP TABLE IF EXISTS `lkt_order_data`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_order_data` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`trade_no` char(32) DEFAULT NULL COMMENT '微信订单号',
`data` text,
`addtime` datetime NOT NULL COMMENT '创建时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='订单临时信息表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_order_data`
--
LOCK TABLES `lkt_order_data` WRITE;
/*!40000 ALTER TABLE `lkt_order_data` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_order_data` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_order_details`
--
DROP TABLE IF EXISTS `lkt_order_details`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_order_details` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`user_id` char(15) DEFAULT NULL COMMENT '用户id',
`p_id` int(11) DEFAULT NULL COMMENT '产品id',
`p_name` varchar(50) DEFAULT NULL COMMENT '产品名称',
`p_price` decimal(12,2) DEFAULT '0.00' COMMENT '产品价格',
`num` int(11) DEFAULT NULL COMMENT '数量',
`unit` varchar(50) DEFAULT NULL COMMENT '单位',
`r_sNo` varchar(255) DEFAULT NULL COMMENT '订单号',
`add_time` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`deliver_time` timestamp NULL DEFAULT NULL COMMENT '发货时间',
`arrive_time` timestamp NULL DEFAULT NULL COMMENT '到货时间',
`r_status` tinyint(4) DEFAULT '0' COMMENT '''状态 0:未付款 1:未发货 2:待收货 3:待评论 4:退货 5:已完成 6 订单关闭 9拼团中 10 拼团失败-未退款 11 拼团失败-已退款 12:已完成(已追加评论)''',
`content` text COMMENT '退货原因',
`reason` text COMMENT 'app退款原因',
`re_type` tinyint(4) DEFAULT '0' COMMENT '退款类型 1:退货退款 2:退款',
`re_money` float(12,2) DEFAULT NULL COMMENT '退款金额',
`re_time` datetime DEFAULT NULL COMMENT '申请退款时间',
`re_photo` char(20) DEFAULT '' COMMENT '上传凭证',
`r_content` text COMMENT '拒绝原因',
`r_type` tinyint(4) DEFAULT '0' COMMENT '类型 0:审核中 1:同意并发货 2:拒绝 3:用户已快递 4:同意并退款 5:拒绝并退回商品',
`express_id` int(255) DEFAULT NULL COMMENT '快递公司id',
`courier_num` varchar(40) DEFAULT NULL COMMENT '快递单号',
`freight` int(4) DEFAULT '0' COMMENT '运费',
`size` varchar(100) DEFAULT NULL COMMENT '配置名称',
`sid` char(11) DEFAULT NULL,
`plugin` varchar(255) DEFAULT NULL COMMENT '插件标志',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='订单详情列表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_order_details`
--
LOCK TABLES `lkt_order_details` WRITE;
/*!40000 ALTER TABLE `lkt_order_details` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_order_details` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_plug_ins`
--
DROP TABLE IF EXISTS `lkt_plug_ins`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_plug_ins` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`software_id` varchar(60) NOT NULL DEFAULT '' COMMENT '软件id',
`name` varchar(60) NOT NULL DEFAULT '' COMMENT '首页插件名称',
`subtitle_name` varchar(60) NOT NULL DEFAULT '' COMMENT '个人中心插件名称',
`type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '类型 0:小程序 1:app',
`image` varchar(255) NOT NULL COMMENT '首页插件图片',
`subtitle_image` varchar(255) NOT NULL COMMENT '个人中心插件图片',
`url` varchar(100) NOT NULL DEFAULT '' COMMENT '首页链接',
`subtitle_url` varchar(100) NOT NULL DEFAULT '' COMMENT '个人中心链接',
`add_time` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`sort` int(11) DEFAULT NULL COMMENT '排序',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态 0:未启用 1:启用',
`Customer_id` varchar(15) DEFAULT '' COMMENT '客户id',
`code` varchar(255) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL COMMENT '插件标志',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=6 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='插件表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_plug_ins`
--
LOCK TABLES `lkt_plug_ins` WRITE;
/*!40000 ALTER TABLE `lkt_plug_ins` DISABLE KEYS */;
INSERT INTO `lkt_plug_ins` VALUES ('1', '3', '优惠劵', '我的优惠劵', '0', '1541641112751.png', '1541641131972.png', '../coupon/index?currentTab=0&type=receive', '../coupon/index?currentTab=1', '2018-11-08 17:38:53', '2', '1', '', 'YHQ');
INSERT INTO `lkt_plug_ins` VALUES ('2', '3', '钱包', '我的钱包', '0', '1571913117990.png', '1571904693789.png', '../user/wallet', '../user/wallet', '2019-10-24 18:31:59', '1', '1', '', 'QB');
INSERT INTO `lkt_plug_ins` VALUES ('3', '3', '签到', '我的积分', '0', '1541641221938.png', '1541641238944.png', '../sign_in/sign_in', '../user/score', '2018-11-08 17:40:39', '4', '1', '', 'QD');
INSERT INTO `lkt_plug_ins` VALUES ('5', '3', '拼团', '我的拼团', '0', '1541641254824.png', '1571904730253.png', '../group_buy/group', '../order/order?currentTab=0&otype=pay6', '2019-10-25 00:12:12', '5', '1', '', 'PT');
INSERT INTO `lkt_plug_ins` (`id`, `software_id`, `name`, `subtitle_name`, `type`, `image`, `subtitle_image`, `url`, `subtitle_url`, `add_time`, `sort`, `status`, `Customer_id`, `code`) VALUES (NULL, '3', '直播间', '进入直播间', '0', '1571905532198.png', '1571904730253.png', 'plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=直播房间id', 'plugin-private://wx2b03c6e691cd7370/pages/live-player-plugin?room_id=直播房间id', '2019-10-25 08:12:12', '5', '0', '', 'LIVE');
INSERT INTO `lkt_plug_ins` (`id`, `software_id`, `name`, `subtitle_name`, `type`, `image`, `subtitle_image`, `url`, `subtitle_url`, `add_time`, `sort`, `status`, `Customer_id`, `code`) VALUES (NULL, '3', '分销', '我的分销', '0', '153667229722.png', '1571904730253.png', '../distribution/list', '../distribution/user', '2020-06-08 22:54:35', '5', '1', '', 'distribution');
/*!40000 ALTER TABLE `lkt_plug_ins` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_product_class`
--
DROP TABLE IF EXISTS `lkt_product_class`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_product_class` (
`cid` int(11) NOT NULL AUTO_INCREMENT,
`sid` int(11) DEFAULT NULL COMMENT '上级id',
`pname` char(15) DEFAULT NULL COMMENT '分类名称',
`img` varchar(200) NOT NULL DEFAULT '' COMMENT '分类图片',
`bg` varchar(255) DEFAULT NULL COMMENT '小图标',
`level` int(11) DEFAULT NULL COMMENT '级别',
`sort` int(11) DEFAULT NULL COMMENT '排序',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`recycle` tinyint(4) NOT NULL DEFAULT '0' COMMENT '回收站 0.不回收 1.回收',
PRIMARY KEY (`cid`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='产品分类';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_product_class`
--
LOCK TABLES `lkt_product_class` WRITE;
/*!40000 ALTER TABLE `lkt_product_class` DISABLE KEYS */;
-- INSERT INTO `lkt_product_class` VALUES (1,0,'百货','1541601571889.jpeg','1541601586943.jpeg',0,139,'2018-05-01 14:07:03',0);
INSERT INTO `lkt_product_class` VALUES ('1', '0', '日用百货', '1571902493657.png', '1571904192519.png', '0', '100', '2018-05-01 22:07:03', '0');
INSERT INTO `lkt_product_class` VALUES ('2', '0', '手机数码', '1571902538514.png', '1571904235115.png', '0', '100', '2018-05-01 22:07:03', '0');
INSERT INTO `lkt_product_class` VALUES ('3', '0', '家居家纺', '1571902573296.png', '157190426397.png', '0', '100', '2018-05-01 22:07:03', '0');
INSERT INTO `lkt_product_class` VALUES ('4', '0', '家用电器', '157190229434.png', '1571904336804.png', '0', '100', '2018-05-01 22:07:03', '0');
INSERT INTO `lkt_product_class` VALUES ('5', '0', '美妆护理', '1571902336563.png', '1571904350158.png', '0', '100', '2018-05-01 22:07:03', '0');
INSERT INTO `lkt_product_class` VALUES ('6', '0', '服饰箱包', '1571902376170.png', '1571904382225.png', '0', '100', '2018-05-01 22:07:03', '0');
INSERT INTO `lkt_product_class` VALUES ('7', '0', '精致鞋靴', '157190239316.png', '1571904402862.png', '0', '100', '2018-05-01 22:07:03', '0');
INSERT INTO `lkt_product_class` VALUES ('18', '1', '收纳整理', '1571905532198.png', '', '1', '100', '2019-10-24 16:25:34', '0');
INSERT INTO `lkt_product_class` VALUES ('19', '1', '厨房工具', '1571905819306.png', '', '1', '100', '2019-10-24 16:30:21', '0');
INSERT INTO `lkt_product_class` VALUES ('20', '2', '手机', '1571905896705.png', '', '1', '100', '2019-10-24 16:31:38', '0');
INSERT INTO `lkt_product_class` VALUES ('21', '2', '平板', '1571906215766.png', '', '1', '100', '2019-10-24 16:35:40', '0');
INSERT INTO `lkt_product_class` VALUES ('22', '3', '卧室家具', '1571906316856.jpeg', '', '1', '100', '2019-10-24 16:38:37', '0');
INSERT INTO `lkt_product_class` VALUES ('23', '4', '厨房电器', '1571906401230.jpeg', '', '1', '100', '2019-10-24 16:40:06', '0');
INSERT INTO `lkt_product_class` VALUES ('24', '4', '大家电', '1571906455925.jpeg', '', '1', '100', '2019-10-24 16:40:56', '0');
INSERT INTO `lkt_product_class` VALUES ('25', '5', '美容护肤', '1571906498482.jpeg', '', '1', '100', '2019-10-24 16:41:39', '0');
INSERT INTO `lkt_product_class` VALUES ('26', '6', '女装', '1571906576506.png', '', '1', '100', '2019-10-24 16:42:58', '0');
INSERT INTO `lkt_product_class` VALUES ('27', '6', '行李箱', '1571906612578.png', '', '1', '100', '2019-10-24 16:43:33', '0');
INSERT INTO `lkt_product_class` VALUES ('28', '7', '女鞋', '1571906639760.png', '', '1', '100', '2019-10-24 16:44:00', '0');
/*!40000 ALTER TABLE `lkt_product_class` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_product_config`
--
DROP TABLE IF EXISTS `lkt_product_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_product_config` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`config` text COMMENT '配置',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='产品配置表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_product_config`
--
LOCK TABLES `lkt_product_config` WRITE;
/*!40000 ALTER TABLE `lkt_product_config` DISABLE KEYS */;
INSERT INTO `lkt_product_config` VALUES (1,'a:1:{s:13:\"min_inventory\";s:2:\"10\";}','2018-11-06 03:50:03');
/*!40000 ALTER TABLE `lkt_product_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_product_img`
--
DROP TABLE IF EXISTS `lkt_product_img`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_product_img` (
`id` int(11) unsigned NOT NULL COMMENT '图片id',
`product_url` varchar(100) NOT NULL COMMENT '产品图片',
`product_id` int(11) NOT NULL COMMENT '所属产品id',
`seller_id` char(15) DEFAULT '' COMMENT '用户id',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='图片表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_product_img`
--
INSERT INTO `lkt_product_img` VALUES ('1', '154164716539.jpg', '1', '', '2018-04-19 18:23:39');
INSERT INTO `lkt_product_img` VALUES ('0', '157190702561.png', '2', '', '2019-10-24 16:50:25');
INSERT INTO `lkt_product_img` VALUES ('0', '15719072704.png', '3', '', '2019-10-24 16:54:30');
INSERT INTO `lkt_product_img` VALUES ('0', '157190795624.png', '4', '', '2019-10-24 17:05:56');
ALTER TABLE `lkt_product_img` ADD `seq` TINYINT NOT NULL DEFAULT '0' AFTER `product_id`;
LOCK TABLES `lkt_product_img` WRITE;
/*!40000 ALTER TABLE `lkt_product_img` DISABLE KEYS */;
INSERT INTO `lkt_product_img` VALUES (1,'154164716539.jpg',1,'','2018-04-19 10:23:39');
/*!40000 ALTER TABLE `lkt_product_img` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_product_list`
--
DROP TABLE IF EXISTS `lkt_product_list`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_product_list` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '产品id',
`product_number` varchar(100) COMMENT '商品编号',
`product_title` varchar(100) NOT NULL DEFAULT '' COMMENT '产品名字',
`subtitle` varchar(100) DEFAULT NULL COMMENT '副标题',
`product_class` varchar(32) NOT NULL COMMENT '产品类别',
`imgurl` varchar(200) NOT NULL DEFAULT '' COMMENT '产品图片',
`content` text NOT NULL COMMENT '产品内容',
`sort` int(11) DEFAULT NULL COMMENT '排序',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`volume` int(12) NOT NULL DEFAULT '0' COMMENT '销量',
`s_type` varchar(20) DEFAULT NULL COMMENT '产品值属性 1:新品,2:热销,3:推荐',
`num` int(11) NOT NULL DEFAULT '0' COMMENT '数量',
`status` tinyint(3) NOT NULL DEFAULT '0' COMMENT '状态 0::上架 1:下架2:待上架',
`seller_id` char(15) NOT NULL DEFAULT '' COMMENT '用户id',
`brand_id` int(11) NOT NULL DEFAULT '0' COMMENT '品牌ID',
`is_distribution` int(2) DEFAULT '0' COMMENT '是否为分销商品',
`is_default_ratio` int(2) DEFAULT '0' COMMENT '是否默认比例',
`weight` varchar(100) DEFAULT NULL COMMENT '重量',
`distributor_id` int(5) DEFAULT '0' COMMENT '分销等级id 购买就升级',
`freight` text NOT NULL COMMENT '运费',
`is_zhekou` int(2) DEFAULT '0' COMMENT '是否开启会员',
`separate_distribution` varchar(50) DEFAULT '0' COMMENT '单独分销',
`recycle` tinyint(4) NOT NULL DEFAULT '0' COMMENT '回收站 0.显示 1.回收',
`initial` varchar(255) DEFAULT NULL COMMENT '初始值',
`leve` int(2) DEFAULT '0' COMMENT '向上返几级',
`leve1` float(4,2) DEFAULT '0.00' COMMENT '一级佣金比例',
`leve2` float(4,2) DEFAULT '0.00' COMMENT '二级佣金比例',
`leve3` float(4,2) DEFAULT '0.00' COMMENT '三级佣金比例',
`leve4` float(4,2) DEFAULT '0.00' COMMENT '四级佣金比例',
`leve5` float(4,2) DEFAULT '0.00' COMMENT '五级佣金比例',
`type` int(2) DEFAULT '1' COMMENT '佣金发放类型,1 支付成功 2.确认收货',
`commissions` float(11,2) DEFAULT '0.00' COMMENT '分销佣金所需手续费',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='产品表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_product_list`
--
LOCK TABLES `lkt_product_list` WRITE;
/*!40000 ALTER TABLE `lkt_product_list` DISABLE KEYS */;
-- INSERT INTO `lkt_product_list` VALUES ('1', '', 'LEGO 乐高积木 创意百变系列 玩具和百货商店 31036', '', '-1-', '1541597062168.jpeg','<p style=\"text-align: center;\"><img src=\"/ueditor/php/upload/image/20181107/1541597101.jpg\" title=\"1541597101.jpg\" alt=\"59bb872eNf44497eb.jpg\"/></p>','100', '2018-06-21 15:50:03', '49', '1,2,3', '64', '0', '', '9', '0', '0', '12.00', '0', '1', '0', '0', '0', 'a:5:{s:3:\"cbj\";s:2:\"20\";s:2:\"yj\";s:3:\"100\";s:2:\"sj\";s:2:\"60\";s:4:\"unit\";s:3:\"盒\";s:5:\"kucun\";s:2:\"64\";}','0','0.00','0.00','0.00','0.00','0.00','1','0.00');
INSERT INTO `lkt_product_list` VALUES ('1', '', 'LEGO 乐高积木 创意百变系列 玩具和百货商店 31036', '', '-1-', '1541597062168.jpeg', '<p style=\"text-align: center;\"><img src=\"/ueditor/php/upload/image/20181107/1541597101.jpg\" title=\"1541597101.jpg\" alt=\"59bb872eNf44497eb.jpg\"/></p>', '100', '2018-06-21 23:50:03', '49', '1,2,3,4', '64', '0', '', '9', '0', '0', '12.00', '0', '1', '0', '0', '0', 'a:5:{s:3:\"cbj\";s:2:\"20\";s:2:\"yj\";s:3:\"100\";s:2:\"sj\";s:2:\"60\";s:4:\"unit\";s:3:\"盒\";s:5:\"kucun\";s:2:\"64\";}', '0', '0.00', '0.00', '0.00', '0.00', '0.00', '1', '0.00');
INSERT INTO `lkt_product_list` VALUES ('2', null, '夹缝收纳柜抽屉式间隙储物柜子塑料窄缝箱缝隙置物架20/25/35cm宽', '夹缝收纳柜抽屉式间隙储物柜子塑料窄缝箱缝隙置物架', '-1-18-', '1571906756206.png', '<p><br/></p><p class=\"attr-list-hd tm-clear\" style=\"margin-top: 0px; margin-bottom: 0px; padding: 5px 20px; line-height: 22px; color: rgb(153, 153, 153); font-family: tahoma, arial, 微软雅黑, sans-serif; font-size: 12px; white-space: normal; background-color: rgb(255, 255, 255);\"><span style=\"margin: 0px; padding: 0px; font-weight: 700; float: left;\">产品参数:</span></p><ul id=\"J_AttrUL\" data-spm-anchor-id=\"a220o.1000855.0.i5.3d596566ZpPyl8\" style=\"list-style-type: none;\" class=\" list-paddingleft-2\"><li><p>品牌:&nbsp;KAFEE BEAR/咖啡熊</p></li><li><p>型号:&nbsp;2551</p></li><li><p>材质:&nbsp;塑料</p></li><li><p>风格:&nbsp;北欧风格</p></li><li><p>产地:&nbsp;中国大陆</p></li><li><p>省份:&nbsp;广东省</p></li><li><p>地市:&nbsp;揭阳市</p></li><li><p>格数:&nbsp;3个&nbsp;4个&nbsp;5个&nbsp;</p></li><li><p>流行元素:&nbsp;马卡龙色</p></li><li><p>适用空间:&nbsp;厨房</p></li><li><p>适用人群:&nbsp;大众</p></li><li><p>产品出口必备单证:&nbsp;原产地证</p></li><li><p>出口检测机构:&nbsp;sgs</p></li><li><p>验厂标准:&nbsp;BSCI</p></li><li><p>企业出口资质:&nbsp;对外贸易经营者备案登记表</p></li><li><p>国家/地区:&nbsp;香港</p></li><li><p>出口国:&nbsp;亚洲</p></li><li><p>层数:&nbsp;5层</p></li><li><p>是否手工:&nbsp;否</p></li></ul><p><br/></p>', null, '2019-10-24 16:50:25', '0', '1,2,4', '600', '0', '', '9', '0', '0', '', '0', '2', '0', '0', '0', 'a:5:{s:3:\"cbj\";s:2:\"20\";s:2:\"yj\";s:3:\"200\";s:2:\"sj\";s:3:\"100\";s:4:\"unit\";s:3:\"件\";s:5:\"kucun\";s:3:\"100\";}', '0', '0.00', '0.00', '0.00', '0.00', '0.00', '1', '0.00');
INSERT INTO `lkt_product_list` VALUES ('3', null, '拜格刀具套装厨房家用全套厨具不锈钢宝宝婴儿辅食工具水果刀菜刀', '拜格刀具套装厨房家用全套厨具不锈钢宝宝婴儿辅食工具水果刀菜刀', '-1-19-', '1571907986688.png', '<p class=\"attr-list-hd tm-clear\" style=\"margin-top: 0px; margin-bottom: 0px; padding: 5px 20px; line-height: 22px; color: rgb(153, 153, 153);\"><span style=\"margin: 0px; padding: 0px; font-weight: 700; float: left;\">产品参数:</span></p><p><br/></p><ul id=\"J_AttrUL\" data-spm-anchor-id=\"a220o.1000855.0.i0.186c7ba58SK1XU\" style=\"list-style-type: none;\" class=\" list-paddingleft-2\"><li><p>型号:&nbsp;XKJ7207</p></li><li><p>材质:&nbsp;400系列不锈钢</p></li><li><p>风格:&nbsp;欧式</p></li><li><p>产地:&nbsp;中国大陆</p></li><li><p>件数:&nbsp;6件</p></li><li><p>颜色分类:&nbsp;【玫瑰黑金】4件套&nbsp;【炫酷黑刃】黑刃4件套&nbsp;【黑凤凰】品质黑刃3件套&nbsp;【黑凤凰】品质黑刃5件套&nbsp;【限时特惠】金纹刀具菜板5件套&nbsp;【黑凤凰】6件套(含刀架菜板)&nbsp;【黑凤凰】加厚菜板剪刀6件套&nbsp;【玫瑰黑金】黑刃加厚菜板剪刀6件套&nbsp;【炫酷黑刃】黑刃加厚菜板剪刀6件套&nbsp;【黑飓风】3件套&nbsp;【颜值黑刃】4件套&nbsp;【玫瑰黑金】黑刃6件套&nbsp;【黑飓风】5件套&nbsp;【黑飓风】6件套(含刀架)</p></li><li><p>适用场景:&nbsp;日常送礼</p></li><li><p>适用人群:&nbsp;大众</p></li><li><p>是否开刃:&nbsp;是</p></li><li><p>刀尖角度:&nbsp;60°以上</p></li><li><p>刃长:&nbsp;175mm</p></li></ul><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; padding: 0px; line-height: 1.4;\"><img src=\"/ueditor/php/upload/image/20191024/1571907221480134.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907221936014.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907221372078.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907221118821.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907221856656.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907221256097.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907221650578.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907221212298.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/uedito
INSERT INTO `lkt_product_list` VALUES ('4', null, '【3期免息|享保护套】华为平板M6 10.8英寸 影音游戏WiFi/4G可通话 平板电脑二合一m5升级款新pad 苏宁旗舰店', '【3期免息|享保护套】华为平板M6 10.8英寸 影音游戏WiFi/4G可通话 平板电脑二合一m5升级款新pad 苏宁旗舰店', '-2-21-', '1571907933323.png', '<p style=\"margin-top: 1.12em; margin-bottom: 1.12em; padding: 0px; line-height: 1.4;\"><img src=\"/ueditor/php/upload/image/20191024/1571907808688359.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" data-spm-anchor-id=\"a220o.1000855.0.i1.ca5924b7ZwamfV\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/></p><p style=\"margin-top: 1.12em; margin-bottom: 1.12em; padding: 0px; line-height: 1.4;\"><img src=\"/ueditor/php/upload/image/20191024/1571907809756982.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907809874285.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907812997808.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907812286767.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907812871091.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907812774244.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907812146457.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907813997029.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907813696510.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907813740500.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/ueditor/php/upload/image/20191024/1571907813247758.jpg\" align=\"absmiddle\" class=\"img-ks-lazyload\" style=\"margin: 0px; padding: 0px; border: 0px; animation: 350ms linear 0ms 1 normal both running ks-fadeIn; opacity: 1; vertical-align: top; max-width: 100%; float: none;\"/><img src=\"/
/*!40000 ALTER TABLE `lkt_product_list` ENABLE KEYS */;
UNLOCK TABLES;
DROP TABLE IF EXISTS `lkt_detailed_commission`;
CREATE TABLE `lkt_detailed_commission` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
`userid` varchar(50) DEFAULT NULL,
`sNo` varchar(255) DEFAULT NULL COMMENT '订单号',
`money` float(10,2) DEFAULT '0.00' COMMENT '应发佣金',
`s_money` float(10,2) DEFAULT '0.00' COMMENT '实发佣金',
`status` int(2) DEFAULT '1' COMMENT '1.未发放,2.已发放',
`addtime` datetime DEFAULT NULL COMMENT '添加时间',
`type` int(2) DEFAULT NULL COMMENT '类型',
`Referee` varchar(50) DEFAULT NULL COMMENT '上级',
`recycle` int(2) DEFAULT '0' COMMENT '0 不回收 1.回收',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COMMENT='分销佣金明细表';
--
-- Table structure for table `lkt_record`
--
DROP TABLE IF EXISTS `lkt_record`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_record` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`user_id` char(15) DEFAULT NULL COMMENT '用户id',
`money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '操作金额',
`oldmoney` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '原有金额',
`add_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
`event` text COMMENT '事件',
`type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '类型 0:登录/退出 1:充值 2:申请提现 3:分享 4:余额消费 5:退款 6:红包提现 7:佣金 8:管理佣金 9:待定 10:消费金 11:系统扣款 12:给好友转余额 13:转入余额 14:系统充值 15:系统充积分 16:系统充消费金 17:系统扣积分 18:系统扣消费金 19:消费金解封 20:抽奖中奖 21: 提现成功 22:提现失败 23.取消订单',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='操作记录表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_record`
--
LOCK TABLES `lkt_record` WRITE;
/*!40000 ALTER TABLE `lkt_record` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_record` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_reply_comments`
--
DROP TABLE IF EXISTS `lkt_reply_comments`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_reply_comments` (
`id` int(15) NOT NULL AUTO_INCREMENT,
`cid` varchar(32) NOT NULL COMMENT '评论ID',
`uid` varchar(32) NOT NULL COMMENT '用户id',
`content` text NOT NULL COMMENT '评价内容',
`add_time` timestamp NOT NULL DEFAULT '0000-00-00 00:00:00' ON UPDATE CURRENT_TIMESTAMP,
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='回复评论表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_reply_comments`
--
LOCK TABLES `lkt_reply_comments` WRITE;
/*!40000 ALTER TABLE `lkt_reply_comments` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_reply_comments` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_return_goods`
--
DROP TABLE IF EXISTS `lkt_return_goods`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_return_goods` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
`name` varchar(50) NOT NULL COMMENT '收货人',
`tel` char(15) NOT NULL COMMENT '联系方式',
`express` varchar(255) NOT NULL COMMENT '快递名称',
`express_num` varchar(255) NOT NULL COMMENT '快递单号',
`uid` varchar(32) NOT NULL DEFAULT '0' COMMENT '用户ID',
`oid` varchar(32) NOT NULL DEFAULT '0' COMMENT '订单id',
`add_data` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '填写时间',
`user_id` char(20) NOT NULL DEFAULT '' COMMENT '用户id',
`address` varchar(255) DEFAULT '' COMMENT '买家地址',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='用户退货表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_return_goods`
--
LOCK TABLES `lkt_return_goods` WRITE;
/*!40000 ALTER TABLE `lkt_return_goods` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_return_goods` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_role`
--
DROP TABLE IF EXISTS `lkt_role`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_role` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`name` varchar(30) NOT NULL DEFAULT '' COMMENT '角色名称',
`permission` text COMMENT '许可',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8 COMMENT='角色表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_role`
--
LOCK TABLES `lkt_role` WRITE;
/*!40000 ALTER TABLE `lkt_role` DISABLE KEYS */;
INSERT INTO `lkt_role` VALUES (1,'经理','a:201:{i:0;s:9:\"1/product\";i:1;s:29:\"2/product/product_class/index\";i:2;s:27:\"3/product/product_class/add\";i:3;s:30:\"3/product/product_class/modify\";i:4;s:27:\"3/product/product_class/del\";i:5;s:29:\"3/product/product_class/index\";i:6;s:27:\"2/product/brand_class/index\";i:7;s:25:\"3/product/brand_class/add\";i:8;s:28:\"3/product/brand_class/modify\";i:9;s:25:\"3/product/brand_class/del\";i:10;s:27:\"3/product/brand_class/index\";i:11;s:23:\"2/product/product/index\";i:12;s:21:\"3/product/product/add\";i:13;s:24:\"3/product/product/modify\";i:14;s:21:\"3/product/product/see\";i:15;s:25:\"3/product/product/shelves\";i:16;s:21:\"3/product/product/del\";i:17;s:23:\"3/product/product/index\";i:18;s:21:\"2/product/product/num\";i:23;s:23:\"2/product/freight/index\";i:24;s:21:\"3/product/freight/add\";i:25;s:24:\"3/product/freight/modify\";i:26;s:21:\"3/product/freight/del\";i:27;s:23:\"3/product/freight/index\";i:28;s:30:\"2/product/product_config/index\";i:29;s:7:\"1/order\";i:30;s:24:\"2/order/orderslist/index\";i:31;s:29:\"3/order/orderslist/kuaidishow\";i:32;s:25:\"3/order/orderslist/Detail\";i:33;s:26:\"3/order/orderslist/addsign\";i:34;s:25:\"3/order/orderslist/Modify\";i:35;s:25:\"3/order/orderslist/Status\";i:36;s:24:\"3/order/orderslist/index\";i:37;s:22:\"2/order/comments/index\";i:38;s:22:\"3/order/comments/reply\";i:39;s:23:\"3/order/comments/modify\";i:40;s:20:\"3/order/comments/del\";i:41;s:22:\"3/order/comments/index\";i:42;s:20:\"2/order/return/index\";i:43;s:19:\"3/order/return/view\";i:44;s:22:\"3/order/return/examine\";i:45;s:20:\"3/order/return/index\";i:46;s:25:\"2/order/orderslist/config\";i:47;s:6:\"1/user\";i:48;s:21:\"2/user/userlist/index\";i:49;s:20:\"3/user/userlist/seng\";i:50;s:20:\"3/user/userlist/view\";i:51;s:19:\"3/user/userlist/del\";i:52;s:24:\"3/user/userlist/recharge\";i:53;s:21:\"3/user/userlist/index\";i:54;s:23:\"3/user/notellsuvt/index\";i:55;s:15:\"1/small_program\";i:56;s:34:\"2/small_program/software/pageindex\";i:57;s:32:\"3/small_program/software/pageadd\";i:58;s:35:\"3/small_program/software/pagemodify\";i:59;s:32:\"3/small_program/software/pagedel\";i:60;s:34:\"3/small_program/software/pageindex\";i:61;s:30:\"2/small_program/software/jifen\";i:62;s:10:\"1/plug_ins\";i:63;s:25:\"2/plug_ins/plug_ins/index\";i:64;s:23:\"3/plug_ins/plug_ins/add\";i:65;s:26:\"3/plug_ins/plug_ins/modify\";i:66;s:27:\"3/plug_ins/plug_ins/whether\";i:67;s:23:\"3/plug_ins/plug_ins/del\";i:68;s:25:\"3/plug_ins/finance/config\";i:69;s:25:\"3/plug_ins/plug_ins/index\";i:70;s:25:\"2/plug_ins/go_group/index\";i:71;s:28:\"3/plug_ins/go_group/addgroup\";i:72;s:26:\"3/plug_ins/go_group/modify\";i:73;s:28:\"3/plug_ins/go_group/grouppro\";i:74;s:23:\"3/plug_ins/go_group/del\";i:75;s:25:\"3/plug_ins/go_group/index\";i:76;s:21:\"2/plug_ins/draw/index\";i:77;s:23:\"3/plug_ins/draw/addsign\";i:78;s:22:\"3/plug_ins/draw/modify\";i:79;s:19:\"3/plug_ins/draw/del\";i:80;s:25:\"3/plug_ins/draw/operation\";i:81;s:21:\"3/plug_ins/draw/index\";i:82;s:26:\"3/plug_ins/draw/parameters\";i:83;s:23:\"3/plug_ins/draw/whether\";i:84;s:9:\"1/finance\";i:85;s:23:\"2/finance/finance/index\";i:86;s:21:\"3/finance/finance/del\";i:87;s:23:\"3/finance/finance/index\";i:88;s:22:\"2/finance/finance/list\";i:89;s:26:\"2/finance/finance/recharge\";i:90;s:23:\"2/finance/finance/jifen\";i:91;s:26:\"3/finance/finance/jifendel\";i:92;s:23:\"3/finance/finance/jifen\";i:93;s:21:\"2/finance/finance/yue\";i:94;s:24:\"3/finance/finance/yuedel\";i:95;s:21:\"3/finance/finance/yue\";i:96;s:28:\"2/finance/finance/xiaofeijin\";i:97;s:31:\"3/finance/finance/xiaofeijindel\";i:98;s:28:\"3/finance/finance/xiaofeijin\";i:99;s:28:\"2/finance/finance/commission\";i:100;s:8:\"1/coupon\";i:101;s:21:\"2/coupon/coupon/index\";i:102;s:19:\"3/coupon/coupon/add\";i:103;s:23:\"3/coupon/coupon/whether\";i:104;s:22:\"3/coupon/coupon/modify\";i:105;s:19:\"3/coupon/coupon/del\";i:106;s:21:\"3/coupon/coupon/index\";i:107;s:22:\"2/coupon/coupon/coupon\";i:108;s:9:\"1/sign_in\";i:109;s:20:\"2/sign_in/sign/index\";i:110;s:18:
/*!40000 ALTER TABLE `lkt_role` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_set_notice`
--
DROP TABLE IF EXISTS `lkt_set_notice`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_set_notice` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`name` varchar(50) NOT NULL COMMENT '公告名称',
`detail` text,
`img_url` char(30) NOT NULL DEFAULT '',
`time` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '创建时间',
`user` varchar(55) NOT NULL COMMENT '发布者',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='公告列表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_set_notice`
--
LOCK TABLES `lkt_set_notice` WRITE;
/*!40000 ALTER TABLE `lkt_set_notice` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_set_notice` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_setscore`
--
DROP TABLE IF EXISTS `lkt_setscore`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_setscore` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`lever` smallint(6) DEFAULT NULL COMMENT '等级',
`ordernum` int(11) DEFAULT NULL COMMENT '订单金额',
`scorenum` int(11) DEFAULT NULL COMMENT '可抵用消费金额',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_setscore`
--
LOCK TABLES `lkt_setscore` WRITE;
/*!40000 ALTER TABLE `lkt_setscore` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_setscore` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_share`
--
DROP TABLE IF EXISTS `lkt_share`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_share` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`user_id` char(15) DEFAULT NULL COMMENT '用户id',
`wx_id` varchar(50) DEFAULT NULL COMMENT '微信id',
`wx_name` varchar(150) DEFAULT NULL COMMENT '微信昵称',
`sex` int(11) DEFAULT NULL COMMENT '性别 0:未知 1:男 2:女',
`type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '类别 0:新闻 1:文章',
`Article_id` int(11) NOT NULL DEFAULT '0' COMMENT '新闻id',
`share_add` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '分享时间',
`coupon` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '礼券',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='分享列表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_share`
--
LOCK TABLES `lkt_share` WRITE;
/*!40000 ALTER TABLE `lkt_share` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_share` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_sign_activity`
--
DROP TABLE IF EXISTS `lkt_sign_activity`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_sign_activity` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`image` char(30) NOT NULL DEFAULT '' COMMENT '图片',
`starttime` char(20) NOT NULL DEFAULT '' COMMENT '签到活动开始时间',
`endtime` char(20) NOT NULL DEFAULT '' COMMENT '签到活动结束时间',
`detail` text COMMENT '签到活动详情',
`add_time` timestamp NULL DEFAULT NULL COMMENT '修改时间',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态 0:未启用 1:启用 2:已结束',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='签到活动';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_sign_activity`
--
LOCK TABLES `lkt_sign_activity` WRITE;
/*!40000 ALTER TABLE `lkt_sign_activity` DISABLE KEYS */;
INSERT INTO `lkt_sign_activity` VALUES (1,'1539241964734.png','2018-08-01 00:00:00','2018-12-18 23:59:59','<p><span style=\"font-size: 12px;\">1、每人每天只能签到一次,不能重复签到</span></p><p><span style=\"font-size: 12px;\">2、每天签到即可获得每日奖励,连续签到可以获得连续签到奖励</span></p><p><span style=\"font-size: 12px;\">3、如签到中断则重新开始计算奖励,签到以月为一个周期</span></p><p><span style=\"font-size: 12px;\">4、奖励规则:</span></p><p><span style=\"font-size: 12px;\">(1) 连续签到7天,既可获得5</span></p><p><span style=\"font-size: 12px;\">(2) 连续签到20天,既可获得10</span></p><p><span style=\"font-size: 12px;\">(3) 连续签到30天,既可获得20</span></p><p><span style=\"font-size: 12px;\">5、本活动最终解释权归来客电商所有</span></p><p><span style=\"font-size: 12px;\"><br/></span></p><p><span style=\"font-size: 12px;\"><br/></span></p><p><span style=\"font-size: 12px;\"><br/></span></p>','2018-10-18 09:00:33',1);
/*!40000 ALTER TABLE `lkt_sign_activity` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_sign_config`
--
DROP TABLE IF EXISTS `lkt_sign_config`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_sign_config` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`plug_ins_id` int(11) NOT NULL DEFAULT '0' COMMENT '插件id',
`imgurl` varchar(200) NOT NULL COMMENT '图片',
`min_score` int(11) NOT NULL DEFAULT '0' COMMENT '领取的最少积分',
`max_score` int(11) NOT NULL DEFAULT '0' COMMENT '领取的最大积分',
`continuity_three` int(11) NOT NULL DEFAULT '0' COMMENT '连续签到7天',
`continuity_twenty` int(11) NOT NULL DEFAULT '0' COMMENT '连续签到20天',
`continuity_thirty` int(11) NOT NULL DEFAULT '0' COMMENT '连续签到30天',
`activity_overdue` int(11) NOT NULL DEFAULT '0' COMMENT '活动过期删除时间',
`modify_date` timestamp NULL DEFAULT NULL COMMENT '修改时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='签到配置表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_sign_config`
--
LOCK TABLES `lkt_sign_config` WRITE;
/*!40000 ALTER TABLE `lkt_sign_config` DISABLE KEYS */;
INSERT INTO `lkt_sign_config` VALUES (1,3,'1539852918403.png',1,10,5,10,20,2,'2018-10-18 08:55:19');
/*!40000 ALTER TABLE `lkt_sign_config` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_sign_record`
--
DROP TABLE IF EXISTS `lkt_sign_record`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_sign_record` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`user_id` varchar(15) NOT NULL COMMENT '用户ID',
`sign_score` int(11) NOT NULL DEFAULT '0' COMMENT '签到积分',
`record` char(20) DEFAULT NULL COMMENT '事件',
`sign_time` timestamp NULL DEFAULT NULL COMMENT '签到时间',
`type` int(4) NOT NULL DEFAULT '0' COMMENT '类型: 0:签到 1:消费 2:首次关注得积分 3:转积分给好友 4:好友转积分 5:系统扣除 6:系统充值 7:抽奖',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='签到记录';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_sign_record`
--
LOCK TABLES `lkt_sign_record` WRITE;
/*!40000 ALTER TABLE `lkt_sign_record` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_sign_record` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_software`
--
DROP TABLE IF EXISTS `lkt_software`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_software` (
`id` int(11) unsigned NOT NULL COMMENT 'id',
`name` varchar(60) NOT NULL DEFAULT '' COMMENT '软件名称',
`image` varchar(255) NOT NULL COMMENT '软件图标',
`type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '类型 0:小程序 1:app',
`software_version` varchar(50) DEFAULT NULL COMMENT '软件版本',
`edition` varchar(60) NOT NULL DEFAULT '' COMMENT '版本号',
`edition_url` varchar(100) NOT NULL DEFAULT '' COMMENT '版本地址',
`add_time` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`edition_text` varchar(200) CHARACTER SET utf8mb4 DEFAULT NULL COMMENT '版本介绍'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='软件表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_software`
--
LOCK TABLES `lkt_software` WRITE;
/*!40000 ALTER TABLE `lkt_software` DISABLE KEYS */;
INSERT INTO `lkt_software` VALUES (3,'来客电商','154045470247.png',0,'2','1.0','包@2x1529555689.1.0.png','2018-10-25 08:05:04',''),(4,'来客电商','1529564161969.png',1,'2','1.0','形状-19@2x1529564172.1.0.png','2018-06-20 22:56:12',NULL),(5,'来客推','5a93dc3c87c50.jpg',0,'2','1.0','LKT_xiaochengxu1529923298.1.0.zip','2018-06-25 02:41:38',NULL),(6,'来客电商','5a93dbad1167e.jpg',0,'2','1.1','LKT_xiaochengxu1529992858.1.1.zip','2018-06-25 22:00:58',NULL),(8,'后台1.03','1532604827848.jpeg',0,'2','1.03','lkt_update_后台1.03.zip','2018-07-26 03:46:35','基础版本'),(9,'后台1.04','1532605150351.png',2,'2','1.04','lkt_update_1.04.zip','2018-07-26 03:40:33','测试更新1.04版本');
/*!40000 ALTER TABLE `lkt_software` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_software_jifen`
--
DROP TABLE IF EXISTS `lkt_software_jifen`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_software_jifen` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`jifennum` int(11) DEFAULT NULL COMMENT '首次关注小程序积分',
`switch` int(11) NOT NULL DEFAULT '0' COMMENT '是否开启积分转让(0.关闭 1.开启)',
`rule` text COMMENT '积分规则',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='首次关注小程序积分表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_software_jifen`
--
LOCK TABLES `lkt_software_jifen` WRITE;
/*!40000 ALTER TABLE `lkt_software_jifen` DISABLE KEYS */;
INSERT INTO `lkt_software_jifen` VALUES (1,30,0,'<p>“积分”通过哪种方式获得?</p><p>“积分”主要通过活动形式免费对所有来客电商</p><p>用户进行发放,请您随时关注来客电商举办的各</p><p>种活动,以及您手机中收到的来客电商推送内容。</p><p>1、关注赠送;</p><p>2、签到赠送;</p><p>3、购买会员赠送;</p><p>4、活动赠送。</p><p>“积分”如何使用?</p><p>进入来客电商商城,点击“幸运抽奖”</p><p>点击“马上抽奖”有机会获得“现金”、</p><p>“积分”、“消费金”、“产品”等奖品。</p><p>还有机会获得超级大奖“苹果8”手机哦!</p><p>抽奖区有排行榜,进入排行榜的会员,</p><p>还有机会获得神秘大奖!</p><p><br/></p>');
/*!40000 ALTER TABLE `lkt_software_jifen` ENABLE KEYS */;
UNLOCK TABLES;
CREATE TABLE `lkt_stock` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`product_id` int(11) NOT NULL DEFAULT '0' COMMENT '商品id',
`attribute_id` int(11) NOT NULL DEFAULT '0' COMMENT '属性id',
`flowing_num` int(11) NOT NULL DEFAULT '0' COMMENT '入库/出库',
`type` tinyint(4) NOT NULL DEFAULT '0' COMMENT '类型 0.入库 1.出库 2.预警',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COMMENT='库存记录表';
-- INSERT INTO `lkt_stock` (`id`, `product_id`, `attribute_id`, `flowing_num`, `type`, `add_date`) VALUES ('1', '1', '1', '64', '0', '2018-06-21 23:50:03');
INSERT INTO `lkt_stock` VALUES ('1', '1', '1', '64', '0', '2018-06-22 07:50:03');
INSERT INTO `lkt_stock` VALUES ('2', '2', '2', '100', '0', '2019-10-24 16:50:25');
INSERT INTO `lkt_stock` VALUES ('3', '2', '3', '100', '0', '2019-10-24 16:50:25');
INSERT INTO `lkt_stock` VALUES ('4', '2', '4', '100', '0', '2019-10-24 16:50:25');
INSERT INTO `lkt_stock` VALUES ('5', '2', '5', '100', '0', '2019-10-24 16:50:25');
INSERT INTO `lkt_stock` VALUES ('6', '2', '6', '100', '0', '2019-10-24 16:50:25');
INSERT INTO `lkt_stock` VALUES ('7', '2', '7', '100', '0', '2019-10-24 16:50:25');
INSERT INTO `lkt_stock` VALUES ('8', '3', '8', '300', '0', '2019-10-24 16:54:30');
INSERT INTO `lkt_stock` VALUES ('9', '3', '9', '300', '0', '2019-10-24 16:54:30');
INSERT INTO `lkt_stock` VALUES ('10', '4', '10', '300', '0', '2019-10-24 17:04:08');
INSERT INTO `lkt_stock` VALUES ('11', '4', '11', '300', '0', '2019-10-24 17:04:09');
INSERT INTO `lkt_stock` VALUES ('12', '4', '12', '300', '0', '2019-10-24 17:04:09');
INSERT INTO `lkt_stock` VALUES ('13', '4', '13', '300', '0', '2019-10-24 17:04:09');
INSERT INTO `lkt_stock` VALUES ('14', '4', '14', '300', '0', '2019-10-24 17:04:09');
INSERT INTO `lkt_stock` VALUES ('15', '4', '15', '300', '0', '2019-10-24 17:04:09');
INSERT INTO `lkt_stock` VALUES ('16', '4', '16', '300', '0', '2019-10-24 17:04:09');
INSERT INTO `lkt_stock` VALUES ('17', '4', '17', '300', '0', '2019-10-24 17:04:09');
--
-- Table structure for table `lkt_subtraction`
--
DROP TABLE IF EXISTS `lkt_subtraction`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_subtraction` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`status` tinyint(3) NOT NULL DEFAULT '2' COMMENT '包邮状态 1.开启 2.关闭',
`man_money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '单笔满多少包邮',
`region` text COMMENT '不参与包邮地区',
`subtraction` text COMMENT '满减',
`add_date` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '添加时间',
PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 COMMENT='满减表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Table structure for table `lkt_system_message`
--
DROP TABLE IF EXISTS `lkt_system_message`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_system_message` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'ID',
`senderid` varchar(30) NOT NULL COMMENT '发送人ID',
`recipientid` varchar(30) NOT NULL COMMENT '接收人ID',
`title` text COMMENT '标题',
`content` text COMMENT '内容',
`time` datetime DEFAULT NULL COMMENT '时间',
`type` int(2) NOT NULL DEFAULT '1' COMMENT '1未读 2 已读',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='系统消息表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_system_message`
--
LOCK TABLES `lkt_system_message` WRITE;
/*!40000 ALTER TABLE `lkt_system_message` DISABLE KEYS */;
INSERT INTO `lkt_system_message` VALUES (1,'1','3','您好','<p>1111</p>','2018-10-18 16:07:31',1);
/*!40000 ALTER TABLE `lkt_system_message` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_user`
--
DROP TABLE IF EXISTS `lkt_user`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_user` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`user_id` char(15) DEFAULT NULL COMMENT '用户id',
`user_name` varbinary(100) DEFAULT NULL COMMENT '用户昵称',
`access_id` varchar(30) DEFAULT NULL COMMENT '授权id',
`access_key` varchar(32) DEFAULT NULL COMMENT '授权密钥',
`wx_id` varchar(50) DEFAULT NULL COMMENT '微信id',
`wx_name` varbinary(150) DEFAULT NULL COMMENT '微信昵称',
`sex` int(11) DEFAULT NULL COMMENT '性别 0:未知 1:男 2:女',
`headimgurl` mediumtext COMMENT '微信头像',
`province` varchar(50) DEFAULT '' COMMENT '',
`city` varchar(50) DEFAULT '' COMMENT '',
`county` varchar(50) DEFAULT '' COMMENT '',
`detailed_address` varchar(100) DEFAULT NULL COMMENT '详细地址',
`money` decimal(12,2) DEFAULT '0.00' COMMENT '金额',
`score` decimal(12,2) DEFAULT '0.00' COMMENT '积分',
`password` char(32) DEFAULT NULL COMMENT '支付密码',
`Register_data` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '注册时间',
`e_mail` varchar(30) DEFAULT NULL COMMENT '邮箱',
`real_name` varchar(100) DEFAULT NULL COMMENT '真实姓名',
`mobile` varchar(20) DEFAULT '' COMMENT '手机',
`birthday` varchar(32) DEFAULT '' COMMENT '生日',
`wechat_id` varchar(50) DEFAULT '' COMMENT '微信号',
`address` varchar(300) DEFAULT NULL COMMENT '地址',
`Bank_name` varchar(30) DEFAULT NULL COMMENT '银行名称',
`Cardholder` varchar(30) DEFAULT NULL COMMENT '持卡人',
`Bank_card_number` varchar(30) DEFAULT NULL COMMENT '银行卡号',
`share_num` int(11) DEFAULT '0' COMMENT '分享次数',
`Referee` varchar(50) DEFAULT NULL COMMENT '推荐人',
`access_token` varchar(32) DEFAULT '' COMMENT '访问令牌',
`consumer_money` decimal(12,2) DEFAULT '0.00' COMMENT '消费金',
`img_token` varchar(32) DEFAULT NULL COMMENT '分享图片id',
`zhanghao` varchar(32) DEFAULT NULL COMMENT '账号',
`mima` varchar(32) DEFAULT NULL COMMENT '密码',
`source` tinyint(4) NOT NULL DEFAULT '1' COMMENT '来源 1.小程序 2.app',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='会员列表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_user`
--
LOCK TABLES `lkt_user` WRITE;
/*!40000 ALTER TABLE `lkt_user` DISABLE KEYS */;
INSERT INTO `lkt_user` VALUES (1,'0','总店',NULL,NULL,'oFF694qGPOHZ6txsdasdasdfsdf','总店',1,'https://lg-8tgp2f4w-1252524862.cos.ap-shanghai.myqcloud.com/ewm.png','','','',NULL,0.00,0,NULL,'2018-09-08 11:05:15',NULL,NULL,'','','',NULL,NULL,NULL,NULL,0,'','TfjyVzjUtAsuPoyfyOd81RCZeW1ht49o',0.00,NULL,NULL,NULL,0);
/*!40000 ALTER TABLE `lkt_user` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_user_address`
--
DROP TABLE IF EXISTS `lkt_user_address`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_user_address` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT '地址id',
`name` varchar(10) NOT NULL COMMENT '收货人',
`tel` char(15) NOT NULL COMMENT '联系方式',
`sheng` int(11) NOT NULL DEFAULT '0' COMMENT '省id',
`city` int(11) NOT NULL DEFAULT '0' COMMENT '市id',
`quyu` int(11) NOT NULL DEFAULT '0' COMMENT '区域id',
`address` varchar(255) NOT NULL COMMENT '收货地址(不加省市区)',
`address_xq` varchar(255) NOT NULL COMMENT '省市区+详细地址',
`code` int(11) NOT NULL DEFAULT '0' COMMENT '邮政编号',
`uid` varchar(32) NOT NULL DEFAULT '0' COMMENT '用户ID',
`is_default` tinyint(2) NOT NULL DEFAULT '0' COMMENT '是否默认地址 1默认',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='用户收货地址表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_user_address`
--
LOCK TABLES `lkt_user_address` WRITE;
/*!40000 ALTER TABLE `lkt_user_address` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_user_address` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_user_del`
--
DROP TABLE IF EXISTS `lkt_user_del`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_user_del` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`user_id` char(15) DEFAULT NULL COMMENT '用户id',
`user_name` varbinary(100) DEFAULT NULL COMMENT '用户昵称',
`access_id` varchar(30) DEFAULT NULL COMMENT '授权id',
`access_key` varchar(32) DEFAULT NULL COMMENT '授权密钥',
`wx_id` varchar(50) DEFAULT NULL COMMENT '微信id',
`wx_name` varbinary(150) DEFAULT NULL COMMENT '微信昵称',
`sex` int(11) DEFAULT NULL COMMENT '性别 0:未知 1:男 2:女',
`headimgurl` mediumtext COMMENT '微信头像',
`province` varchar(50) DEFAULT '' COMMENT '',
`city` varchar(50) DEFAULT '' COMMENT '',
`county` varchar(50) DEFAULT '' COMMENT '',
`detailed_address` varchar(100) DEFAULT NULL COMMENT '详细地址',
`money` decimal(12,2) DEFAULT '0.00' COMMENT '金额',
`score` int(11) DEFAULT '0' COMMENT '积分',
`password` char(32) DEFAULT NULL COMMENT '支付密码',
`Register_data` timestamp NULL DEFAULT CURRENT_TIMESTAMP COMMENT '注册时间',
`e_mail` varchar(30) DEFAULT NULL COMMENT '邮箱',
`real_name` varchar(100) DEFAULT NULL COMMENT '真实姓名',
`mobile` varchar(20) DEFAULT '' COMMENT '手机',
`birthday` varchar(32) DEFAULT '' COMMENT '生日',
`wechat_id` varchar(50) DEFAULT '' COMMENT '微信号',
`address` varchar(300) DEFAULT NULL COMMENT '地址',
`Bank_name` varchar(30) DEFAULT NULL COMMENT '银行名称',
`Cardholder` varchar(30) DEFAULT NULL COMMENT '持卡人',
`Bank_card_number` varchar(30) DEFAULT NULL COMMENT '银行卡号',
`share_num` int(11) DEFAULT '0' COMMENT '分享次数',
`Referee` char(15) DEFAULT NULL COMMENT '推荐人',
`access_token` varchar(32) DEFAULT '' COMMENT '访问令牌',
`consumer_money` decimal(12,2) DEFAULT '0.00' COMMENT '消费金',
`img_token` varchar(32) DEFAULT NULL COMMENT '分享图片id',
`zhanghao` varchar(32) DEFAULT NULL COMMENT '账号',
`mima` varchar(32) DEFAULT NULL COMMENT '密码',
`source` tinyint(4) NOT NULL DEFAULT '1' COMMENT '来源 1.小程序 2.app',
PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8mb4 ROW_FORMAT=DYNAMIC COMMENT='删除会员储存列表';
--
-- Table structure for table `lkt_user_bank_card`
--
DROP TABLE IF EXISTS `lkt_user_bank_card`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_user_bank_card` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`user_id` varchar(15) NOT NULL COMMENT '用户ID',
`Cardholder` varchar(30) DEFAULT NULL COMMENT '持卡人',
`id_card` varchar(30) DEFAULT NULL COMMENT '身份证',
`Bank_name` varchar(30) DEFAULT NULL COMMENT '银行名称',
`Bank_card_number` varchar(30) DEFAULT NULL COMMENT '银行卡号',
`mobile` varchar(20) DEFAULT NULL COMMENT '手机',
`add_date` timestamp NULL DEFAULT NULL COMMENT '添加时间',
`is_default` tinyint(4) NOT NULL DEFAULT '0' COMMENT '是否默认地址 1默认',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户银行卡列表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_user_bank_card`
--
LOCK TABLES `lkt_user_bank_card` WRITE;
/*!40000 ALTER TABLE `lkt_user_bank_card` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_user_bank_card` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_user_collection`
--
DROP TABLE IF EXISTS `lkt_user_collection`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_user_collection` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`user_id` varchar(32) NOT NULL DEFAULT '0' COMMENT '用户ID',
`p_id` int(11) DEFAULT NULL COMMENT '产品id',
`add_time` timestamp NULL DEFAULT NULL COMMENT '添加时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='收藏表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_user_collection`
--
LOCK TABLES `lkt_user_collection` WRITE;
/*!40000 ALTER TABLE `lkt_user_collection` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_user_collection` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_user_footprint`
--
DROP TABLE IF EXISTS `lkt_user_footprint`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_user_footprint` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`user_id` varchar(15) NOT NULL COMMENT '用户ID',
`p_id` int(11) DEFAULT NULL COMMENT '产品id',
`app_type` varchar(50) DEFAULT 'mini_program' COMMENT '平台类型',
`add_time` timestamp NULL DEFAULT NULL COMMENT '添加时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='足迹表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_user_footprint`
--
LOCK TABLES `lkt_user_footprint` WRITE;
/*!40000 ALTER TABLE `lkt_user_footprint` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_user_footprint` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_user_fromid`
--
DROP TABLE IF EXISTS `lkt_user_fromid`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_user_fromid` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`open_id` char(40) NOT NULL DEFAULT '' COMMENT '用户openid',
`fromid` char(50) NOT NULL DEFAULT '' COMMENT '用户fromid',
`lifetime` datetime DEFAULT NULL COMMENT '生命周期',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='用户fromid';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_user_fromid`
--
LOCK TABLES `lkt_user_fromid` WRITE;
/*!40000 ALTER TABLE `lkt_user_fromid` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_user_fromid` ENABLE KEYS */;
UNLOCK TABLES;
--
-- Table structure for table `lkt_withdraw`
--
DROP TABLE IF EXISTS `lkt_withdraw`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_withdraw` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'id',
`user_id` varchar(20) NOT NULL DEFAULT '' COMMENT '用户id',
`name` varchar(20) NOT NULL DEFAULT '' COMMENT '名称',
`wx_id` varchar(50) DEFAULT NULL COMMENT '微信id',
`mobile` varchar(20) DEFAULT NULL COMMENT '手机',
`Bank_id` int(11) NOT NULL COMMENT '银行卡id',
`money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '提现金额',
`z_money` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '剩余金额',
`s_charge` decimal(12,2) NOT NULL DEFAULT '0.00' COMMENT '手续费',
`status` tinyint(4) NOT NULL DEFAULT '0' COMMENT '状态 0:审核中 1:审核通过 2:拒绝',
`add_date` timestamp NULL DEFAULT NULL COMMENT '申请时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='提现列表';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_withdraw`
--
LOCK TABLES `lkt_withdraw` WRITE;
/*!40000 ALTER TABLE `lkt_withdraw` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_withdraw` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
--
-- Table structure for table `lkt_detailed_pro`
--
DROP TABLE IF EXISTS `lkt_detailed_pro`;
/*!40101 SET @saved_cs_client = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `lkt_detailed_pro` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'id',
`pro_id` int(11) NOT NULL COMMENT '商品ID',
`leve` int(2) DEFAULT NULL COMMENT '向上返几级',
`leve1` float(4,2) DEFAULT '0.00' COMMENT '一级佣金比例',
`leve2` float(4,2) DEFAULT '0.00' COMMENT '二级佣金比例',
`leve3` float(4,2) DEFAULT '0.00' COMMENT '三级佣金比例',
`leve4` float(4,2) DEFAULT '0.00' COMMENT '四级佣金比例',
`leve5` float(4,2) DEFAULT '0.00' COMMENT '五级佣金比例',
`type` int(2) DEFAULT '2' COMMENT '佣金发放类型,1 支付成功 2.确认收货',
`commissions` float(4,2) DEFAULT '0.00' COMMENT '分销佣金所需手续费',
`is_show` varchar(11) NOT NULL DEFAULT '0' COMMENT '是否显示(0不显示,1热销单品,2.购物车,3.个人中心)',
`status` int(4) NOT NULL DEFAULT '0' COMMENT '商品状态状态(0:待上架,1已上架,2下架)',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='分销商品参数设置';
/*!40101 SET character_set_client = @saved_cs_client */;
--
-- Dumping data for table `lkt_detailed_pro`
--
LOCK TABLES `lkt_detailed_pro` WRITE;
/*!40000 ALTER TABLE `lkt_detailed_pro` DISABLE KEYS */;
/*!40000 ALTER TABLE `lkt_detailed_pro` ENABLE KEYS */;
UNLOCK TABLES;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2018-11-12 17:19:44