🔧Chore: 初始化导入依赖

This commit is contained in:
2025-10-20 16:31:37 +08:00
parent 7f99170a3d
commit 5406eeb9ff
4 changed files with 38 additions and 0 deletions
+2
View File
@@ -0,0 +1,2 @@
.idea
target
+18
View File
@@ -0,0 +1,18 @@
<project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>cn.hezhaohui</groupId>
<artifactId>redis-template</artifactId>
<version>1.0-SNAPSHOT</version>
<dependencies>
<dependency>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-data-redis</artifactId>
<version>3.2.2</version>
</dependency>
</dependencies>
</project>
@@ -0,0 +1,11 @@
package cn.hezhaohui;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
@SpringBootApplication
public class Application {
public static void main(String[] args) {
SpringApplication.run(Application.class, args);
}
}
+7
View File
@@ -0,0 +1,7 @@
spring:
data:
redis:
database: 0
host: 47.121.181.112
port: 6379
password: dn293830