Merge branch 'feature/testing_resource_admin' of wmtx/platform into release

测试资源bug
master
廖金灵 4 years ago committed by Gogs
commit c0cafc43de

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

Loading…
Cancel
Save