the project uses the API of RestTemplate to request other projects. When requesting the upload interface, you need to do
FileSystemResource resource = new FileSystemResource (new File (filePath)); convert the file to FileSystemResource. Now my file is down from the server, that is, the InputStream type. How to deal with this.
what I can think of right now is to download it to the disk of the project server, read the request, and then delete it. (disadvantage: may cause more and more junk files on the server, because deletion may fail)-sharp-sharp-sharp problem description
the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)