02 2019 档案

摘要:springboot集合 父模块 <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.3.RELEASE</vers 阅读全文
posted @ 2019-02-26 17:43 发疯的man 阅读(1481) 评论(0) 推荐(0) 编辑
摘要:注意 :通常下载文件是用get请求 后台: response.setHeader("Content-Disposition", "attachment;filename=" + URLEncoder.encode(filename,"UTF-8")); 参考博客:https://blog.csdn. 阅读全文
posted @ 2019-02-26 10:16 发疯的man 阅读(9390) 评论(0) 推荐(1) 编辑
摘要:实现场景: 比如说前端需要返回userPic 这个字段,但是我们数据库定义的是pic字段。 可以用@jsonProperty 来实现 实现场景: 比如说我们返回前端的值为null就不让这个属性显示 阅读全文
posted @ 2019-02-08 14:39 发疯的man 阅读(3318) 评论(0) 推荐(1) 编辑

喜欢请打赏

扫描二维码打赏

了解更多

喜欢请打赏

点击右上角即可分享
微信分享提示