问题:Fatal error: Cannot use object of type stdClass as array in 解决方案:$result = json_decode($data, true);