run TestcacheApplication
in browser url
https://localpc.qingchiapp.com:8097/app/hello?adCode=100000
//pom
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.9</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>
<!--<dependencyManagement>
<dependencies>
<!– https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-dependencies –>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.4.9</version>
<!– 所有依赖包的版本控制统一 –>
<type>pom</type>
<!– 仅支持type=pom,仅用来pom间互相引用,减少父pom体积–>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>-->
<!--<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.4.9</version>
<relativePath/> <!– lookup parent from repository –>
</parent>-->
<dependencyManagement>
<dependencies>
<!-- https://mvnrepository.com/artifact/org.springframework.boot/spring-boot-dependencies -->
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-dependencies</artifactId>
<version>2.4.9</version>
<!-- 所有依赖包的版本控制统一 -->
<type>pom</type>
<!-- 仅支持type=pom,仅用来pom间互相引用,减少父pom体积-->
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>