原文:https://blog.csdn.net/wisdomhealth/article/details/78400421
@RequestMapping("/file/{filename}")调整为:@RequestMapping("/file/{filename:.+}")