当前位置:网站首页>@Datetimeformat @jsonformat differences

@Datetimeformat @jsonformat differences

2022-06-12 07:26:00 qwer12321ck76

Difference between them
@DateTimeFormat
Used for the request body json Format request
@JsonFormat
The body of the request is json Format request
When an object containing this annotation is returned to the front end , It will also follow the format of this annotation ( The return type is json When the format )

Add link description

原网站

版权声明
本文为[qwer12321ck76]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/163/202206120712097334.html