接受日期类型的请求参数按照指定的格式格式化:
在方法参数前使用 @DateTimeFormat(pattern = "yyyy-MM-dd")
-
-
Save bfchengnuo/b44f9b505012e98d2fb773aa6156366d to your computer and use it in GitHub Desktop.
一些很方便的被忽视的功能
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment