<dependency>
<groupId>com.github.alenfive</groupId>
<artifactId>common-api-boot-starter</artifactId>
<version>1.0.0.RELEASE</version>
</dependency>
对mysql操作的服务,基于springboot2.x,引入该依赖包后,会暴露3个接口
- POST /common/{table}/{resultType} 单表查询接口
- POST /common/{table} 新增
- PUT /common/{table} 修改
实现对数据源任意单表的逻辑的操作
官方文档: https://github.com/alenfive/common-api