Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: shaoxinzeng/springboot-mybatis-redis
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: xkf4806/springboot-mybatis-redis
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Able to merge. These branches can be automatically merged.
  • 2 commits
  • 3 files changed
  • 2 contributors

Commits on Aug 27, 2017

  1. 添加项目描述

    xkf4806 authored Aug 27, 2017
    Copy the full SHA
    f53b9a3 View commit details
  2. 修改

    xinj.xue committed Aug 27, 2017
    Copy the full SHA
    ef8a2a4 View commit details
Showing with 9 additions and 11 deletions.
  1. +6 −0 README.md
  2. +3 −10 pom.xml
  3. +0 −1 src/main/java/com/hkd/controller/UserDemoController.java
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1 +1,7 @@
# springboot-mybatis-redis

redis cluster实现方式

swagger生成restAPI文档

需要查看API页面,请访问 host:port/swagger-ui.html
13 changes: 3 additions & 10 deletions pom.xml
Original file line number Diff line number Diff line change
@@ -8,7 +8,7 @@
<version>0.0.1-SNAPSHOT</version>
<packaging>jar</packaging>

<name>hkd</name>
<name>redis+swagger</name>
<description>Demo project for Spring Boot</description>

<parent>
@@ -102,8 +102,8 @@
<!--pagehelper-->
<dependency>
<groupId>com.github.pagehelper</groupId>
<artifactId>pagehelper</artifactId>
<version>4.1.1</version>
<artifactId>pagehelper-spring-boot-starter</artifactId>
<version>1.1.0</version>
</dependency>

<!-- swagger -->
@@ -125,13 +125,6 @@
<plugin>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<dependencies>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>springloaded</artifactId>
<version>1.2.5.RELEASE</version>
</dependency>
</dependencies>
</plugin>
</plugins>
</build>
1 change: 0 additions & 1 deletion src/main/java/com/hkd/controller/UserDemoController.java
Original file line number Diff line number Diff line change
@@ -15,7 +15,6 @@
* Created by 1 on 2017-08-15.
*/
@RestController
@RequestMapping()
public class UserDemoController {

@Autowired