屏蔽文件

This commit is contained in:
等风来 2018-08-24 08:33:09 +08:00
parent 0f3d2e25be
commit 9f6d4599a1
2 changed files with 177 additions and 4 deletions

10
.gitignore vendored Normal file
View File

@ -0,0 +1,10 @@
# Windows thumbnail cache files
/runtime
/.idea
/application/database.php/
/application/controller/server/
/application/view/server/
/application/model/server/
/vendor/
/public/uploads/

View File

@ -3,7 +3,7 @@
-- http://www.phpmyadmin.net
--
-- 主机: localhost
-- 生成日期: 2018 ?08 ?21 ?03:01
-- 生æˆ<EFBFBD>日期: 2018 å¹?08 æœ?24 æ—?00:32
-- 服务器版本: 5.5.53
-- PHP 版本: 7.0.12
@ -753,6 +753,81 @@ INSERT INTO `eb_routine_template` (`id`, `tempkey`, `name`, `content`, `tempid`,
-- --------------------------------------------------------
--
-- 表的结构 `eb_store_bargain`
--
CREATE TABLE IF NOT EXISTS `eb_store_bargain` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ç <EFBFBD>价产å“<EFBFBD>ID',
`product_id` int(11) unsigned NOT NULL COMMENT 'å…³è<EFBFBD>”产å“<EFBFBD>ID',
`title` varchar(255) NOT NULL COMMENT 'ç <EFBFBD>价活动å<EFBFBD><EFBFBD>ç§°',
`image` varchar(150) NOT NULL COMMENT 'ç <EFBFBD>价活动å¾ç‰‡',
`unit_name` varchar(16) DEFAULT NULL COMMENT 'å<EFBFBD>•ä½<EFBFBD>å<EFBFBD><EFBFBD>ç§°',
`stock` int(11) unsigned DEFAULT NULL COMMENT '库存',
`sales` int(11) unsigned DEFAULT NULL COMMENT '销é‡<EFBFBD>',
`images` varchar(1000) NOT NULL COMMENT 'ç <EFBFBD>价产å“<EFBFBD>è½®æ­å¾',
`start_time` int(11) unsigned NOT NULL COMMENT 'ç <EFBFBD>ä»·å¼€å<EFBFBD>¯æ—¶é—´',
`stop_time` int(11) unsigned NOT NULL COMMENT 'ç <EFBFBD>价结æ<EFBFBD>Ÿæ—¶é—´',
`store_name` varchar(255) DEFAULT NULL COMMENT 'ç <EFBFBD>价产å“<EFBFBD>å<EFBFBD><EFBFBD>ç§°',
`price` decimal(8,2) unsigned DEFAULT NULL COMMENT 'ç <EFBFBD>ä»·é‡é¢<EFBFBD>',
`min_price` decimal(8,2) unsigned DEFAULT NULL COMMENT 'ç <EFBFBD>价商å“<EFBFBD>最低价',
`num` int(11) unsigned DEFAULT NULL COMMENT 'æ¯<EFBFBD>次购买的ç <EFBFBD>价产å“<EFBFBD>æ•°é‡<EFBFBD>',
`bargain_max_price` decimal(8,2) unsigned DEFAULT NULL COMMENT '用户æ¯<EFBFBD>次ç <EFBFBD>价的最大é‡é¢<EFBFBD>',
`bargain_min_price` decimal(8,2) unsigned DEFAULT NULL COMMENT '用户æ¯<EFBFBD>次ç <EFBFBD>价的最å°<EFBFBD>é‡é¢<EFBFBD>',
`bargain_num` int(11) unsigned NOT NULL DEFAULT '1' COMMENT '用户æ¯<EFBFBD>次ç <EFBFBD>价的次数',
`status` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT 'ç <EFBFBD>价状æ€<EFBFBD> 0(到ç <C3A7>ä»·æ—¶é—´ä¸<C3A4>自动开å<E282AC>¯) 1(到ç <C3A7>价时间自动开å<E282AC>¯æ—¶é—´)',
`description` text COMMENT 'ç <EFBFBD>价详情',
`give_integral` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT 'å<EFBFBD><EFBFBD>多å°ç§¯åˆ',
`info` varchar(255) DEFAULT NULL COMMENT 'ç <EFBFBD>价活动简ä»',
`cost` decimal(8,2) unsigned DEFAULT NULL COMMENT 'æˆ<EFBFBD>本价',
`sort` int(11) unsigned NOT NULL DEFAULT '0' COMMENT 'æŽåº<EFBFBD>',
`is_hot` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是å<EFBFBD>¦æŽ¨è<EFBFBD><EFBFBD>¸<EFBFBD>推è<EFBFBD><EFBFBD>1推è<EFBFBD><EFBFBD>',
`is_del` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '是å<EFBFBD>¦åˆ é™¤ 0未删除 1删除',
`add_time` int(11) unsigned NOT NULL COMMENT '添加时间',
`is_postage` tinyint(1) unsigned NOT NULL DEFAULT '1' COMMENT '是å<EFBFBD>¦åŒ…é® 0ä¸<C3A4>åŒ…é® 1包é®',
`postage` decimal(10,2) unsigned DEFAULT NULL COMMENT '邮费',
`rule` text COMMENT 'ç <EFBFBD>ä»·è§„åˆ',
`look` int(11) unsigned DEFAULT '0' COMMENT 'ç <EFBFBD>价产å“<EFBFBD>æµ<EFBFBD>览é‡<EFBFBD>',
`share` int(11) unsigned DEFAULT '0' COMMENT 'ç <EFBFBD>价产å“<EFBFBD>分享é‡<EFBFBD>',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='ç <EFBFBD>价表' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- 表的结构 `eb_store_bargain_user`
--
CREATE TABLE IF NOT EXISTS `eb_store_bargain_user` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT '用户å<EFBFBD>与ç <EFBFBD>价表ID',
`uid` int(11) unsigned DEFAULT NULL COMMENT '用户ID',
`bargain_id` int(11) unsigned DEFAULT NULL COMMENT 'ç <EFBFBD>价产å“<EFBFBD>id',
`bargain_price_min` decimal(8,2) unsigned DEFAULT NULL COMMENT 'ç <EFBFBD>价的最低价',
`bargain_price` decimal(8,2) DEFAULT NULL COMMENT 'ç <EFBFBD>ä»·é‡é¢<EFBFBD>',
`price` decimal(8,2) unsigned DEFAULT NULL COMMENT 'ç <EFBFBD>掉的价格',
`status` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '状æ€<EFBFBD><31>与中 2 活动结æ<E2809C>Ÿå<C5B8>与失败 3活动结æ<E2809C>Ÿå<C5B8>与æˆ<C3A6>功',
`add_time` int(11) unsigned DEFAULT NULL COMMENT 'å<EFBFBD>与时间',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='用户å<EFBFBD>与ç <EFBFBD>价表' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- 表的结构 `eb_store_bargain_user_help`
--
CREATE TABLE IF NOT EXISTS `eb_store_bargain_user_help` (
`id` int(11) unsigned NOT NULL AUTO_INCREMENT COMMENT 'ç <EFBFBD>价用户帮助表ID',
`uid` int(11) unsigned DEFAULT NULL COMMENT '帮助的用户id',
`bargain_id` int(11) unsigned DEFAULT NULL COMMENT 'ç <EFBFBD>价产å“<EFBFBD>ID',
`bargain_user_id` int(11) unsigned DEFAULT NULL COMMENT '用户å<EFBFBD>与ç <EFBFBD>价表id',
`price` decimal(8,2) unsigned DEFAULT NULL COMMENT '帮助ç <EFBFBD>价多å°é‡é¢<EFBFBD>',
`add_time` int(11) unsigned DEFAULT NULL COMMENT '添加时间',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='ç <EFBFBD>价用户帮助表' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- 表的结构 `eb_store_cart`
--
@ -803,6 +878,87 @@ CREATE TABLE IF NOT EXISTS `eb_store_category` (
-- --------------------------------------------------------
--
-- 表的结构 `eb_store_combination`
--
CREATE TABLE IF NOT EXISTS `eb_store_combination` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`product_id` int(10) unsigned NOT NULL COMMENT '商å“<EFBFBD>id',
`mer_id` int(10) unsigned DEFAULT '0' COMMENT '商户id',
`image` varchar(255) NOT NULL COMMENT '推è<EFBFBD><EFBFBD>å¾',
`images` varchar(1000) NOT NULL COMMENT '轮播图',
`title` varchar(255) NOT NULL COMMENT '活动标题',
`attr` varchar(255) NOT NULL COMMENT '活动属性',
`people` int(2) unsigned NOT NULL COMMENT 'å<EFBFBD>å¢äººæ•°',
`info` varchar(255) NOT NULL COMMENT '简介',
`price` decimal(10,2) unsigned NOT NULL COMMENT 'ä»·æ ¼',
`sort` int(10) unsigned NOT NULL COMMENT 'æŽåº<EFBFBD>',
`sales` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '销é‡<EFBFBD>',
`stock` int(10) unsigned NOT NULL COMMENT '库存',
`add_time` varchar(128) NOT NULL COMMENT '添加时间',
`is_host` tinyint(1) unsigned NOT NULL DEFAULT '0' COMMENT '推è<EFBFBD><EFBFBD>',
`is_show` tinyint(1) unsigned NOT NULL COMMENT '产å“<EFBFBD>状æ€<EFBFBD>',
`is_del` tinyint(1) unsigned NOT NULL DEFAULT '0',
`combination` tinyint(1) unsigned NOT NULL DEFAULT '1',
`mer_use` tinyint(1) unsigned NOT NULL COMMENT '商户是å<EFBFBD>¦å<EFBFBD>¯ç”¨1å<EFBFBD>¯ç”¨0ä¸<EFBFBD>å<EFBFBD>¯ç”¨',
`is_postage` tinyint(1) unsigned NOT NULL COMMENT '是å<EFBFBD>¦åŒ…é®1是0å<EFBFBD>¦',
`postage` decimal(10,2) unsigned NOT NULL COMMENT '邮费',
`description` text NOT NULL COMMENT '拼团内容',
`start_time` int(11) unsigned NOT NULL COMMENT '拼团开始时间',
`stop_time` int(11) unsigned NOT NULL COMMENT 'æ¼å¢ç»“æ<EFBFBD>Ÿæ—¶é—´',
`cost` int(10) unsigned NOT NULL DEFAULT '0' COMMENT 'æ¼å¾äº§å“<EFBFBD>æˆ<EFBFBD>本',
`browse` int(11) DEFAULT '0' COMMENT 'æµ<EFBFBD>览é‡<EFBFBD>',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='æ¼å¢äº§å“<EFBFBD>表' AUTO_INCREMENT=1 ;
-- --------------------------------------------------------
--
-- 表的结构 `eb_store_combination_attr`
--
CREATE TABLE IF NOT EXISTS `eb_store_combination_attr` (
`product_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '商å“<EFBFBD>ID',
`attr_name` varchar(32) NOT NULL COMMENT '属性å<EFBFBD><EFBFBD>',
`attr_values` varchar(256) NOT NULL COMMENT '属性值',
KEY `store_id` (`product_id`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='商å“<EFBFBD>属性表';
-- --------------------------------------------------------
--
-- 表的结构 `eb_store_combination_attr_result`
--
CREATE TABLE IF NOT EXISTS `eb_store_combination_attr_result` (
`product_id` int(10) unsigned NOT NULL COMMENT '商å“<EFBFBD>ID',
`result` text NOT NULL COMMENT '商å“<EFBFBD>属性å<EFBFBD>æ•°',
`change_time` int(10) unsigned NOT NULL COMMENT '上次修改时间',
UNIQUE KEY `product_id` (`product_id`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='商å“<EFBFBD>属性详情表';
-- --------------------------------------------------------
--
-- 表的结构 `eb_store_combination_attr_value`
--
CREATE TABLE IF NOT EXISTS `eb_store_combination_attr_value` (
`product_id` int(10) unsigned NOT NULL COMMENT '商å“<EFBFBD>ID',
`suk` varchar(128) NOT NULL COMMENT '商å“<EFBFBD>属性索引值 (attr_value|attr_value[|....])',
`stock` int(10) unsigned NOT NULL COMMENT '属性对应的库存',
`sales` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '销é‡<EFBFBD>',
`price` decimal(8,2) unsigned NOT NULL COMMENT '属性é‡é¢<EFBFBD>',
`image` varchar(128) DEFAULT NULL COMMENT '图片',
`unique` char(8) NOT NULL DEFAULT '' COMMENT '唯一值',
`cost` decimal(8,2) unsigned NOT NULL COMMENT 'æˆ<EFBFBD>本价',
UNIQUE KEY `unique` (`unique`,`suk`) USING BTREE,
KEY `store_id` (`product_id`,`suk`) USING BTREE
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='商å“<EFBFBD>属性值表';
-- --------------------------------------------------------
--
-- 表的结构 `eb_store_coupon`
--
@ -1368,7 +1524,14 @@ CREATE TABLE IF NOT EXISTS `eb_store_visit` (
`content` varchar(255) DEFAULT NULL COMMENT '备注描述',
`add_time` int(11) DEFAULT NULL COMMENT '添加时间',
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='产品浏览分析表' AUTO_INCREMENT=1 ;
) ENGINE=MyISAM DEFAULT CHARSET=utf8 COMMENT='产å“<EFBFBD>æµ<EFBFBD>览分æž<EFBFBD>表' AUTO_INCREMENT=2 ;
--
-- 转存表中的数æ<C2B0>® `eb_store_visit`
--
INSERT INTO `eb_store_visit` (`id`, `product_id`, `product_type`, `cate_id`, `type`, `uid`, `count`, `content`, `add_time`) VALUES
(1, 0, 'product', 0, 'search', 1, 1, '0', 1535070682);
-- --------------------------------------------------------
@ -1399,7 +1562,7 @@ CREATE TABLE IF NOT EXISTS `eb_system_admin` (
--
INSERT INTO `eb_system_admin` (`id`, `account`, `pwd`, `real_name`, `roles`, `last_ip`, `last_time`, `add_time`, `login_count`, `level`, `status`, `is_del`) VALUES
(1, 'admin', '0192023a7bbd73250516f069df18b500', 'admin', '1', '127.0.0.1', 1534816836, 1534816241, 0, 0, 1, 0);
(1, 'admin', '0192023a7bbd73250516f069df18b500', 'admin', '1', '127.0.0.1', 1535070363, 1534816241, 0, 0, 1, 0);
-- --------------------------------------------------------
@ -2203,7 +2366,7 @@ CREATE TABLE IF NOT EXISTS `eb_user` (
--
INSERT INTO `eb_user` (`uid`, `account`, `pwd`, `nickname`, `avatar`, `phone`, `add_time`, `add_ip`, `last_time`, `last_ip`, `now_money`, `integral`, `status`, `level`, `spread_uid`, `user_type`, `is_promoter`, `pay_count`) VALUES
(1, 'liaofei', 'e10adc3949ba59abbe56e057f20f883e', '等风来,随风去', 'http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLBaQPPnbg52bgibia1CZDruib1RwibHbBbnfxH1MUwbyz3G0Xub1LNX0ib5RFd7nZvo88gzHwib0OPibyfZQ/132', '', 1528859304, '140.207.54.80', 1534817575, '127.0.0.1', '0.00', '0.00', 1, 0, 0, 'wechat', 0, 0);
(1, 'liaofei', 'e10adc3949ba59abbe56e057f20f883e', '等风æ<EFBFBD>¥ï¼Œéš<EFBFBD>风去', 'http://thirdwx.qlogo.cn/mmopen/ajNVdqHZLLBaQPPnbg52bgibia1CZDruib1RwibHbBbnfxH1MUwbyz3G0Xub1LNX0ib5RFd7nZvo88gzHwib0OPibyfZQ/132', '', 1528859304, '140.207.54.80', 1535070458, '127.0.0.1', '0.00', '0.00', 1, 0, 0, 'wechat', 0, 0);
-- --------------------------------------------------------