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']]; } }