|
|
@ -133,9 +133,9 @@ class YzchzbClient
|
|
|
|
public function getResourceTypes($deviceType)
|
|
|
|
public function getResourceTypes($deviceType)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
if ($deviceType == 'andriod') {
|
|
|
|
if ($deviceType == 'andriod') {
|
|
|
|
return ['id' => 1, 'name' => '通用', 'device_type' => 'andriod'];
|
|
|
|
return [['id' => 1, 'name' => '通用', 'device_type' => 'andriod']];
|
|
|
|
} elseif ($deviceType == 'ios') {
|
|
|
|
} elseif ($deviceType == 'ios') {
|
|
|
|
return ['id' => 2, 'name' => '通用', 'device_type' => 'ios'];
|
|
|
|
return [['id' => 2, 'name' => '通用', 'device_type' => 'ios']];
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|