方法:$arr = array('name'=>$picname,'pic'=>$pics,'size'=>$size);$this->ajaxReturn (json_encode($arr),'JSON');
tp5使用json()返回json对象