From 19885a055580f3267ed6e671c08f8da11a3e22bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=E2=80=98?= <“chenzhi063@qq.com> Date: Sat, 12 Oct 2019 18:25:11 +0800 Subject: [PATCH] =?UTF-8?q?=E8=A1=A8=E6=8F=90=E4=BA=A4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) diff --git a/Data/update.sql b/Data/update.sql index b15149fbe..f414b9a8d 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -98,4 +98,37 @@ CREATE TABLE `tab_protect_log` ( `detail` varchar(200) DEFAULT '' COMMENT '异常内容', `create_time` int(11) DEFAULT '0' COMMENT '创建时间', PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; \ No newline at end of file +) ENGINE=MyISAM AUTO_INCREMENT=5 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; + +----------------- +--测试资源申请表-- +----------------- +CREATE TABLE `tab_test_resource` ( + `id` int(11) NOT NULL AUTO_INCREMENT COMMENT '主键自增', + `user_id` int(11) DEFAULT '0' COMMENT '对应角色的id', + `user_account` varchar(50) DEFAULT NULL COMMENT '用户帐号', + `user_password` varchar(248) DEFAULT NULL COMMENT '用户密码', + `phone` varchar(15) DEFAULT '' COMMENT '手机号码', + `role_name` varchar(50) DEFAULT NULL COMMENT '角色名', + `game_id` int(11) NOT NULL COMMENT '游戏id', + `game_name` varchar(30) NOT NULL COMMENT '游戏名称', + `server_name` varchar(30) NOT NULL COMMENT '区服名称', + `server_id` int(11) DEFAULT NULL COMMENT '对接区服id', + `promote_id` int(11) DEFAULT '0' COMMENT '所属推广员id', + `promote_account` varchar(30) DEFAULT '' COMMENT '所属推广员账号', + `apply_name` varchar(30) DEFAULT '' COMMENT '申请人名称', + `apply_id` int(11) DEFAULT '0' COMMENT '申请人id', + `apply_remark` varchar(200) DEFAULT '' COMMENT '申请备注', + `apply_resource` int(11) DEFAULT '0' COMMENT '申请资源数量', + `apply_status` tinyint(2) DEFAULT '0' COMMENT '审核状态 0未审核 1未通过 2通过/发放', + `apply_type` int(2) DEFAULT '0' COMMENT '扶持类型 0:新增 1:后续', + `verify_resource` int(11) DEFAULT '0' COMMENT '实际发放', + `verify_remark` varchar(200) DEFAULT '' COMMENT '审核意见', + `create_time` int(11) DEFAULT '0' COMMENT '申请时间', + `verify_time` int(11) DEFAULT '0' COMMENT '审核时间', + PRIMARY KEY (`id`) USING BTREE, + KEY `user_id` (`user_id`) USING BTREE, + KEY `game_id` (`game_id`) USING BTREE, + KEY `promote_id` (`promote_id`) USING BTREE, + KEY `create_time` (`create_time`) USING BTREE +) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 ROW_FORMAT=COMPACT COMMENT='测试资源申请'; \ No newline at end of file