Thinkphp3.2.3使用Ajax一定注意 数据返回 Thinkphp3.2.3使用Ajax一定注意 数据返回 $data = 'ok'; $this->ajaxReturn($data); 不能直接 echo $data;