Skip to content

NullRoutine/fsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SpringBoot入门案例

1.LoginMapper主要实现了用户表的增删改查,集成了mybatis+mysql用于操作

2.JwtController,SessionController主要是jwt的使用和session使用知识

3.对接口的数据校验主要利用Validator + BindResult进行校验

4.Result类实现数据的统一相响应

5.启动项目类为FspApplication 利用swagger生成在线文档(SwaggerConfig),文档地址为localhost:8080/doc.html

6.pagehelper实现分页加载查询数据

7.mybatis配置多数据源参考这篇文章配置出来

About

基于springboot2.x搭建的小案例

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published