摘要: Spring Boot 2.0 @ModelAttribute Spring Boot 2.0 中的注解 @ModelAttribute 有什么作用呢? 通常情况下,我们会将 @ModelAttribute 注解放置在 Controller 中的某个方法上,那么,如果您在请求这个 Controller 中定义的 URI 时,会首先调用这个被注解的方法,并将该方法 阅读全文
posted @ 2023-10-16 16:28 深码青年 阅读(148) 评论(0) 推荐(0) 编辑