diff --git a/Application/Admin/Common/extend.php b/Application/Admin/Common/extend.php index 5168c00bd..88fa10232 100644 --- a/Application/Admin/Common/extend.php +++ b/Application/Admin/Common/extend.php @@ -2862,7 +2862,10 @@ function getAdminUsernameList(array $ids) function isMarketLeader() { - $authGroup = M('sys_auth_group')->where(['title'=>'市场总监'])->find(); + if(IS_SUBSITE){ + return false; + } + $authGroup = M('auth_group','sys_')->where(['title'=>'市场总监'])->find(); if (!$authGroup) { return false; } @@ -2873,6 +2876,9 @@ function isMarketLeader() function isMarketAdmin() { + if(IS_SUBSITE){ + return false; + } $ids = getMarketGroupIds(); if (count($ids) == 0) { return false; diff --git a/Application/Admin/Controller/GameController.class.php b/Application/Admin/Controller/GameController.class.php index b4a37a725..24751d655 100644 --- a/Application/Admin/Controller/GameController.class.php +++ b/Application/Admin/Controller/GameController.class.php @@ -355,6 +355,11 @@ class GameController extends ThinkController if ($invalid || $inv == '') { $this->error('关联数据错误'); } + + if ($_GET['type'] != 2) { + $this->assign('show_status', 1); + } + $suffix = $inv['sdk_version'] == 1 ? "PGB" : "AZB"; $inv['short'] = substr($inv['short'], 0, -3) . $suffix; $this->assign('data', $inv); diff --git a/Application/Admin/View/Game/relation.html b/Application/Admin/View/Game/relation.html index a4922054a..e6e03be02 100644 --- a/Application/Admin/View/Game/relation.html +++ b/Application/Admin/View/Game/relation.html @@ -39,10 +39,17 @@ + + 游戏原包名称: + + + + + 游戏类型: - @@ -173,33 +180,56 @@ + + 一句话简介: + + + + + + + 一句话简介: + + + + + + 游戏开发商: + + + + + + - 游戏简介: - - - - - - - 游戏简介: + 合作方: - + - 游戏开发商: - - + 游戏简介: + + - - + - 详细介绍: + 游戏资料中心: - + + {:hook('adminArticleEdit', array('name'=>'detail_content','value'=>$field['value']))} + + 游戏图标 @@ -264,6 +294,15 @@ (尺寸:210*350px)上传游戏的截图信息,此处截图在游戏详情页显示 + + + 落地页图片 + + {:hook('UploadImages', array('name'=>'flooring_page_imgs','value'=>$data['flooring_page_imgs']))} + (尺寸:210*350px)上传游戏的截图信息,此处截图在游戏详情页显示 + + +