ueditor粘贴抓取远程图片时,本地请求可以成功,云上服务器就会出现400状态错误,无法访问到后台?

ueditor粘贴抓取远程图片时,本地请求可以成功,云上服务器就会出现400状态错误,无法访问到后台,这个是什么问题?前台iview,后台spring MVC。
后台代码:

    @RequestMapping(value="/uploadUEImg", method={RequestMethod.GET, RequestMethod.POST, RequestMethod.OPTIONS})
    @ResponseBody
    public void editorUpload(HttpServletRequest request, HttpServletResponse response, String action) {
            if("catchimage".equals(action)){
                String exec = new ActionEnter(request, rootPath, realPath).exec();
                PrintWriter writer = response.getWriter();
                writer.write(exec);
                writer.flush();
                writer.close();
            }
     }

image.png
image.png

阅读 1.7k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题