将 response.getWriter() 换成 OutputStream out = response.getOutputStream() 这个就好了。
但是换成这个将会对接口调用的返回值格式发生了改变,之前是返回对象,后来这个返回成json,
不确定 response.setContentType(); 设置成什么
将 response.getWriter() 换成 OutputStream out = response.getOutputStream() 这个就好了。
但是换成这个将会对接口调用的返回值格式发生了改变,之前是返回对象,后来这个返回成json,
不确定 response.setContentType(); 设置成什么