测试资源bug
@ -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']];
}