-- MySQL dump 10.13  Distrib 5.6.50, for Linux (x86_64)
--
-- Host: localhost    Database: 666_u7u_top
-- ------------------------------------------------------
-- Server version	5.6.50-log

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

--
-- Table structure for table `article`
--

DROP TABLE IF EXISTS `article`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `article` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `pid` int(11) NOT NULL,
  `title` varchar(255) NOT NULL,
  `img` varchar(255) DEFAULT NULL,
  `content` text,
  `time` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `article`
--

LOCK TABLES `article` WRITE;
/*!40000 ALTER TABLE `article` DISABLE KEYS */;
INSERT INTO `article` VALUES (3,4,'爱我的哇多','','达瓦大','2019-03-13 14:08:43'),(5,4,'测试','/public/static/thumb/20210415/b6d4c5956354d0e8c74fe4ff4e9b5022.jpg','欧皇源码论坛（www.ohbbs.cn）','2021-04-15 22:17:37');
/*!40000 ALTER TABLE `article` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `assortment`
--

DROP TABLE IF EXISTS `assortment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `assortment` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '分类ID',
  `pid` int(11) unsigned NOT NULL COMMENT '所属栏目',
  `name` varchar(50) NOT NULL COMMENT '分类名称',
  `sort` tinyint(5) unsigned NOT NULL COMMENT '分类排序',
  `status` tinyint(1) unsigned NOT NULL COMMENT '是否显示  1为显示，0为隐藏',
  `create_time` datetime DEFAULT NULL COMMENT '提交时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `assortment`
--

LOCK TABLES `assortment` WRITE;
/*!40000 ALTER TABLE `assortment` DISABLE KEYS */;
INSERT INTO `assortment` VALUES (1,3,'企业公司',1,1,'2019-03-01 14:16:55'),(2,4,'新闻博客',2,1,'2019-03-01 14:48:08'),(3,3,'电子商务',3,1,'2019-03-01 14:50:47'),(4,5,'Cms教程',1,1,'2019-03-13 13:23:15'),(5,5,'测试',100,1,'2019-03-13 14:20:42');
/*!40000 ALTER TABLE `assortment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `collect`
--

DROP TABLE IF EXISTS `collect`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `collect` (
  `id` int(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '收藏ID',
  `uid` int(11) unsigned NOT NULL COMMENT '用户id',
  `user` varchar(255) NOT NULL,
  `codeid` int(11) unsigned NOT NULL,
  `time` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `collect`
--

LOCK TABLES `collect` WRITE;
/*!40000 ALTER TABLE `collect` DISABLE KEYS */;
INSERT INTO `collect` VALUES (4,2,'17688411880',5,'2019-03-13 01:30:35');
/*!40000 ALTER TABLE `collect` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `column`
--

DROP TABLE IF EXISTS `column`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `column` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '栏目ID',
  `pid` int(5) unsigned NOT NULL COMMENT '所属菜单',
  `name` varchar(20) NOT NULL COMMENT '栏目名称',
  `sort` tinyint(1) NOT NULL COMMENT '栏目排序',
  `alianc` varchar(255) NOT NULL COMMENT '栏目别名',
  `status` tinyint(1) unsigned NOT NULL COMMENT '是否显示  1为显示，0为隐藏',
  `create_time` datetime DEFAULT NULL COMMENT '提交时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=6 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `column`
--

LOCK TABLES `column` WRITE;
/*!40000 ALTER TABLE `column` DISABLE KEYS */;
INSERT INTO `column` VALUES (3,2,'栏目分类',1,'class',1,'2019-02-28 21:09:23'),(4,2,'系统品牌',2,'xt',1,'2019-03-01 14:43:14'),(5,4,'文章分类',100,'article',1,'2019-03-13 13:22:38');
/*!40000 ALTER TABLE `column` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `comment`
--

DROP TABLE IF EXISTS `comment`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `comment` (
  `id` int(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '评论ID',
  `uid` int(10) unsigned NOT NULL COMMENT '用户ID',
  `user` varchar(255) NOT NULL,
  `codeid` int(11) unsigned NOT NULL COMMENT '源码ID',
  `title` varchar(255) NOT NULL COMMENT '标题',
  `content` text NOT NULL COMMENT '评论内容',
  `juge` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '审核',
  `time` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `comment`
--

LOCK TABLES `comment` WRITE;
/*!40000 ALTER TABLE `comment` DISABLE KEYS */;
INSERT INTO `comment` VALUES (1,2,'17688411880',5,'网站源码1111','测试',1,'2019-03-10 17:05:55');
/*!40000 ALTER TABLE `comment` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `config`
--

DROP TABLE IF EXISTS `config`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `config` (
  `id` int(1) unsigned NOT NULL,
  `webtitle` text NOT NULL COMMENT '网站标题',
  `webftitle` varchar(255) NOT NULL,
  `webkey` text NOT NULL COMMENT '网站关键词',
  `webdesc` text NOT NULL COMMENT '网站描述',
  `weblogo` varchar(255) NOT NULL COMMENT '网站logo',
  `copyright` varchar(255) NOT NULL COMMENT '网站版权',
  `copyrightw` varchar(255) NOT NULL,
  `procedures` varchar(255) NOT NULL COMMENT '返佣比例',
  `sy` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `config`
--

LOCK TABLES `config` WRITE;
/*!40000 ALTER TABLE `config` DISABLE KEYS */;
INSERT INTO `config` VALUES (1,'码农网 - 专业的网站源码模板、软件源码、游戏源码分享平台','码农网','测试','测试','/public/static/skin/img/logo.png','Copyright © 2015-2017 码农网✪ 版权所有 冀ICP备16006606号-6','本站资源均来自互联网或会员发布，仅供研究学习请勿商用以及产生法律纠纷本站概不负责！如果侵犯了您的权益请与我们联系！','80','www.ohbbs.cn');
/*!40000 ALTER TABLE `config` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `down`
--

DROP TABLE IF EXISTS `down`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `down` (
  `id` int(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '下载ID',
  `uid` int(11) unsigned NOT NULL COMMENT '用户ID',
  `user` varchar(255) NOT NULL COMMENT '用户名',
  `codeid` tinyint(11) unsigned NOT NULL COMMENT '源码ID',
  `title` varchar(255) NOT NULL COMMENT '源码标题',
  `time` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=11 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `down`
--

LOCK TABLES `down` WRITE;
/*!40000 ALTER TABLE `down` DISABLE KEYS */;
INSERT INTO `down` VALUES (10,2,'17688411880',5,'网站源码1111','2019-03-17 01:32:30');
/*!40000 ALTER TABLE `down` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `link`
--

DROP TABLE IF EXISTS `link`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `link` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `name` varchar(255) NOT NULL,
  `url` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `link`
--

LOCK TABLES `link` WRITE;
/*!40000 ALTER TABLE `link` DISABLE KEYS */;
INSERT INTO `link` VALUES (2,'ddd','d');
/*!40000 ALTER TABLE `link` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `menu`
--

DROP TABLE IF EXISTS `menu`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `menu` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '菜单ID',
  `name` varchar(255) NOT NULL COMMENT '菜单名称',
  `alias` varchar(20) NOT NULL COMMENT '菜单别名',
  `url` varchar(255) NOT NULL COMMENT '自定义链接',
  `sort` tinyint(5) unsigned NOT NULL COMMENT '菜单排序',
  `type` tinyint(1) unsigned NOT NULL COMMENT '菜单类型 1为下载，0为文章',
  `status` tinyint(1) unsigned NOT NULL COMMENT '菜单显示 1为显示，0为隐藏',
  `create_time` datetime DEFAULT NULL COMMENT '提交时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `menu`
--

LOCK TABLES `menu` WRITE;
/*!40000 ALTER TABLE `menu` DISABLE KEYS */;
INSERT INTO `menu` VALUES (2,'网站源码','web','',1,1,1,'2019-02-28 14:44:19'),(3,'游戏源码','game','',2,1,1,'2019-02-28 20:04:44'),(4,'技术文章','course','',3,0,1,'2019-03-13 13:11:54');
/*!40000 ALTER TABLE `menu` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `notice`
--

DROP TABLE IF EXISTS `notice`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `notice` (
  `id` int(20) unsigned NOT NULL AUTO_INCREMENT COMMENT '通知ID',
  `user` varchar(50) NOT NULL COMMENT '通知会员',
  `msg` text NOT NULL COMMENT '通知内容',
  `time` datetime DEFAULT NULL COMMENT '通知时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `notice`
--

LOCK TABLES `notice` WRITE;
/*!40000 ALTER TABLE `notice` DISABLE KEYS */;
INSERT INTO `notice` VALUES (1,'17688411880','您的会员组等级升级成功','2019-03-03 16:17:42'),(2,'17688411880','您的会员时间续费成功','2019-03-03 16:37:36'),(3,'17688411880','您的会员组等级升级成功','2019-03-13 10:08:31');
/*!40000 ALTER TABLE `notice` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `page`
--

DROP TABLE IF EXISTS `page`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `page` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `title` varchar(255) DEFAULT NULL,
  `alias` varchar(255) DEFAULT NULL,
  `content` text,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=3 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `page`
--

LOCK TABLES `page` WRITE;
/*!40000 ALTER TABLE `page` DISABLE KEYS */;
INSERT INTO `page` VALUES (1,'关于我们','about','<p style=\"text-align: center;\"><b><span>码农网</span><span>&nbsp;&nbsp; &nbsp; &nbsp;<span>（www.codesceo.com）</span></span></b></p><p><span><br></span></p><p><span></span></p><p>码农网是一个提供各类网络资源分享的平台。创办于2015年底。网站本着\"提供最全面的网络资源分享平台\"的精神，为广大用户提供丰富的网络资源，同时也为广大的朋友提供了最佳的学习成长和交流的平台。</p><p>在<span>码农网</span>，您可以轻松地浏览并下载自己需要的网站源码、网站模板、软件源码、网页特效等资源，来完善并丰富你的网站内容和功能；还可以分享您认为优秀的建站资源和文档，为他人提供更多的帮助，成为一个受人尊敬的站长；还可以随时随地和其它站长交流，结识志同道合的朋友。</p><p>同时，如果您有发现任何优秀的资源，也可以向大家分享和推荐哦！但切记转载的作品须注明原作者和出处，希望大家都能尊重别人的劳动成果。</p><p>如果您是站长，我们更是希望您能够加入到我们的资源分享中来，和国内千千万万的站长共同分享您的作品，收获分享所带来的快乐！</p>'),(2,'免责声明','copyright','<p>码农网对网站上所显示的信息或资料的准确性、内容、完整性、合法性、可靠性、可操作性或可用性不承担任何责任。</p><p>码农网服务中的任何信息或材料的删除、存储失败、错误提供或未及时提供不承担任何责任。</p><p>码农网其许可方不对通过码农网服务得到的或在其上刊登广告所推介的产品或服务、通过由码农网服务提供的任何链接而得到的产品或服务，以及通过在码农网服务中所提供的任何链接而得到的任何信息或建议做任何担保。</p><p>对因通过服务下载或访问网上的任何信息或材料而导致的任何伤害不承担任何责任。</p><p>码农网服务包含的下载资源信息内的所有内容并不反映亦不代表任何码农网之意见。</p><p>码农网作为模板共享网络服务提供者，对非法转载，盗版行为的发生不具备充分的监控能力。</p><p>但是当版权拥有者提出侵权指控并出示充分的版权证明材料时，码农网负有移除盗版和非法转载作品以及停止继续传播的义务。</p><p>码农网对他人在网站上实施的此类侵权行为不承担法律责任，侵权的法律责任概由会员本人承担。</p><p>码农网板发布作品的作者视为同意码农网粉就前款情况采取的相应措施。</p><p>码农网在满足前款条件下采取移除等相应措施后不为此向原发布人承担违约责任或其他法律责任，包括不承担因侵权指控不成立而给原发布人带来损害的赔偿责任。</p><p>如果版权拥有者发现自己作品被侵权，请及时向码农网提出权利通知，将身份证明、权属证明、具体链接（URL）及详细侵权情况证明发往405527089@qq.com。</p><p>码农网在收到上述法律文件后，在5个工作日内移除相关涉嫌侵权的内容。</p><p><span><strong>仅供学习个人使用</strong></span></p><p>码农网提供的资源仅供您个人用于非商业性目的。</p><p>您不得使用码农网提供的资源来销售产品或资源。</p><p>您不得将码农网的资源索引，将其重新排版后挪作他用，或在您的网站上设立码农网产品主页或其他页面的镜像网页。</p><p>如果您想将码农网服务用于商业目的，必须事先与码农网签定协议，有关详细信息，请与我们联系。</p><p>您在此保证您不会以任何违反任何适用于您作为码农网产品服务的使用者的任何管辖地的法律或法规的方式使用码农网产品服务。</p>');
/*!40000 ALTER TABLE `page` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `pay`
--

DROP TABLE IF EXISTS `pay`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `pay` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(11) unsigned DEFAULT NULL,
  `user` varchar(50) DEFAULT NULL,
  `jine` varchar(50) DEFAULT NULL,
  `type` tinyint(1) unsigned NOT NULL COMMENT '1 在线支付 2 下载源码 3 充值会员 4 源码收益',
  `time` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `pay`
--

LOCK TABLES `pay` WRITE;
/*!40000 ALTER TABLE `pay` DISABLE KEYS */;
/*!40000 ALTER TABLE `pay` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `purchase`
--

DROP TABLE IF EXISTS `purchase`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `purchase` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '购买ID',
  `uid` int(11) unsigned NOT NULL COMMENT '用户ID',
  `user` varchar(255) NOT NULL COMMENT '用户名',
  `title` varchar(255) NOT NULL,
  `codeid` int(11) unsigned NOT NULL,
  `price` varchar(20) NOT NULL,
  `time` datetime DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=10 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `purchase`
--

LOCK TABLES `purchase` WRITE;
/*!40000 ALTER TABLE `purchase` DISABLE KEYS */;
INSERT INTO `purchase` VALUES (9,2,'17688411880','网站源码1111',5,'100','2019-03-17 01:32:30');
/*!40000 ALTER TABLE `purchase` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `scode`
--

DROP TABLE IF EXISTS `scode`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `scode` (
  `id` int(20) unsigned NOT NULL AUTO_INCREMENT,
  `mid` int(11) unsigned NOT NULL COMMENT '菜单ID',
  `uid` int(11) unsigned NOT NULL COMMENT '发布会员ID',
  `user` varchar(30) NOT NULL COMMENT '发布会员账号',
  `catid` varchar(50) NOT NULL COMMENT '所属分类',
  `title` varchar(100) NOT NULL COMMENT '源码标题',
  `demo` varchar(300) NOT NULL COMMENT '演示地址',
  `url` varchar(300) NOT NULL COMMENT '源码地址',
  `price` varchar(10) NOT NULL COMMENT '源码售价',
  `type` tinyint(1) unsigned NOT NULL COMMENT '源码售价类型 1为积分，2为金额',
  `thumb` varchar(255) NOT NULL COMMENT '封面主图',
  `content` text NOT NULL COMMENT '详细描述',
  `examine` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '投稿审核 0为审核中，1为审核通过',
  `essence` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是否精华，0为否，1为是',
  `browser` varchar(20) NOT NULL DEFAULT '0' COMMENT '浏览量',
  `tagid` int(11) unsigned NOT NULL,
  `tag` text NOT NULL,
  `down` varchar(20) NOT NULL DEFAULT '0' COMMENT '下载次数',
  `comment` varchar(20) NOT NULL DEFAULT '0' COMMENT '评论总数',
  `create_time` datetime DEFAULT NULL COMMENT '提交时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `scode`
--

LOCK TABLES `scode` WRITE;
/*!40000 ALTER TABLE `scode` DISABLE KEYS */;
INSERT INTO `scode` VALUES (5,2,2,'17688411880','3,2','欧皇源码论坛（www.ohbbs.cn）','','/public/static/txt/20190309/069fabf66436bef0709da8e365ceae0c.txt','100',1,'/public/static/thumb/20210415/ffe7a4392e0473b16489a66901f6d40c.jpg','<div class=\"show-body\"><div id=\"wrap\"><div><p>爱我的哇多</p><p>啊啊下线</p><p>爱我的哇网站多</p><p>啊啊下线</p></div></div></div>',1,0,'216',1,'网站源码,1','0','0','2021-04-15 22:15:32');
/*!40000 ALTER TABLE `scode` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `sign`
--

DROP TABLE IF EXISTS `sign`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `sign` (
  `id` int(30) unsigned NOT NULL AUTO_INCREMENT,
  `uid` int(11) unsigned NOT NULL,
  `money` decimal(10,1) NOT NULL,
  `addtime` int(10) unsigned DEFAULT NULL,
  `status` tinyint(1) unsigned NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=7 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `sign`
--

LOCK TABLES `sign` WRITE;
/*!40000 ALTER TABLE `sign` DISABLE KEYS */;
INSERT INTO `sign` VALUES (6,2,1.0,1552406400,0);
/*!40000 ALTER TABLE `sign` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `tag`
--

DROP TABLE IF EXISTS `tag`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `tag` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT,
  `cid` int(11) unsigned NOT NULL,
  `name` varchar(50) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=2 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `tag`
--

LOCK TABLES `tag` WRITE;
/*!40000 ALTER TABLE `tag` DISABLE KEYS */;
INSERT INTO `tag` VALUES (1,2,'dd');
/*!40000 ALTER TABLE `tag` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `upgrade`
--

DROP TABLE IF EXISTS `upgrade`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `upgrade` (
  `id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '升级ID',
  `title` varchar(50) NOT NULL COMMENT '升级名称',
  `cost` varchar(10) DEFAULT NULL COMMENT '升级费用',
  `duration` tinyint(1) unsigned NOT NULL COMMENT '会员时长 1为周，2为月，3为年，4为永久',
  `station` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '全站积分下载 0为不免费，1为免费',
  `rmb` tinyint(1) unsigned NOT NULL COMMENT '全站人民币下载 0为不免费，1为免费',
  `discount` varchar(255) NOT NULL COMMENT '打折',
  `song` varchar(255) NOT NULL COMMENT '送积分',
  `icon` varchar(255) NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=8 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `upgrade`
--

LOCK TABLES `upgrade` WRITE;
/*!40000 ALTER TABLE `upgrade` DISABLE KEYS */;
INSERT INTO `upgrade` VALUES (1,'月付会员','118',2,0,0,'','500','/public/static/skin/img/vip1.png'),(2,'年付会员','448',3,0,0,'9','','/public/static/skin/img/vip2.png'),(4,'终身会员','688',4,0,0,'8','','/public/static/skin/img/vip3.png');
/*!40000 ALTER TABLE `upgrade` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `user`
--

DROP TABLE IF EXISTS `user`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `user` (
  `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '会员ID',
  `tel` varchar(50) NOT NULL COMMENT '账号',
  `password` varchar(50) NOT NULL COMMENT '密码',
  `money` varchar(10) NOT NULL DEFAULT '0' COMMENT '会员金额',
  `integral` varchar(20) NOT NULL DEFAULT '0' COMMENT '会员积分',
  `collection` tinyint(10) unsigned NOT NULL DEFAULT '0' COMMENT '收藏',
  `avatar` varchar(255) NOT NULL DEFAULT '' COMMENT '会员头像',
  `auth_id` varchar(64) NOT NULL DEFAULT '0' COMMENT '会员组 0为普通会员',
  `enddateline` datetime NOT NULL COMMENT '会员过期时间',
  `manager` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '管理员权限 1为管理员,0为无权限',
  `juge` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '禁用账号 0为正常，1为禁用',
  `create_time` datetime DEFAULT NULL COMMENT '创建时间',
  `update_time` datetime DEFAULT NULL COMMENT '更新时间',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `user`
--

LOCK TABLES `user` WRITE;
/*!40000 ALTER TABLE `user` DISABLE KEYS */;
INSERT INTO `user` VALUES (2,'17688411880','c01fbfdf88cf514596fcf48f164ce6d7','0','100',0,'/public/static/avatar/20190303/d5062e5386e03856f983299267719124.png','0','0000-00-00 00:00:00',1,0,'2019-02-27 23:05:46','2021-04-15 22:20:15');
/*!40000 ALTER TABLE `user` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Dumping events for database '666_u7u_top'
--

--
-- Dumping routines for database '666_u7u_top'
--
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

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

-- Dump completed on 2021-04-15 22:20:47
