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 @@
-
+
退出登入
至尊版购买
-
+
订单查询
@@ -131,29 +131,12 @@
- +
游戏数据获取中....
-
+
支付未到账?
@@ -163,7 +146,7 @@
-
+
联系客服
@@ -172,9 +155,6 @@
-
@@ -264,6 +244,10 @@ $(".pay-button").on("click",function(){ location.href = "/sdk.php/Ipa365/pay/game_id/"+index.choose.game_id; } }) +$("#logout").on("click",function(){ + alert("退出登录成功"); + location.href = "mobile.php?s=/Ssg/logout.html"; +}) function handlePay() { var hdGameID = $("#hdGameID").val(); var orderStatus = $("#orderStatus").val(); @@ -294,5 +278,8 @@ function throttle(fun, delay) { } } } +function chatQQ() { + window.location.href = 'mqqwpa://im/chat?chat_type=wpa&uin={$app_qq}&version=1&src_type=web&web_src=oicqzone.com'; +} \ No newline at end of file diff --git a/Application/Mobile/View/Ssg/login.html b/Application/Mobile/View/Ssg/login.html index 3682ab3d5..6b8870b35 100644 --- a/Application/Mobile/View/Ssg/login.html +++ b/Application/Mobile/View/Ssg/login.html @@ -227,7 +227,7 @@ + -
-
- 订单查询 +
+ +
订单查询
+
- - -
+ +
+ +
+ +
+ + + - -
- - \ No newline at end of file diff --git a/Application/Mobile/View/Ssg/orderbcak.html b/Application/Mobile/View/Ssg/orderbcak.html new file mode 100644 index 000000000..9d79ca785 --- /dev/null +++ b/Application/Mobile/View/Ssg/orderbcak.html @@ -0,0 +1,79 @@ + + + + + + + 订单列表 + + + + +
+
+ 订单查询 +
+ + + +
+ + + + + \ No newline at end of file diff --git a/Application/Sdk/Controller/Ipa365Controller.class.php b/Application/Sdk/Controller/Ipa365Controller.class.php index 645fe19bc..405851ef4 100644 --- a/Application/Sdk/Controller/Ipa365Controller.class.php +++ b/Application/Sdk/Controller/Ipa365Controller.class.php @@ -256,11 +256,11 @@ class Ipa365Controller extends BaseController{ if (!$userId ) { $this->error("请登入", "/mobile.php/ssg/login"); } - if (!$orderId || !$gameId || !userId) { + if (!$orderId || !$gameId || !$userId) { $this->error("参数校验失败,请重试"); } - $supersign = M('game_supersign', 'tab_')->where(array('order_id' => $orderId))->find(); + $supersign = M('game_supersign', 'tab_')->where(array('order_id' => $orderId,"game_id"=>$gameId))->find(); if (!$supersign) { $this->error("订单不存在"); } diff --git a/Application/Sdk/View/default/Ipa365/install_show.html b/Application/Sdk/View/default/Ipa365/install_show.html index 83430ca7d..2f7ecd7eb 100644 --- a/Application/Sdk/View/default/Ipa365/install_show.html +++ b/Application/Sdk/View/default/Ipa365/install_show.html @@ -8,45 +8,123 @@ content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> 订单详情 + + -
-
- {$game['game_name']} +
+ +
{$game['game_name']}
+
+
-
+
-
+
{$game['game_name']}-超级签
不同设备需要分别付费安装哦,请使用常用设备下载
- +
- + \ No newline at end of file diff --git a/Application/Sdk/View/default/Ipa365/install_show1.html b/Application/Sdk/View/default/Ipa365/install_show1.html new file mode 100644 index 000000000..7e88b4cc7 --- /dev/null +++ b/Application/Sdk/View/default/Ipa365/install_show1.html @@ -0,0 +1,53 @@ + + + + + + + + 订单详情 + + + + +
+
+ {$game['game_name']} +
+
+
+ +
+
{$game['game_name']}-超级签
+
不同设备需要分别付费安装哦,请使用常用设备下载
+ +
+
+
+

特权礼包

+
+
+
    +
  • +
    +

    《天宫计》至尊礼包

    +
    +

    [ 高级宝图*2、财神银匙*1 ]

    +

    + + + 复制 +

    +
  • + +
+
+
+
+
+ + + + + \ No newline at end of file diff --git a/Public/Mobile/images/ssg/back.png b/Public/Mobile/images/ssg/back.png new file mode 100644 index 000000000..899b8eae8 Binary files /dev/null and b/Public/Mobile/images/ssg/back.png differ