java mail发送邮件 MultipartFile 转 file
@PostMapping(value="send1",consumes = {MediaType.MULTIPART_FORM_DATA_VALUE},produces = {MediaType.APPLICATION_JSON_VALUE}) public void send1(String mail,String title,String content,@RequestPart("file") MultipartFile file){ try { Properties pro...
原创
2020-12-14 17:19:18 ·
1247 阅读 ·
0 评论