Your time is limited,
so don't waste it living someone else's life.

标签:400

Java

400 bad request: Required request part ‘file’ is not present

Yakima阅读(2646)评论(2)赞(1)

最近碰到一个更新用户个人头像的需求,允许用户选择APP内置的几张示例图片作为头像,也允许用户拍照上传个人头像(不论是选择示例图片作为个人头像还是用户自己拍照作为个人头像,均会在文件字段之外再传其他参数,比如图片名,不只是一个文件字段)。计划...