diff --git a/Data/update.sql b/Data/update.sql index 3887716ff..933115d79 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -298,4 +298,28 @@ CREATE TABLE `tab_spend_user_count` ( KEY `chain` (`chain`) USING BTREE, KEY `level` (`level`) USING BTREE, KEY `count_date` (`count_date`) USING BTREE -) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='流水角色聚合表'; \ No newline at end of file +) ENGINE=MyISAM AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='流水角色聚合表'; + +--downloadlog下载日志数据表 +DROP TABLE IF EXISTS `tab_downloadlog`; +CREATE TABLE IF NOT EXISTS `tab_downloadlog` ( + `id` int(11) NOT NULL AUTO_INCREMENT, + `logid` varchar(254) NOT NULL DEFAULT '0' COMMENT '日志id', + `admin_id` int(11) NOT NULL DEFAULT '0' COMMENT '推广者|管理员id', + `type` varchar(254) NOT NULL DEFAULT '0' COMMENT '下载控制器地址', + `dataname` varchar(254) NOT NULL DEFAULT '0' COMMENT '导出数据名称', + `status` int(11) NOT NULL DEFAULT '0' COMMENT '下载状态 0未下载 1已下载', + `addtime` int(11) NOT NULL DEFAULT '0' COMMENT '添加下载时间戳', + `begintime` int(11) NOT NULL DEFAULT '0' COMMENT '开始下载时间戳', + `content` mediumtext COMMENT '备注内容', + `conditions` varchar(1024) DEFAULT '[]' COMMENT '下载筛选条件', + PRIMARY KEY (`id`) +) ENGINE=MyISAM AUTO_INCREMENT=220 DEFAULT CHARSET=utf8 COMMENT='下载管理日志'; + +ALTER TABLE `tab_promote` + ADD COLUMN `ver_status` TINYINT(2) NULL DEFAULT NULL COMMENT '资质认证审核状态(1是审核成功,2审核失败,3未审核)' AFTER `child_game_permission`, + ADD COLUMN `idcarpic` CHAR(253) NULL DEFAULT NULL COMMENT '身份证证件照' AFTER `ver_status`, + ADD COLUMN `businesspic` CHAR(253) NULL DEFAULT NULL COMMENT '营业执照' AFTER `idcarpic`, + ADD COLUMN `agreementpic` CHAR(253) NULL DEFAULT NULL COMMENT '合同' AFTER `businesspic`, + ADD COLUMN `address` VARCHAR(520) NULL DEFAULT NULL COMMENT '住址' AFTER `agreementpic`, + ADD COLUMN `account_type` INT(11) NULL DEFAULT NULL COMMENT '(1为公司,2为个人)' AFTER `address`; \ No newline at end of file