摘要: 不传参数,直接通过ServletRequestAttributes获取当前项目所在服务器的端口号和ip地址 public static String getUrl(){ ServletRequestAttributes requestAttributes... 阅读全文
posted @ 2021-01-11 17:13 My--style 阅读(2190) 评论(0) 推荐(1)
摘要: java通过MultipartFile进行文件、图片上传和下载,以及文件流 package com.fh.controller;import com.fh.util.UuidUtil;import org.apache.commons.io.IOUtils;... 阅读全文
posted @ 2021-01-11 10:08 My--style 阅读(446) 评论(0) 推荐(0)