- 博客(4)
- 资源 (2)
- 收藏
- 关注
原创 多文件下载------打包下载
@RequestMapping("/batchDownLoad") @ResponseBody public void batchDownLoad(HttpServletRequest request,HttpServletResponse response,String fileNames) { Map<String,String> map=new ...
2018-09-13 09:19:16
455
原创 SpringBoot定时任务
最常用的一个定时任务采用springBoot注解的方式: 1.在启动类上添加 @EnableScheduling注解 2.创建定时类:@Componentpublic class ScheduledService { Logger log = LoggerFactory.getLogger(getClass()); @Scheduled(cron = " 0 0 6 01...
2018-09-04 08:55:00
163
原创 springboot获取当前项目路径的地址
new ApplicationHome(this.getClass()).getSource().getParentFile().getParentFile().getPath()
2018-09-03 16:55:20
34677
5
原创 layui多文件上传
效果图: 页面的编写(注意:引入layui相关的css):&lt;body class="childrenBody"&gt;&lt;div class="layui-upload"&gt; &lt;button type="button" class=" layui-btn layui-
2018-09-03 16:47:18
3214
5
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人