@PathVariable("date") @DateTimeFormat(pattern="yyyy-MM-dd") Date date 转载于:https://www.cnblogs.com/rubekid/p/5173201.html