From 977cfcba3c6259bf3f098aa8f9ddb8f7c20aa95a Mon Sep 17 00:00:00 2001 From: ELF <360197197@qq.com> Date: Fri, 13 Nov 2020 11:33:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Application/Base/Tool/GameResource/YzchzbClient.class.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Application/Base/Tool/GameResource/YzchzbClient.class.php b/Application/Base/Tool/GameResource/YzchzbClient.class.php index 36f6c86ea..1efb656ec 100644 --- a/Application/Base/Tool/GameResource/YzchzbClient.class.php +++ b/Application/Base/Tool/GameResource/YzchzbClient.class.php @@ -133,9 +133,9 @@ class YzchzbClient public function getResourceTypes($deviceType) { if ($deviceType == 'andriod') { - return ['id' => 1, 'name' => '通用', 'device_type' => 'andriod']; + return [['id' => 1, 'name' => '通用', 'device_type' => 'andriod']]; } elseif ($deviceType == 'ios') { - return ['id' => 2, 'name' => '通用', 'device_type' => 'ios']; + return [['id' => 2, 'name' => '通用', 'device_type' => 'ios']]; } }