首页
it技术
登录
6mi
u
盘
搜
搜 索
it技术
spring boot以实体类方式接收前台传递的参数
spring boot以实体类方式接收前台传递的参数
it
2023-03-16
75
Controller层通过@ModelAttribute接收参数
@RestController @RequestMapping(path = "/") public class Controller { @GetMapping(value = "/test") public void test(@ModelAttribute testDTO testDTO){ } }
转载请注明原文地址: https://lol.8miu.com/read-3108.html
最新回复
(
0
)