From 0fe7e58c61072f573c9a1a9b5d13e071f462c9a1 Mon Sep 17 00:00:00 2001 From: zhengyongxing Date: Thu, 14 Jan 2021 09:36:46 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B8=82=E5=9C=BA=E4=B8=9A=E7=BB=A9=E7=A6=BB?= =?UTF-8?q?=E8=81=8C=E5=8A=9F=E8=83=BD=E6=8F=90=E4=BA=A4=E5=AF=BC=E5=87=BA?= =?UTF-8?q?=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Admin/Model/ModelModel.class.php | 2 +- Application/Admin/View/Game/lists.html | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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'])}