From 712498aff9709c42dfccce7009b4856996c45dc8 Mon Sep 17 00:00:00 2001 From: chenzhi <“chenzhi063@qq.com> Date: Thu, 17 Oct 2019 12:48:46 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8B=E8=BD=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Controller/BaseController.class.php | 12 +- .../Mobile/Controller/SsgController.class.php | 7 + Application/Mobile/View/Ssg/index.html | 37 ++-- Application/Mobile/View/Ssg/login.html | 2 +- Application/Mobile/View/Ssg/order.html | 185 ++++++++++++++---- Application/Mobile/View/Ssg/orderbcak.html | 79 ++++++++ .../Sdk/Controller/Ipa365Controller.class.php | 4 +- .../Sdk/View/default/Ipa365/install_show.html | 128 +++++++++--- .../View/default/Ipa365/install_show1.html | 53 +++++ Public/Mobile/images/ssg/back.png | Bin 0 -> 1255 bytes 10 files changed, 407 insertions(+), 100 deletions(-) create mode 100644 Application/Mobile/View/Ssg/orderbcak.html create mode 100644 Application/Sdk/View/default/Ipa365/install_show1.html create mode 100644 Public/Mobile/images/ssg/back.png diff --git a/Application/Mobile/Controller/BaseController.class.php b/Application/Mobile/Controller/BaseController.class.php index 522eae603..718ecb54d 100644 --- a/Application/Mobile/Controller/BaseController.class.php +++ b/Application/Mobile/Controller/BaseController.class.php @@ -72,12 +72,12 @@ class BaseController extends Controller { /* 退出登录 */ public function logout() { - $member = new SuserApi; - if($member->logout()>0) { - $this->ajaxReturn(array('status' => 1, 'msg' => '退出成功!')); - } else { - $this->ajaxReturn(array('status' => 0, 'msg' => '已退出!')); - } + $member = new SuserApi; + if($member->logout()>0) { + $this->ajaxReturn(array('status' => 1, 'msg' => '退出成功!')); + } else { + $this->ajaxReturn(array('status' => 0, 'msg' => '已退出!')); + } } diff --git a/Application/Mobile/Controller/SsgController.class.php b/Application/Mobile/Controller/SsgController.class.php index 93e4a4ebf..df8d4d8ed 100644 --- a/Application/Mobile/Controller/SsgController.class.php +++ b/Application/Mobile/Controller/SsgController.class.php @@ -240,6 +240,8 @@ class SsgController extends BaseController { $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(); } @@ -331,6 +333,11 @@ class SsgController extends BaseController { \Think\Log::record('缓存清理业务触发'); session(null); } + //退出 + public function logout() { + session("user_auth",null); + redirect(U("ssg/login")); + } //发送验证码 public function sendPhoneCode() { diff --git a/Application/Mobile/View/Ssg/index.html b/Application/Mobile/View/Ssg/index.html index 57babcca4..015a78cec 100644 --- a/Application/Mobile/View/Ssg/index.html +++ b/Application/Mobile/View/Ssg/index.html @@ -78,12 +78,12 @@