@ ResponseBody
{userName} @ RequestMapping (value="https://bbs.csdn.net/uploadUserImg/", method=RequestMethod. POST)
Public MapUploadUserImg (@ RequestParam (" userImg ") MultipartFile imgFile,
@ PathVariable (" userName ") String userName) {
.
}
CodePudding user response:
I also this problem solved? BrothersCodePudding user response:
Finally I use: will upload pictures into base64 string, backstage after receiving again into incoming byte array to the database