:data="uploadFileRelationData"
:action="/admin/sys-file/uploadfile"
@PostMapping(value = "/uploadfile")
public R uploadFile(@RequestPart("file") MultipartFile file,
BnFileBusinessRelation bnFileBusinessRelation) {
return sysFileService.uploadFile(file, bnFileBusinessRelation);
}
new String(file.getOriginalFilename().getBytes("ISO-8859-1"),"utf-8")
new String(bnFileBusinessRelation.getBusinessTypeName().getBytes("ISO-8859-1"),"utf-8")
标签:el,upload,乱码,ISO,file,data,bnFileBusinessRelation
From: https://www.cnblogs.com/linhan8888/p/17753877.html