500天内最低价距当前天数
摘要:DATETODAY(DATE)-DATETODAY(REF(DATE,LLVBARS(L,500)));
阅读全文
posted @
2020-03-27 22:40
毛会懂
阅读(215)
推荐(0) 编辑
js禁止滚动条滚动并且隐藏滚动条
摘要:禁止鼠标滑过滚动条滚动 document.body.onmousewheel = function () {return false;} 恢复鼠标滑过滚动条滚动 document.body.onmousewheel = function () {return true;} 禁止键盘控制滚动条滚动 d
阅读全文
posted @
2020-03-22 22:20
毛会懂
阅读(7435)
推荐(0) 编辑
JAVA根据图片的URL下载到本地
摘要:ServletOutputStream out = null;InputStream inputStream = null;try {// 获取外部文件流URL url = new URL(path);HttpURLConnection conn = (HttpURLConnection) url.
阅读全文
posted @
2020-03-19 15:51
毛会懂
阅读(989)
推荐(0) 编辑
Java下载文件的几种方式
摘要:https://www.cnblogs.com/lucas1024/p/9533220.html 1.以流的方式下载. public HttpServletResponse download(String path, HttpServletResponse response) { try { //
阅读全文
posted @
2020-03-19 15:49
毛会懂
阅读(23056)
推荐(2) 编辑
解析MP3的时长,大小,上传路径
摘要:添加依赖: <dependency> <groupId>org</groupId> <artifactId>jaudiotagger</artifactId> <version>2.0.3</version></dependency> /*** @desc : 上传音乐* @author : 毛会懂
阅读全文
posted @
2020-03-19 14:08
毛会懂
阅读(736)
推荐(0) 编辑
MultipartFile 转为File 工具类
摘要:public static File multipartFileToFile(MultipartFile file) throws Exception { File toFile = null; if (file.equals("") || file.getSize() <= 0) { file =
阅读全文
posted @
2020-03-19 14:07
毛会懂
阅读(11580)
推荐(0) 编辑