{$title.title}
-{$title.title}
+-
-
-
- •{$er['zititle']}---
{$er['contend']}
-
-
-
- -
+ •{$er['zititle']}+++
{$er['contend']}
+
+
+
+
From 91d5166af323d5fa3265726d42840ac72a6a6067 Mon Sep 17 00:00:00 2001
From: chenxiaojun <956334972@qq.com>
Date: Fri, 11 Oct 2019 16:51:03 +0800
Subject: [PATCH 01/41] =?UTF-8?q?=E6=9B=B4=E6=96=B0->=E4=B8=8B=E7=BA=A7?=
=?UTF-8?q?=E6=B7=BB=E5=8A=A0=E6=B8=B8=E6=88=8Fbug=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Application/Home/Controller/ApplyController.class.php | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/Application/Home/Controller/ApplyController.class.php b/Application/Home/Controller/ApplyController.class.php
index 156950d71..351cd05e7 100644
--- a/Application/Home/Controller/ApplyController.class.php
+++ b/Application/Home/Controller/ApplyController.class.php
@@ -1548,6 +1548,13 @@ class ApplyController extends BaseController
$save['ratio'] = $gameData['ratio'];
$save['money'] = $gameData['money'];
+ $gameSource = M('Game_source', 'tab_')->field('id,source_version')->where(['game_id' => $gameId])->find();
+ if (!file_exists(get_game_source_file_url($gameId)) || null == $gameSource) {
+ $save['enable_status'] = -1;
+ } else {
+ $save['enable_status'] = 2;
+ }
+
$res = M('Apply', 'tab_')->add($save);
if (!$res) {
From b3aa8078af7f9105f7d29b0fe62decf476f55108 Mon Sep 17 00:00:00 2001
From: chenxiaojun <956334972@qq.com>
Date: Sat, 12 Oct 2019 13:40:42 +0800
Subject: [PATCH 02/41] =?UTF-8?q?=E5=AE=98=E7=BD=91=E9=A1=B5=E9=9D=A2?=
=?UTF-8?q?=E4=BF=AE=E5=A4=8D?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
Application/Media/View/default/Public/base.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/Application/Media/View/default/Public/base.html b/Application/Media/View/default/Public/base.html
index 7ac983a02..8f2f20a47 100644
--- a/Application/Media/View/default/Public/base.html
+++ b/Application/Media/View/default/Public/base.html
@@ -174,6 +174,7 @@
+
{$er['contend']}
-
-
{$er['contend']}
+
+
y>GWuR~pM^TjBoQP_^8lN!{ajx-v+8y<=AMcnUkvFAN5 z^zI^!VjyAOF2h%-^YutFqrtY|!tXNw<*L!2>@LBCX&@&!GW6)HM z5tUz36?hs|vuvH8PtT?K6;)5E@I*B Wlg3rz)qo6h1sunVL&Q1xR zk7dVVu*Vl-rWJ*K*cWTQ0DHmuFnsd)!Eva?f;_a?9BMhFgyMyY?G$7sC5B;^#PF&W zF>Hp#$J%4*vGUk-IKgEc=;41BDCZQ|QUH{b>9eLkG~_o!+&Pk@qn!X@_n*MdbgviO z^nbtZMk987erF9fLZaw2D>_j)axCEztp1i~mTtjSSQFH|fk q69LA}0AIDJ_ftUoX(gPaV`#%WhU&q@SqrJ;YHiUt)|GHn8z z{3dL^h0=<{-_dK|M74iB*!~2!NcjK$V)yVkQF4ZmM7Ly05k&neSjDiYu2(f%tg*V< zU;)yX?ZPBG*w{E=h_lPnZD@7(5c!+-^zv-Di8xtklRwxt^&tQN0C=2ZU}Rum0OD^g zo8HIs+k9o (0~1IT0ChqPbCbUW78dXT07nu6b$Fa( zVPIfjAprvb1rPu+lj{T-BLYkS0C=2ZU}Rum;9)RfU}gXTCLrblLI#HaU_Ju?4(9<{ zvm*sh0e-?D5JcH(!M1qQ&*;HVLZsVGaH&vY_3I@edU8(l-i&BOO)vgOLjyb5LkkiV z9H4_92GDR6r^zsG#Q1cyWy9||FrL5iXD0Gq7CUEB=ooJ~sEQYf<#eTC@i~o_qV-PS fi3_AhHqq6g_BOi3zdEvk$JM1(h!3y-FkJuu>tjS! delta 1241 zcmV;~1Sb2)4(JUOcTYw}00961000K)01E&B000YokrYdRp8x;?7I(LAPiJg-W&i*J zAOHXYZ~y=VEI6_anP_EUWB>pJkN^M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+`#Uogd9yr_vl0Xy$F$pl6xHQTXbQu&8qMIQpDLG4)gk(fzVL#Fu zA3Aj}o4)yfe);gpyIIwSJ7ebUK{ ri~EZj=l{oBKNMf&=DUhdIMy#f$>?JY8gs=T6XvL@fx6pr?%oZhug zda|D%My?vL??*3@5$qL9uPrmbHFCR$tNiv5PyjqV?hb?Hn4`$YvXOd;ZQYu!F_)-+ zubo)(SP*^)0tiqBxlB`F(N(Z57m|3Dzb`fRND!E$nxGL!R*;zFp( 1h95Um_^dEEK?E@1%V+`t- z$H$tnE)&b1W-98?fWD0k4){bVw6rS#(SN@ks@k)r=!jbew33eN>C5-I>1{t#Rc0aI z{ERS3(F}*nWBKvgPk1`Arvvh_34dOLr;Uf>(V^MeyZ3=><9k9+OAGhE)O1G?ZXx+O e+EzNnSy_B>>_5XwY9gbj_2s-}ozb2yE&u=my=!^^ From 5745fee3bdf95556a2999fc9699bcf73120a21ba Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Sat, 12 Oct 2019 18:08:21 +0800 Subject: [PATCH 13/41] =?UTF-8?q?=E6=96=B0=E5=A2=9E=EF=BC=9A=E5=AE=98?= =?UTF-8?q?=E7=BD=91->=E5=AE=A2=E6=9C=8D=E5=B8=AE=E5=8A=A9->=E6=A8=A1?= =?UTF-8?q?=E7=B3=8A=E6=90=9C=E7=B4=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Media/View/default/Service/detail.html | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/Application/Media/View/default/Service/detail.html b/Application/Media/View/default/Service/detail.html index 4ed693f54..dc66c8ed9 100644 --- a/Application/Media/View/default/Service/detail.html +++ b/Application/Media/View/default/Service/detail.html @@ -86,7 +86,8 @@ } var oLis = DOM.getElesByClass("tabOption"); var flag = 0; - var upFlag = oLis.length;; (function() { + var upFlag = oLis.length; + (function() { function fn(e) { e = e || window.event; if (e.wheelDelta) { @@ -180,6 +181,12 @@ // console.log(url); window.location.href = url; }); + + $('#search_value').bind('keypress', function (event) { + if(event.keyCode == 13){ + $('#search_btn').click(); + } + }); })(); \ No newline at end of file From 9aa0dee8959bf8352f00066b344946ea5c61275f Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Mon, 14 Oct 2019 11:53:39 +0800 Subject: [PATCH 14/41] =?UTF-8?q?=E5=AE=98=E7=BD=91=E8=AE=A4=E8=AF=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Media/View/default/Public/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Media/View/default/Public/base.html b/Application/Media/View/default/Public/base.html index ac620daac..37e3cc7bd 100644 --- a/Application/Media/View/default/Public/base.html +++ b/Application/Media/View/default/Public/base.html @@ -213,7 +213,7 @@ 网络文化经营许可证编号:{:C('PC_SET_LICENSE')}
{:C('PC_SET_COPYRIGHT')}
- +
游戏名称 | +新增玩家 | +活跃玩家 | +充值金额 | +付费玩家 | +新增付费用户 | +付费率 | +ARPU | +ARPPU | +||
---|---|---|---|---|---|---|---|---|---|---|
暂无数据 | ||||||||||
{$record.gameName} | +{$record.registerCount} | +{$record.loginCount} | +{$record.payAmount} | +{$record.payUserCount} | +{$record.newPayUserCount} | +{$record.payRate} | +{$record.arpu} | +{$record.arppu} | +
商城
--> - +我的
From 115ce7a35d214426a4938526d0abf5f37fbb3c31 Mon Sep 17 00:00:00 2001 From: tpingzhang <635929049@qq.com> Date: Thu, 17 Oct 2019 15:52:22 +0800 Subject: [PATCH 18/41] =?UTF-8?q?=E5=A2=9E=E5=8A=A0user=5Ftoken?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Data/update.sql | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Data/update.sql b/Data/update.sql index b1cab2369..61619fcb4 100644 --- a/Data/update.sql +++ b/Data/update.sql @@ -157,4 +157,7 @@ CREATE TABLE `tab_protect_log_read` ( `promote_id` int(11) NOT NULL DEFAULT '0' COMMENT '推广员id', `create_time` int(11) DEFAULT '0' COMMENT '创建时间', PRIMARY KEY (`id`) -) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; \ No newline at end of file +) ENGINE=MyISAM AUTO_INCREMENT=25 DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC; +-- 增加用户Token 验证用户 +ALTER TABLE `tab_user` +ADD COLUMN `user_token` char(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT '' COMMENT '用户token 登入时下发' AFTER `token`; \ No newline at end of file From db956a2d7753037ac26ba225b67d1287db0e3862 Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Thu, 17 Oct 2019 16:11:49 +0800 Subject: [PATCH 19/41] =?UTF-8?q?=E4=BF=AE=E6=94=B9bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/Controller/QueryController.class.php | 2 +- .../Home/View/default/Query/gameArpu.html | 2 +- .../Sdk/Controller/UserController.class.php | 23 ++++++++++++++++++- 3 files changed, 24 insertions(+), 3 deletions(-) diff --git a/Application/Home/Controller/QueryController.class.php b/Application/Home/Controller/QueryController.class.php index ce7a00127..a0bc19e67 100644 --- a/Application/Home/Controller/QueryController.class.php +++ b/Application/Home/Controller/QueryController.class.php @@ -1956,7 +1956,7 @@ class QueryController extends BaseController } else { $spendMap['_string'] = '1<>1'; } - $allRecharges = M('spend', 'tab_')->field('count(*) count, sum(cost) cost, game_player_id')->where($gameMap)->group('game_player_id')->select(); + $allRecharges = M('spend', 'tab_')->field('count(*) count, sum(cost) cost, game_player_id')->where($spendMap)->group('game_player_id')->select(); $allRecords = []; foreach ($allRecharges as $recharge) { $allRecords[$recharge['game_player_id']] = $recharge; diff --git a/Application/Home/View/default/Query/gameArpu.html b/Application/Home/View/default/Query/gameArpu.html index 1078c5ddb..ada236dfb 100644 --- a/Application/Home/View/default/Query/gameArpu.html +++ b/Application/Home/View/default/Query/gameArpu.html @@ -196,7 +196,7 @@ end: function () { // layer.open({ type: 2, - title: timetitle + ptitle + '游戏数据', + title: timetitle + ptitle + ' 游戏数据', shadeClose: true, shade: false, maxmin: true, //开启最大化最小化按钮 diff --git a/Application/Sdk/Controller/UserController.class.php b/Application/Sdk/Controller/UserController.class.php index eaa979164..d8a701d54 100644 --- a/Application/Sdk/Controller/UserController.class.php +++ b/Application/Sdk/Controller/UserController.class.php @@ -1168,10 +1168,11 @@ class UserController extends BaseController $user = M('user', 'tab_'); $user_data = $user -> find($user_id); + $gameName = get_game_name($request['game_id']); $data['promote_id'] = $request['promote_id']; $data['promote_account'] = get_promote_account($request['promote_id']); $data['game_id'] = $request['game_id']; - $data['game_name'] = get_game_name($request['game_id']); + $data['game_name'] = $gameName; $data['server_id'] = $request['server_id']; $data['server_name'] = $request['server_name']; $data['role_name'] = $request['game_player_name']; @@ -1191,9 +1192,29 @@ class UserController extends BaseController $user_play->save($data); $this->updateLoginRecord($data); } else { + $data['create_time'] = time(); + $data['create_ip'] = get_client_ip(); + // $data['create_device_number'] = time(); + $user_play->add($data); $this->updateLoginRecord($data); } + + $server = M('server', 'tab_')->where(['server_id' => $request['server_id'], 'game_id' => $request['game_id']])->find(); + if (empty($server)) { + $serverData = [ + 'game_id' => $request['game_id'], + 'game_name' => $gameName, + 'server_name' => $request['server_name'], + 'server_num' => $request['server_id'], + 'server_id' => $request['server_id'], + 'server_version' => $request["sdk_version"], + 'create_time' => time(), + 'start_time' => time(), + ]; + M('server', 'tab_')->data($serverData)->add(); + } + $this -> set_message(200, "success", "成功"); } From e3d0e885f2770f2c7c56f56dd0a8841a07d6a082 Mon Sep 17 00:00:00 2001 From: chenxiaojun <956334972@qq.com> Date: Thu, 17 Oct 2019 16:42:36 +0800 Subject: [PATCH 20/41] =?UTF-8?q?=E6=97=A0=E6=A3=80=E7=B4=A2=E6=9D=A1?= =?UTF-8?q?=E4=BB=B6=E9=BB=98=E8=AE=A4=E5=8C=85=E6=8B=AC=E6=9C=AC=E8=B4=A6?= =?UTF-8?q?=E5=8F=B7?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Home/Controller/QueryController.class.php | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/Application/Home/Controller/QueryController.class.php b/Application/Home/Controller/QueryController.class.php index cc38aeb0c..694e82c7c 100644 --- a/Application/Home/Controller/QueryController.class.php +++ b/Application/Home/Controller/QueryController.class.php @@ -39,8 +39,10 @@ class QueryController extends BaseController $childPromoteIds = getAllChildPromoteList(3); if (empty($childPromoteIds)) { - $map['tab_spend.promote_id'] = 0; + $map['tab_spend.promote_id'] = PID; } else { + $childPromoteIds .= ',' . PID; + $map['tab_spend.promote_id'] = ['in', $childPromoteIds]; } @@ -183,8 +185,10 @@ class QueryController extends BaseController $childPromoteIds = getAllChildPromoteList(3); if (empty($childPromoteIds)) { - $map['tab_user.promote_id'] = 0; + $map['tab_user.promote_id'] = PID; } else { + $childPromoteIds .= ',' . PID; + $map['tab_user.promote_id'] = ['in', $childPromoteIds]; } @@ -960,10 +964,12 @@ class QueryController extends BaseController { $childPromoteIds = getAllChildPromoteList(3); if (empty($childPromoteIds)) { - $userPlayInfoWhere['tab_user_play_info.promote_id'] = 0; - $userGameLoginWhere['tab_user_game_login_record.promote_id'] = 0; - $spendWhere['tab_spend.promote_id'] = 0; + $userPlayInfoWhere['tab_user_play_info.promote_id'] = PID; + $userGameLoginWhere['tab_user_game_login_record.promote_id'] = PID; + $spendWhere['tab_spend.promote_id'] = PID; } else { + $childPromoteIds .= ',' . PID; + $userPlayInfoWhere['tab_user_play_info.promote_id'] = ['in', $childPromoteIds]; $userGameLoginWhere['tab_user_game_login_record.promote_id'] = ['in', $childPromoteIds]; $spendWhere['tab_spend.promote_id'] = ['in', $childPromoteIds]; @@ -1209,11 +1215,13 @@ class QueryController extends BaseController $childPromoteIds = getAllChildPromoteList(3); if (empty($childPromoteIds)) { - $map['tab_apply.promote_id'] = 0; - $userPlayInfoMap['tab_user_play_info.promote_id'] = 0; - $userGameLoginMap['tab_user_game_login_record.promote_id'] = 0; - $spendMap['tab_spend.promote_id'] = 0; + $map['tab_apply.promote_id'] = PID; + $userPlayInfoMap['tab_user_play_info.promote_id'] = PID; + $userGameLoginMap['tab_user_game_login_record.promote_id'] = PID; + $spendMap['tab_spend.promote_id'] = PID; } else { + $childPromoteIds .= ',' . PID; + $map['tab_apply.promote_id'] = ['in', $childPromoteIds]; $userPlayInfoMap['tab_user_play_info.promote_id'] = ['in', $childPromoteIds]; $userGameLoginMap['tab_user_game_login_record.promote_id'] = ['in', $childPromoteIds]; From 059900320ba9b348222ca0d7f1fc66d6a2395019 Mon Sep 17 00:00:00 2001 From: zhengchanglong暂无数据
{$giftbag['desribe']}
From f87853a9f700a12b41c4d8b3d700a1cc45bc45fe Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Thu, 17 Oct 2019 21:11:31 +0800 Subject: [PATCH 38/41] 123 --- Application/Mobile/View/Ssg/index.html | 1 + 1 file changed, 1 insertion(+) diff --git a/Application/Mobile/View/Ssg/index.html b/Application/Mobile/View/Ssg/index.html index 2b503b31b..ef7902001 100644 --- a/Application/Mobile/View/Ssg/index.html +++ b/Application/Mobile/View/Ssg/index.html @@ -238,6 +238,7 @@ var index = { } index.getgamelist(); $(".pay-button").on("click",function(){ + console.log(index); var inres = index.pay_game_id.indexOf(index.choose.game_id); if(inres > -1){ alert("亲~您已购买过了~请到【订单查询】查看订单信息哟~"); From e826b22d561dbd887b296487b5fa3afd3beaea08 Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Thu, 17 Oct 2019 21:13:00 +0800 Subject: [PATCH 39/41] 1234 --- Application/Mobile/View/Ssg/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Application/Mobile/View/Ssg/index.html b/Application/Mobile/View/Ssg/index.html index ef7902001..7f2650d02 100644 --- a/Application/Mobile/View/Ssg/index.html +++ b/Application/Mobile/View/Ssg/index.html @@ -240,10 +240,11 @@ index.getgamelist(); $(".pay-button").on("click",function(){ console.log(index); var inres = index.pay_game_id.indexOf(index.choose.game_id); + console.log(inres); if(inres > -1){ alert("亲~您已购买过了~请到【订单查询】查看订单信息哟~"); }else{ - location.href = "/sdk.php/Ipa365/pay/game_id/"+index.choose.game_id; + // location.href = "/sdk.php/Ipa365/pay/game_id/"+index.choose.game_id; } }) $("#logout").on("click",function(){ From 0d50d94a420b6613d82c490116a4e5f823b0aa5e Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Thu, 17 Oct 2019 21:14:02 +0800 Subject: [PATCH 40/41] 123456 --- Application/Mobile/View/Ssg/index.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Application/Mobile/View/Ssg/index.html b/Application/Mobile/View/Ssg/index.html index 7f2650d02..a7bdf9f06 100644 --- a/Application/Mobile/View/Ssg/index.html +++ b/Application/Mobile/View/Ssg/index.html @@ -239,7 +239,7 @@ var index = { index.getgamelist(); $(".pay-button").on("click",function(){ console.log(index); - var inres = index.pay_game_id.indexOf(index.choose.game_id); + var inres = index.pay_game_id.indexOf(index.choose.game_id+''); console.log(inres); if(inres > -1){ alert("亲~您已购买过了~请到【订单查询】查看订单信息哟~"); From 37572819853ae36d5a8d62620b940daf324d0a82 Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Thu, 17 Oct 2019 21:15:06 +0800 Subject: [PATCH 41/41] =?UTF-8?q?=E5=BC=B9=E7=AA=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Mobile/View/Ssg/index.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Application/Mobile/View/Ssg/index.html b/Application/Mobile/View/Ssg/index.html index a7bdf9f06..a93358614 100644 --- a/Application/Mobile/View/Ssg/index.html +++ b/Application/Mobile/View/Ssg/index.html @@ -238,13 +238,11 @@ var index = { } index.getgamelist(); $(".pay-button").on("click",function(){ - console.log(index); var inres = index.pay_game_id.indexOf(index.choose.game_id+''); - console.log(inres); if(inres > -1){ alert("亲~您已购买过了~请到【订单查询】查看订单信息哟~"); }else{ - // location.href = "/sdk.php/Ipa365/pay/game_id/"+index.choose.game_id; + location.href = "/sdk.php/Ipa365/pay/game_id/"+index.choose.game_id; } }) $("#logout").on("click",function(){