与之前的数据库查找出来的数据有所不同。用下面方式解码一下,方便使用 json_decode(json_encode($result),true); 如果不这样操作,json_decode也是很重要的。要不数据格式不对。