add getRealIP

This commit is contained in:
JoyChou
2017-09-14 17:38:34 +08:00
parent 45535b6588
commit 3d7f0a2bd4
19 changed files with 505 additions and 157 deletions

22
pom.xml
View File

@@ -21,5 +21,27 @@
<version>4.3.6</version>
</dependency>
<!-- solute HttpServletRequest -->
<dependency>
<groupId>javax.servlet</groupId>
<artifactId>servlet-api</artifactId>
<version>2.5</version>
<scope>provided</scope>
</dependency>
<!-- solute HttpServletRequest -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-tomcat</artifactId>
<version>1.2.4.RELEASE</version>
</dependency>
<!-- StringUtils -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.0</version>
</dependency>
</dependencies>
</project>