CodePudding user response:
Advice about photo storage to save images to the server, save the path and file name in the database,Flow can be directly read about base64 file download
CodePudding user response:
Base64 string is first converted into a byte [] sentence.Then IO. File. Writeallbytes (" name ", byte []) is a word..
The resulting entity files directly to download path or file stream (that is omitted the second sentence)