10 2022 档案

摘要:今天前端传递一个json,我用@RequestBody怎么都接不到这个参数 一看请求头是application/x-www-form-urlencoded这个,这样的话,前端只能传递key-value形式的参数 但是前端application/x-www-form-urlencoded这个不能改! 阅读全文
posted @ 2022-10-18 16:32 xxfcode 阅读(36) 评论(0) 推荐(0) 编辑
摘要:FileInputStream fis = null; ServletOutputStream sos = null; try { //设置响应头 response.setContentType("application/vnd.openxmlformats-officedocument.sprea 阅读全文
posted @ 2022-10-18 11:15 xxfcode 阅读(411) 评论(0) 推荐(0) 编辑