$content=str_replace(array("\r\n","\r","\n"),"",$content);
当json_decode 无法解析某些接口的返回值的时候,可能是json里面存在些不可见的\n \r\n \r 等
如果是上面这些造成的, 过滤掉他们就ok了!!