From 9549812c41ebd02cd8b8ff5ed0a11a29a993c73f Mon Sep 17 00:00:00 2001 From: chenzhi Date: Tue, 24 Dec 2019 16:51:34 +0800 Subject: [PATCH 1/7] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=AC=AC=E4=BA=8C?= =?UTF-8?q?=E9=A1=B5=E6=95=B0=E6=8D=AE=E4=B8=8D=E6=98=BE=E7=A4=BA=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/FinancePromote/index.html | 4 ++-- Application/Admin/View/FinancePromote/promoteUser.html | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Application/Admin/View/FinancePromote/index.html b/Application/Admin/View/FinancePromote/index.html index 8fd8b2d59..25314ddd0 100644 --- a/Application/Admin/View/FinancePromote/index.html +++ b/Application/Admin/View/FinancePromote/index.html @@ -222,9 +222,9 @@ 游戏查看 + href="{:U('FinancePromote/gameStatistics',array_merge(['promote_id'=>$data['p_id'],'company_id'=>$data['company_id'],'promote_type'=>1],I('get.'),['p'=>1]))}">游戏查看 渠道查看 + href="{:U('FinancePromote/promoteUser',array_merge(['promote_id'=>$data['p_id'],'company_id'=>$data['company_id']],I('get.'),['p'=>1]))}">渠道查看 diff --git a/Application/Admin/View/FinancePromote/promoteUser.html b/Application/Admin/View/FinancePromote/promoteUser.html index c65fbd042..22d67b342 100644 --- a/Application/Admin/View/FinancePromote/promoteUser.html +++ b/Application/Admin/View/FinancePromote/promoteUser.html @@ -209,7 +209,7 @@ - 游戏查看 + 游戏查看 From 6288e5e64e895d43180bcfcc0e414468fe73e7f1 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Tue, 24 Dec 2019 16:57:31 +0800 Subject: [PATCH 2/7] =?UTF-8?q?=E4=BC=98=E5=8C=96=E6=B8=B8=E6=88=8F?= =?UTF-8?q?=E5=88=97=E8=A1=A8=E6=90=9C=E7=B4=A2=E6=8E=A8=E5=B9=BF=E5=91=98?= =?UTF-8?q?=E6=B2=A1=E6=8E=89=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/FinancePromote/gameStatistics.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Application/Admin/View/FinancePromote/gameStatistics.html b/Application/Admin/View/FinancePromote/gameStatistics.html index e4351eab5..493b6afc6 100644 --- a/Application/Admin/View/FinancePromote/gameStatistics.html +++ b/Application/Admin/View/FinancePromote/gameStatistics.html @@ -127,6 +127,9 @@ + + +
搜索 From a6ad40b45a7b5248213819bab0a0b2b7886ee014 Mon Sep 17 00:00:00 2001 From: chenzhi Date: Tue, 24 Dec 2019 17:00:22 +0800 Subject: [PATCH 3/7] =?UTF-8?q?=E5=85=AC=E4=BC=9A=E7=BB=9F=E8=AE=A1?= =?UTF-8?q?=E6=96=B0=E5=A2=9E=E8=BF=94=E5=9B=9E=E6=8C=89=E9=92=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/FinancePromote/gameStatistics.html | 3 +++ Application/Admin/View/FinancePromote/promoteUser.html | 3 +++ 2 files changed, 6 insertions(+) diff --git a/Application/Admin/View/FinancePromote/gameStatistics.html b/Application/Admin/View/FinancePromote/gameStatistics.html index 493b6afc6..8435ed9a7 100644 --- a/Application/Admin/View/FinancePromote/gameStatistics.html +++ b/Application/Admin/View/FinancePromote/gameStatistics.html @@ -95,6 +95,9 @@
+
+ 返回 +
- + + +
@@ -253,9 +256,11 @@ Think.setValue('{$key}',"{$vo}"); + $(".select_gallery").select2(); diff --git a/Application/Admin/View/Finance/gameStatisticsDetail.html b/Application/Admin/View/Finance/gameStatisticsDetail.html index 400e00d37..dedd6862e 100644 --- a/Application/Admin/View/Finance/gameStatisticsDetail.html +++ b/Application/Admin/View/Finance/gameStatisticsDetail.html @@ -41,7 +41,7 @@ From fac9f41dc3fcabbc4ca3634b7465b2d8adf04786 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Tue, 24 Dec 2019 17:10:25 +0800 Subject: [PATCH 5/7] =?UTF-8?q?=E4=BF=AE=E6=94=B9README.md?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index c13f064c2..f8f969a8c 100644 --- a/README.md +++ b/README.md @@ -1 +1,5 @@ -# cq_new_sy4.0_sdk_cha +

+ +## 天下游戏平台 + +天下游戏平台,万盟天下版权所有。 \ No newline at end of file From 964eea79e53709bbfecda8f819d8e987ba0a477a Mon Sep 17 00:00:00 2001 From: tping Date: Tue, 24 Dec 2019 17:18:53 +0800 Subject: [PATCH 6/7] =?UTF-8?q?1,=20=E5=B9=B3=E5=8F=B0=E5=B8=81=E8=A1=A5?= =?UTF-8?q?=E5=8D=95=202=EF=BC=8Crepair=5Fpay=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Admin/Controller/RepairController.class.php | 11 +++++++++++ Data/update.sql | 13 +++++++++++++ 2 files changed, 24 insertions(+) diff --git a/Application/Admin/Controller/RepairController.class.php b/Application/Admin/Controller/RepairController.class.php index 02f23d354..05de1242c 100644 --- a/Application/Admin/Controller/RepairController.class.php +++ b/Application/Admin/Controller/RepairController.class.php @@ -166,6 +166,17 @@ class RepairController extends ThinkController { M($tab, 'tab_')->commit(); } } else { // deposit + $user = M("user","tab_"); + $r = $user->where("id=".$order['user_id'])->setInc("balance", $order['pay_amount']); + if ($r === false) { + M($tab, 'tab_')->rollback(); + $this->ajaxReturn(array('status'=>1,'msg'=>'数据有误.')); + } + $r = $user->where("id=".$order['user_id'])->setInc("cumulative", $order['pay_amount']); + if ($r === false) { + M($tab, 'tab_')->rollback(); + $this->ajaxReturn(array('status'=>1,'msg'=>'数据有误..')); + } M('spend', 'tab_')->commit(); } diff --git a/Data/update.sql b/Data/update.sql index ab62accb3..67f2f4060 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -894,3 +894,16 @@ ADD COLUMN `event_status` tinyint(1) NOT NULL DEFAULT 0 COMMENT '事件是否通 -- 菜单添加补单记录 INSERT INTO `sys_menu`(`title`, `pid`, `sort`, `url`, `hide`, `tip`, `group`, `is_dev`, `status`) VALUES ('补单记录管理', 137, 0, 'BehaviorLog/singleSupplement', 0, '', '游戏订单', 0, 1); + +-- 增加通知到账 tping +CREATE TABLE `tab_repair_pay` ( + `id` int(10) unsigned NOT NULL AUTO_INCREMENT, + `admin_id` int(11) NOT NULL DEFAULT '0', + `admin_name` varchar(255) NOT NULL DEFAULT '', + `pay_order_number` varchar(255) NOT NULL DEFAULT '', + `ip` varchar(255) NOT NULL DEFAULT '', + `tab` varchar(255) NOT NULL DEFAULT '' COMMENT '订单表:spend,deposit', + `create_time` int(11) NOT NULL DEFAULT '0', + `type` int(11) DEFAULT '0' COMMENT '0通知到账 1补单记录', + PRIMARY KEY (`id`) +) ENGINE=InnoDB AUTO_INCREMENT=0 DEFAULT CHARSET=utf8 COMMENT='通知到账补单'; \ No newline at end of file From 795c1983ad97934d29a1d644f75d9777b5c99eae Mon Sep 17 00:00:00 2001 From: chenzhi Date: Tue, 24 Dec 2019 17:24:25 +0800 Subject: [PATCH 7/7] =?UTF-8?q?=E4=BC=98=E5=8C=96=E5=AE=98=E6=96=B9?= =?UTF-8?q?=E6=B8=A0=E9=81=93=E6=B2=A1=E6=9C=89=E6=B8=A0=E9=81=93=E6=9F=A5?= =?UTF-8?q?=E7=9C=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/View/FinancePromote/gameStatistics.html | 2 +- Application/Admin/View/FinancePromote/index.html | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/Application/Admin/View/FinancePromote/gameStatistics.html b/Application/Admin/View/FinancePromote/gameStatistics.html index 8435ed9a7..b74f6856a 100644 --- a/Application/Admin/View/FinancePromote/gameStatistics.html +++ b/Application/Admin/View/FinancePromote/gameStatistics.html @@ -246,7 +246,7 @@ shadeClose: true, shade: 0.8, area: ['70%', '80%'], - content: [url, 'no'] + content: url }); }); diff --git a/Application/Admin/View/FinancePromote/index.html b/Application/Admin/View/FinancePromote/index.html index 25314ddd0..836fdadf4 100644 --- a/Application/Admin/View/FinancePromote/index.html +++ b/Application/Admin/View/FinancePromote/index.html @@ -223,8 +223,9 @@ 游戏查看 - 渠道查看 + + 渠道查看 + @@ -306,7 +307,7 @@ shadeClose: true, shade: 0.8, area: ['70%', '80%'], - content: [url, 'no'] + content: url }); }); $(".select_gallery").select2();