Web开发

注册

 

发新话题 回复该主题

SpringBootWEB开发请求参数 [复制链接]

1#
白癜风用什么药好 http://m.39.net/disease/a_6160465.html

1.项目目录结构

2.引入依赖

dependencygroupIdorg.springframework.boot/groupIdartifactIdspring-boot-starter-validation/artifactId/dependencydependencygroupIdorg.springframework.boot/groupIdartifactIdspring-boot-starter-web/artifactId/dependencydependencygroupIdorg.projectlombok/groupIdartifactIdlombok/artifactIdoptionaltrue/optional/dependency

3.实体类参数校验

package

分享 转发
TOP
发新话题 回复该主题