diff --git a/Application/Admin/Model/ModelModel.class.php b/Application/Admin/Model/ModelModel.class.php index b54e2e186..8d628dd5e 100644 --- a/Application/Admin/Model/ModelModel.class.php +++ b/Application/Admin/Model/ModelModel.class.php @@ -86,7 +86,7 @@ class ModelModel extends Model{ return empty($fields) ? '' : json_encode($fields); } - protected function getAttribute($fields) { + protected function getAttribute($fields="") { return empty($fields) ? '' : implode(',', $fields); } diff --git a/Application/Admin/View/Game/lists.html b/Application/Admin/View/Game/lists.html index dac9c34b2..f846e5604 100644 --- a/Application/Admin/View/Game/lists.html +++ b/Application/Admin/View/Game/lists.html @@ -148,6 +148,7 @@ text-indent:0; 游戏ID 游戏名称 + 归属识别号 运营平台 混服管理 游戏类型 @@ -173,6 +174,7 @@ text-indent:0; {$data.id} {$data.game_name} + {$data.unique_code|default="无"} {:get_systems_name($data['sdk_version'])} {:getServerType($data['server_type'])}