
java随笔
Thriller L
这个作者很懒,什么都没留下…
展开
-
MultipartFile 转为File 工具类
MultipartFile 转为File 工具类 public static File multipartFileToFile(MultipartFile file) throws Exception { File toFile = null; if (file.equals("") || file.getSize() <= 0) { file = null; } else { InputStream ins = null; i原创 2021-12-22 11:16:27 · 212 阅读 · 0 评论 -
swagger-ui测试get请求
swagger-ui测试get请求 @GetMapping("/shop-category") @ResponseBody @ApiOperation("查询get") public AjaxResult getWebShopCategoryUrlInfo (@RequestParam @ApiParam(name="categoryId",value="id",required=true) String categoryId) { OpeSeo result =原创 2021-07-23 15:23:52 · 692 阅读 · 0 评论 -
字节跳动面经汇总
字节跳动面经 【字节跳动】字节跳动-抖音C++开发实习一二面凉经 https://www.nowcoder.com/discuss/342523 【字节跳动】字节跳动后端面经 已拿意向书 https://www.nowcoder.com/discuss/302265 【字节跳动】字节c++一面 https://www.nowcoder.com/discuss/298886 【字节跳动】字节跳动后台...原创 2020-02-03 23:59:18 · 11562 阅读 · 2 评论 -
java 获取最近七天的日期数组,转载mark
@[麦克劳林](java 获取最近七天的日期数组,转载mark) /** * .Description://根据字符日期返回星期几 * .Author:麦克劳林 * .@Date: 2018/12/29 */ public String getWeek(String dateTime){ String week = ""; SimpleDateFormat sdf = n...转载 2019-07-29 22:08:44 · 4458 阅读 · 0 评论