diff --git a/Application/Admin/Controller/PromoteGameRatioController.class.php b/Application/Admin/Controller/PromoteGameRatioController.class.php
new file mode 100644
index 000000000..3e9105e12
--- /dev/null
+++ b/Application/Admin/Controller/PromoteGameRatioController.class.php
@@ -0,0 +1,16 @@
+
-
注册时间
+ | 注册时间
diff --git a/Data/update.sql b/Data/update.sql
index bf24fab5d..b27e6a430 100644
--- a/Data/update.sql
+++ b/Data/update.sql
@@ -724,4 +724,23 @@ INSERT INTO `sys_menu`(`title`, `pid`, `sort`, `url`, `hide`, `tip`, `group`, `i
--2019-12-13
--游戏添加落地页视频封面
ALTER TABLE `tab_game`
-ADD COLUMN `flooring_page_video_cover` int(11) NOT NULL DEFAULT 0 COMMENT '落地页视频封面';
\ No newline at end of file
+ADD COLUMN `flooring_page_video_cover` int(11) NOT NULL DEFAULT 0 COMMENT '落地页视频封面';
+
+--2019-12-16
+--公会分成比例管理
+CREATE TABLE `tab_promote_game_ratio` (
+ `id` int(11) NOT NULL AUTO_INCREMENT,
+ `promote_id` int(11) NOT NULL DEFAULT 0 COMMENT '推广员id',
+ `game_id` int(11) NOT NULL DEFAULT 0 COMMENT '游戏id',
+ `ratio` decimal(5, 2) NOT NULL DEFAULT 0 COMMENT '分成比例',
+ `begin_time` int(10) NOT NULL DEFAULT 0 COMMENT '开始时间',
+ `end_time` int(10) NOT NULL DEFAULT 0 COMMENT '过期时间',
+ `remark` varchar(255) NOT NULL COMMENT '备注',
+ `status` tinyint(3) NOT NULL DEFAULT 0 COMMENT '审核状态:-1-未通过 0-待审核 1-通过',
+ `applicant_id` int(11) NOT NULL DEFAULT 0 COMMENT '申请人',
+ `reviewer_id` int(11) NOT NULL DEFAULT 0 COMMENT '审核人',
+ `create_time` int(10) NOT NULL DEFAULT 0 COMMENT '创建时间',
+ `update_time` int(10) NOT NULL DEFAULT 0 COMMENT '更新时间',
+ PRIMARY KEY (`id`),
+ INDEX `promote_id`(`promote_id`, `game_id`, `status`) USING BTREE
+);
\ No newline at end of file
|