From aff492b47069e1a2071ee9417ddef2fc641bf9b5 Mon Sep 17 00:00:00 2001
From: liuweiwen <“529520975@qq.com>
Date: Tue, 10 Dec 2019 10:57:06 +0800
Subject: [PATCH] =?UTF-8?q?=E8=B6=85=E7=BA=A7=E7=AD=BE=E6=96=B0=E5=A2=9E?=
=?UTF-8?q?=E9=9C=80=E6=B1=82-=E3=80=8B=E5=90=8E=E5=8F=B0=E5=A2=9E?=
=?UTF-8?q?=E5=8A=A0=E8=B6=85=E7=BA=A7=E7=AD=BE=E7=BA=A7=E7=AD=BE=E7=8A=B6?=
=?UTF-8?q?=E6=80=81=EF=BC=8C=E6=89=8B=E6=9C=BA=E7=AB=AF=E9=AA=8C=E8=AF=81?=
=?UTF-8?q?=E7=8A=B6=E6=80=81=E6=98=AF=E5=90=A6=E5=8F=AF=E4=B8=8B=E8=BD=BD?=
=?UTF-8?q?=E4=B8=8E=E6=98=BE=E7=A4=BA?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../Admin/Controller/GameController.class.php | 1 +
Application/Admin/View/Game/edit.html | 28 +++++++++++++++++++
.../Home/Controller/HomeController.class.php | 1 +
.../Home/View/default/Home/landingPage.html | 12 +++++++-
.../Mobile/Controller/SsgController.class.php | 7 +++--
Data/update.sql | 1 +
6 files changed, 46 insertions(+), 4 deletions(-)
diff --git a/Application/Admin/Controller/GameController.class.php b/Application/Admin/Controller/GameController.class.php
index c77d8e563..e78b40125 100644
--- a/Application/Admin/Controller/GameController.class.php
+++ b/Application/Admin/Controller/GameController.class.php
@@ -347,6 +347,7 @@ class GameController extends ThinkController
$phone['dow_icon'] = $sibling['dow_icon'];
$phone['back_map'] = $sibling['back_map'];
$phone['flooring_page_video'] = $sibling['flooring_page_video'];
+ $phone['supersign_status'] = $sibling['supersign_status'];
M('Game', 'tab_')->data($phone)->where(array('id' => $another['id']))->save();
//同时修改代充游戏折扣
$set_fidel['status'] = 1;
diff --git a/Application/Admin/View/Game/edit.html b/Application/Admin/View/Game/edit.html
index e3009e1c1..26449697c 100644
--- a/Application/Admin/View/Game/edit.html
+++ b/Application/Admin/View/Game/edit.html
@@ -427,6 +427,7 @@
+
下载状态: |
@@ -453,6 +454,7 @@
+
下载端口: |
@@ -497,6 +499,32 @@
|
+
+
+ 超级签状态: |
+
+
+
+
+
+ |
+
+
+
+
+
+ |
+
+
+
diff --git a/Application/Home/Controller/HomeController.class.php b/Application/Home/Controller/HomeController.class.php
index 7a99c684a..ff6301680 100644
--- a/Application/Home/Controller/HomeController.class.php
+++ b/Application/Home/Controller/HomeController.class.php
@@ -179,6 +179,7 @@ class HomeController extends Controller
'game_size',
'introduction',
'flooring_page_video',
+ 'supersign_status'
];
$map = ['id' => intval($gameId)];
$game = M('game', 'tab_')->field($columns)->where($map)->find();
diff --git a/Application/Home/View/default/Home/landingPage.html b/Application/Home/View/default/Home/landingPage.html
index 209b4e9de..68413e30e 100644
--- a/Application/Home/View/default/Home/landingPage.html
+++ b/Application/Home/View/default/Home/landingPage.html
@@ -32,6 +32,8 @@
+
+
@@ -235,14 +237,22 @@
• 至尊下载:永不闪退、不丢数据稳定有保障
• 同一设备安装一次可在一年内无限次下载重装
+
+
+
¥10至尊下载
- 普通下载
+
+ ¥10至尊下载
+
+ 普通下载
¥10至尊下载
普通下载
+
+
diff --git a/Application/Mobile/Controller/SsgController.class.php b/Application/Mobile/Controller/SsgController.class.php
index 0f974bb85..73731885a 100644
--- a/Application/Mobile/Controller/SsgController.class.php
+++ b/Application/Mobile/Controller/SsgController.class.php
@@ -308,9 +308,9 @@ class SsgController extends BaseController {
$this->assign("app_qq", $appqq);
$this->display();
}
+
public function getGamaList()
{
-
$user = session("user_auth");
$game_name = I("game_name", false);
$type = I("type",false);
@@ -318,8 +318,9 @@ class SsgController extends BaseController {
if($game_name){
$map["game_name"] = array("like","%{$game_name}%");
}
- $map["sdk_version"]=2;
- $map["game_status"]=1;
+ $map["sdk_version"] = 2;
+ $map["game_status"] = 1;
+ $map["supersign_status"] = 1;
$game_list = M("game", "tab_")->field("*, id as game_id")->where($map)->select();
for ($i=0; $i < count($game_list); $i++) {
$game_list[$i]["game_icon"] = get_cover($game_list[$i]["icon"], 'path');
diff --git a/Data/update.sql b/Data/update.sql
index 4a25ce0d3..644f20625 100644
--- a/Data/update.sql
+++ b/Data/update.sql
@@ -655,3 +655,4 @@ VALUES ('ServerNotice', '游戏区服预告', '0', '', '1', '{\"1\":[\"289\",\"2
--游戏表新增字段-落地页视频 liuweiwen 2019-12-09
ALTER TABLE tab_game ADD `flooring_page_video` varchar(150) NOT NULL DEFAULT '' COMMENT '落地页视频';
+ALTER TABLE tab_game ADD `supersign_status` tinyint(1) DEFAULT '1' COMMENT '超级签开关:1-开启;0-关闭';
\ No newline at end of file