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