From b8945e8655942cbf16a7c35925dab475683be15b Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Thu, 17 Oct 2019 18:11:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dbug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Mobile/Controller/SsgController.class.php | 14 +------------- Application/Mobile/View/Ssg/login.html | 4 ++-- .../Sdk/View/default/Ipa365/install_show.html | 2 +- 3 files changed, 4 insertions(+), 16 deletions(-) diff --git a/Application/Mobile/Controller/SsgController.class.php b/Application/Mobile/Controller/SsgController.class.php index ab08f9416..3ca58a403 100644 --- a/Application/Mobile/Controller/SsgController.class.php +++ b/Application/Mobile/Controller/SsgController.class.php @@ -228,21 +228,9 @@ class SsgController extends BaseController { redirect(U("ssg/login")); //$this->error("请登入", U('ssg/login')); } - $map['a.user_id']= $user['user_id']; - $map['a.sdk_version'] = 2; - $game_list = M("user_play a","tab_")->field("b.*,b.id as game_id,od.pay_status")->join("inner join tab_game b on a.game_id=b.id left join tab_game_supersign od on od.user_id=a.user_id and od.game_id=b.id and od.pay_status=1")->where($map)->select(); - if (!$game_list) { - $game_list = M("game", "tab_")->field("*, id as game_id")->where(array( - "sdk_version" => 2, - "game_status" => 1, - ))->select(); - foreach ($game_list as &$v) { - $v['pay_status'] = 0; - } - } + $appqq = M("config", "sys_")->field('value')->where("name='APP_QQ'")->find()['value']; $this->assign("app_qq", $appqq); - $this->assign("data_list",$game_list); $this->display(); } public function getGamaList() diff --git a/Application/Mobile/View/Ssg/login.html b/Application/Mobile/View/Ssg/login.html index c2e8e0057..e33e389ee 100644 --- a/Application/Mobile/View/Ssg/login.html +++ b/Application/Mobile/View/Ssg/login.html @@ -143,7 +143,7 @@